Commit Graph

7 Commits

Author SHA1 Message Date
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
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
0bba7a0a84 Complete refactoring 2020-03-22 12:22:36 +01:00