Commit Graph

9 Commits

Author SHA1 Message Date
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
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
7bc3a2fb30 Define black opengl texture in resource 2020-04-04 23:45:18 +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