ayachi3
|
5ec0a5718e
|
modify constructor of renderable and update skeleton
|
2022-12-13 17:23:11 +08:00 |
|
ayachi3
|
cabdc8b5e8
|
add comment to remind user
|
2022-12-13 16:48:47 +08:00 |
|
ayachi3
|
14a3a08bf6
|
add check_boundary
|
2022-12-13 16:42:44 +08:00 |
|
|
|
069aca1cf2
|
Add camera movement
- Add camera API
- Add mouse event
- Add member
|
2022-12-13 16:30:49 +08:00 |
|
ayachi3
|
30fe45b773
|
define function to get boundary
|
2022-12-13 16:03:28 +08:00 |
|
ayachi3
|
b145dbc567
|
set boundary in loop
|
2022-12-13 15:54:19 +08:00 |
|
ayachi3
|
a7212b893e
|
添加包围盒的两个顶点
|
2022-12-13 15:41:19 +08:00 |
|
ayachi3
|
68cbbbafe4
|
添加包围盒的两个顶点
|
2022-12-13 15:37:50 +08:00 |
|
ayachi3
|
01bfc5065d
|
添加包围盒的两个顶点
|
2022-12-13 15:25:01 +08:00 |
|
|
|
f5f2247274
|
Update Camera class
- remove roll
- add constructor (position, yaw, pitch)
- add API setPosition(pos)
- set default zoom to 90
|
2022-12-13 13:52:15 +08:00 |
|
|
|
a49f215928
|
Set matrix when rendering
|
2022-12-13 13:51:03 +08:00 |
|
|
|
b9ce5af24b
|
Minor fixes
|
2022-12-13 13:07:34 +08:00 |
|
|
|
3ee5f66779
|
Fix QFile not overriding existing shader
- fix shader not responding to changes
|
2022-12-13 13:07:19 +08:00 |
|
|
|
955c8da52e
|
Update mesh class
- set vertex attribute on setup mesh
- use new API of shader.setUniform
|
2022-12-13 12:29:54 +08:00 |
|
|
|
c911ac1613
|
Fix model loading
- Fix texture path storing full path instead of texture name making the texture loaded check always fail
|
2022-12-13 12:26:58 +08:00 |
|
|
|
b6b0da76d4
|
Merge branch 'master' of https://github.com/Linloir/SceneEditor
|
2022-12-13 10:52:22 +08:00 |
|
|
|
5f07f8896c
|
Fix set uniform methods
- Move wrongly placed methods (Shader -> ShaderProgram)
- Set methods as 'inline'
- Use overload
- Check for uniform validity
|
2022-12-13 10:52:11 +08:00 |
|
|
|
9d0aec3756
|
Fix set uniform methods
|
2022-12-13 10:48:25 +08:00 |
|
胤龙
|
4c137d1e9f
|
给shader添加了uniform的功能
直接添加在基类Shader中的
|
2022-12-13 10:34:09 +08:00 |
|
|
|
df6ebf1157
|
Fix shader program attaching shader
- Add link function
|
2022-12-13 10:19:10 +08:00 |
|
|
|
e02160435a
|
Add id check when disposing ebo and vbo
|
2022-12-13 10:12:57 +08:00 |
|
|
|
58593822a3
|
Add extra checks to ebo, vao and vbo
|
2022-12-13 10:10:10 +08:00 |
|
|
|
e203ee0ff3
|
Merge
|
2022-12-13 10:06:28 +08:00 |
|
|
|
107f3ce87a
|
Add extra checks when dispose and ensureInitialized
|
2022-12-13 10:04:25 +08:00 |
|
|
|
b5e5b4cfa9
|
Fix compile time errors
|
2022-12-13 09:56:34 +08:00 |
|
ayachi3
|
59c4b24a98
|
modify model to add LOADED status
|
2022-12-13 09:54:55 +08:00 |
|
|
|
7ce0a4e27d
|
Add "ensureInitialize" function and now we can make empty objects
|
2022-12-13 09:43:54 +08:00 |
|
ayachi3
|
0cc3672c33
|
update model to set LOADED
|
2022-12-13 09:43:43 +08:00 |
|
|
|
38731299fd
|
Revert "Revert "Add model for testing""
This reverts commit 28332745b9efdfc54da033539c70ded9e4ca0cd8.
|
2022-12-13 09:08:31 +08:00 |
|
|
|
28332745b9
|
Revert "Add model for testing"
This reverts commit 74bb98d56817a5a0d966168f7b8dbf8e4660f11a.
|
2022-12-13 09:07:41 +08:00 |
|
|
|
74bb98d568
|
Add model for testing
|
2022-12-13 09:06:29 +08:00 |
|
|
|
c9667342bf
|
Add shader files to qrc
|
2022-12-13 08:58:32 +08:00 |
|
|
|
258423ccae
|
Test for qrc
|
2022-12-13 08:58:03 +08:00 |
|
|
|
7f7d99caa8
|
Change test layout
|
2022-12-13 08:18:17 +08:00 |
|
|
|
8c990f447f
|
Change shader version
|
2022-12-13 08:17:55 +08:00 |
|
|
|
451d3e0c35
|
Fix shader compiler
|
2022-12-12 23:40:07 +08:00 |
|
|
|
f0a44afb4a
|
Hello Triangle Test
|
2022-12-12 23:29:29 +08:00 |
|
|
|
f61d270d0c
|
Change filename
|
2022-12-12 23:29:09 +08:00 |
|
|
|
f0022f0837
|
Change VAO constructor behavior
|
2022-12-12 23:28:40 +08:00 |
|
|
|
cc39428e22
|
Change logger to QDebug instead of cout
|
2022-12-12 23:28:17 +08:00 |
|
|
|
c848828868
|
Add error detecting in shader compiler
|
2022-12-12 23:00:00 +08:00 |
|
|
|
a44e2b932a
|
Minor changes
|
2022-12-12 22:52:34 +08:00 |
|
|
|
7b6b82b743
|
Add empty shaders
|
2022-12-12 22:52:28 +08:00 |
|
|
|
7761387403
|
Rename functions
|
2022-12-12 22:51:59 +08:00 |
|
|
|
0be2b379a2
|
Fix inline functions
|
2022-12-12 22:20:59 +08:00 |
|
|
|
d57a1514ee
|
Implement renderable class
|
2022-12-12 21:29:45 +08:00 |
|
|
|
04ad073263
|
Implement shader and mesh classes
|
2022-12-12 21:23:57 +08:00 |
|
|
|
64b4116979
|
Implement VBO EBO VAO
|
2022-12-12 20:41:53 +08:00 |
|
|
|
5bc0cb6c6f
|
Add stb image library to project
|
2022-12-12 17:16:07 +08:00 |
|
|
|
23499a9140
|
Implement vertex class
|
2022-12-12 16:46:56 +08:00 |
|