Commit Graph

65 Commits

Author SHA1 Message Date
brunoherbelin
1f2a37a85f avoid include glm/ext/vector_float 2020-04-13 17:52:48 +02:00
brunoherbelin
a2091adcd1 Adding various mesh 2020-04-13 16:23:18 +02:00
brunoherbelin
ccd5d182ca Cleanup Scene and Primitives. Add comments. 2020-04-13 15:17:10 +02:00
brunoherbelin
7be79a9c96 Switch to OpenGL 3.3 2020-04-13 15:15:53 +02:00
brunoherbelin
57fc66c546 Fixed init of Group (actually should NOT init its children nodes).
Ensure Nodes deletetion is done.
2020-04-13 11:48:06 +02:00
brunoherbelin
df6e2bbe63 Implementation of Mesh Primitive Node to draw geometries (replace OBJ). 2020-04-12 23:10:29 +02:00
brunoherbelin
bf953b328a Using vec4 for color (adding alpha) 2020-04-11 22:30:19 +02:00
brunoherbelin
3c12baffc5 moved image 2020-04-08 00:42:36 +02:00
brunoherbelin
de08b056fb Fixed broken draw of Nodes 2020-04-08 00:42:18 +02:00
brunoherbelin
1e9acb544a Adding OBJ model support 2020-04-07 00:45:40 +02:00
brunoherbelin
0ee6f37736 Adding OBJ model loading 2020-04-07 00:45:20 +02:00
brunoherbelin
5574c9a9b0 added busy image in ressource 2020-04-06 20:44:20 +02:00
brunoherbelin
dbc51f2ed4 compilation OSX 2020-04-06 13:26:38 +02:00
brunoherbelin
4b9ba47038 Cleanup update and matrix transformation 2020-04-05 23:11:47 +02:00
brunoherbelin
ea7c4aaa93 Playing with picking 2020-04-05 17:59:35 +02:00
brunoherbelin
2b7531dc38 Cleanup Scene classes 2020-04-05 17:59:16 +02:00
brunoherbelin
1e70d8f4e2 Implement mechanism to push & pop rendering attributes 2020-04-05 11:44:01 +02:00
brunoherbelin
370e680e91 Separate Screenshot class header 2020-04-05 10:55:21 +02:00
brunoherbelin
c23586df27 Bugfix - init all children when init group 2020-04-05 10:25:29 +02:00
brunoherbelin
bef60e3e13 Using translation, rotation and scale vectors to define transform of
node (matrix computed at update). GUI to modify transform adapted
accordingly. Initialization nodes done at first run of draw (prevents
mistake of forgetting to init).
2020-04-05 01:21:29 +02:00
brunoherbelin
cf72a4d658 New visitor for ImGui display of scene 2020-04-04 23:47:06 +02:00
brunoherbelin
bc811f1f1f Render main window first 2020-04-04 23:46:31 +02:00
brunoherbelin
edd2a6d2c8 Fixed dependency on ulong 2020-04-04 23:45:58 +02:00
brunoherbelin
7bc3a2fb30 Define black opengl texture in resource 2020-04-04 23:45:18 +02:00
brunoherbelin
7536df3c13 Implementation of Frame Buffer Object to render output 2020-04-04 00:01:49 +02:00
brunoherbelin
f071a49187 Fixed implementation of Visitor in hierarchy of Nodes. 2020-04-03 23:10:23 +02:00
brunoherbelin
91043a0c67 Add possibility to add callback front or back (for different rendering
priorities)
2020-04-03 23:08:59 +02:00
brunoherbelin
687c462738 Added milisecond precision to date-time function 2020-04-03 23:08:03 +02:00
brunoherbelin
0e25810a74 Unified class methods naming (lower case function names as other
classes)
2020-04-03 23:06:24 +02:00
brunoherbelin
fc256693dc Creation of Switch Node, Fixed Primitives inheritance, and added
Blending to Shader.
2020-04-02 00:06:55 +02:00
brunoherbelin
37a6754de2 Extend mechanism of visitor for all important classes that has
attributes of a scene (for saving in XML, or other visitors)
2020-04-01 14:41:42 +02:00
brunoherbelin
178bf45f08 XML visitor for session saving (with toolkit for GLM saving to XML) 2020-03-31 21:22:36 +02:00
brunoherbelin
96a9805377 Cleanup XML visitor 2020-03-31 21:08:25 +02:00
brunoherbelin
42e398fd48 Merge branch 'master' of github.com:brunoherbelin/v-mix 2020-03-31 20:54:09 +02:00
brunoherbelin
547bc3e151 XML Visitor with GLM matrix and vector 2020-03-31 20:52:42 +02:00
brunoherbelin
da8e124ad1 Avoid Clang compilation warnings 2020-03-31 20:52:00 +02:00
brunoherbelin
2fc01e8435 Introducing scene graph 2020-03-31 17:01:33 +02:00
brunoherbelin
cf5a3b3fc9 Use Log class for errors 2020-03-29 18:16:05 +02:00
brunoherbelin
25ed6e5337 Shader refer to single instance of shading program to avoid duplicate in
GPU.
2020-03-29 09:56:56 +02:00
brunoherbelin
84734727a2 Simplified Shader (uniforms must be set at each use of a Shader, even if
they share the same program).
2020-03-29 00:54:44 +01:00
brunoherbelin
a36ec5ffeb Redefine shading classes: glsl program is now separate from shader
class, which are derived to manage uniform variables.
2020-03-29 00:22:56 +01:00
brunoherbelin
29507bfc09 Move and improve time_to_string and date_time_string functions to
GstToolkit
2020-03-24 00:03:31 +01:00
brunoherbelin
cf6ef69342 Cleanup std namespace usage. 2020-03-24 00:02:56 +01:00
brunoherbelin
a8167fd684 Fixed instantaneous framerate computation 2020-03-23 14:36:57 +01:00
brunoherbelin
ca0db135e7 Cleanup Media Player 2020-03-22 23:33:29 +01:00
brunoherbelin
31e2b6da79 Merge branch 'master' of github.com:brunoherbelin/v-mix 2020-03-22 12:25:28 +01:00
brunoherbelin
0bba7a0a84 Complete refactoring 2020-03-22 12:22:36 +01:00
brunoherbelin
a435daa494 Fixed Media Player behavior 2020-03-14 10:55:26 +01:00
Bruno Herbelin
3bf0f367bf Compilation OSX 2020-03-11 22:30:51 +01:00
brunoherbelin
1acfed925d Replaced tinyfiledialog submodule 2020-03-11 20:47:32 +01:00