Commit Graph

10 Commits

Author SHA1 Message Date
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