Commit Graph

29 Commits

Author SHA1 Message Date
brunoherbelin
f443720319 Programming style improvement: following Cppcheck suggestions. 2021-04-04 13:13:06 +02:00
brunoherbelin
dd9c8ac0b8 Added option to choose mirror or repeat texture on source 2021-03-18 19:43:51 +01:00
Bruno
737269bf5a New Primitive LineLoop (and cleanup associated visitors) 2021-03-03 22:36:59 +01:00
brunoherbelin
f7b93478ed Reimplementation of LineStrip primitive using DYNAMIC vertext array and
triangle strips (basic mesh).
2021-02-26 17:01:24 +01:00
brunoherbelin
a7b6a67a92 reimplementation of LineSquare using rectangular polygons for horizontal
and vertical lines.
2021-01-28 13:50:31 +01:00
brunoherbelin
a58c06c617 Fixed display cropped source in AppearanceView and code cleanup. 2020-12-08 23:43:50 +01:00
brunoherbelin
5200de2e3e Implementation of image transformation in shaders: iTransform is a
generic UV coordinates transformation matrix (for translation, scaling
and rotation) edited in AppearanceView. Removing previous UV editing
functions.
2020-11-29 12:31:06 +01:00
brunoherbelin
11a58b5adf Adding UV texture coordinates to Surface and ImageShader. 2020-11-12 22:07:00 +01:00
brunoherbelin
aa211fe39b Working on multiple sources selection: created bounding box decoration,
fixed Switch node in Scene, removed Animation node from scene, created
display mode for Source.
2020-06-13 18:22:32 +02:00
brunoherbelin
77cffa160e Fixed terminology for path (in filesystem) versus uri (with protocol)
for gstreamer in MediaPlayer and MediaSource.
2020-05-10 00:40:36 +02:00
brunoherbelin
ef34bed90a Cleanup Scene (in particular group) for simplified use in views
(background and foreground).
2020-05-09 10:12:04 +02:00
brunoherbelin
c1b76de6e0 Creation and deletion of sources, loading and new session. Cleanup code
and prevent crash on delete.
2020-05-09 00:56:37 +02:00
brunoherbelin
0e24d1a083 Implementation of source frame buffer; rendering of source and scene
integration
2020-04-25 11:52:47 +02:00
brunoherbelin
4f5a71970d Initial integration of Mixer, Views and Source classes.
First tests with user interface and Mixing View
2020-04-19 00:49:55 +02:00
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
1e9acb544a Adding OBJ model support 2020-04-07 00:45:40 +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
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