brunoherbelin
ccd5d182ca
Cleanup Scene and Primitives. Add comments.
2020-04-13 15:17:10 +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
de08b056fb
Fixed broken draw of Nodes
2020-04-08 00:42:18 +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
2b7531dc38
Cleanup Scene classes
2020-04-05 17:59:16 +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
f071a49187
Fixed implementation of Visitor in hierarchy of Nodes.
2020-04-03 23:10:23 +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
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
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