Commit Graph

43 Commits

Author SHA1 Message Date
Bruno
055f5c4c4e Creating a base toolkit for functions independent from other toolkits 2021-04-25 20:09:22 +02:00
Bruno
2392d844d9 Making classes non-assignable
Following CppCheck recomendation, all classes that should not be manipulated by value are made non-assignable to ensure no mistake is made.
2021-04-18 13:04:16 +02:00
Bruno
8389010002 CoreSource complement
The CORE of a source is all what can be interpolated
2021-04-18 10:59:39 +02:00
brunoherbelin
44b888fd04 Work in progress - implementation of cropping in Geometry view instead
of AppearanceView. Display of scaled mixing surface in Mixing and Layers
view. Changed stippling shading.
2020-12-07 00:17:10 +01:00
brunoherbelin
8c9b753544 First operational version of AppearanceView. Cleanup of symbols for
sources and other bugfix.
2020-11-15 23:49:56 +01:00
brunoherbelin
233fc64c4e Increased size of unique identifier of objects: using uint64 instead of
int. Deep change in all concerned objects (Node, Source, Shader, etc.).
No behavior change, just more robust in duration.
2020-10-06 22:45:52 +02:00
brunoherbelin
13867e2192 Unified identifyer mechanism (tested and confirmed to produce unique
integer < MAX_INT)
2020-08-20 20:51:42 +02:00
brunoherbelin
3d77642d3b Simplified Node id 2020-08-12 22:09:38 +02:00
brunoherbelin
b5985847bf Almost done with implementation of Transition! Settings and UI side
pannel are operational. View is stable and animation with UpdateCallback
implemented.
2020-07-06 00:06:49 +02:00
brunoherbelin
f8b165572f Initial creation of the Node Update Callback. 2020-07-01 21:06:57 +02:00
brunoherbelin
bfdeb0b52f Cleanup and 2020-06-14 20:21:09 +02: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
aa6c12fd60 Improved Geometry view source manipulation; added cursor change and
fixed-size handles on frame.
2020-05-26 00:07:38 +02:00
brunoherbelin
84ca3b1f82 Cleanup creation of sources 2020-05-23 14:46:01 +02:00
brunoherbelin
9f4cb4dce3 Added foreground to scene. 2020-05-22 10:31:08 +02:00
brunoherbelin
6ac25c01c8 Automatic depth increment when placing a source. 2020-05-19 18:38:16 +02:00
brunoherbelin
530762d1d2 First effective implementation of LayerView (both GUI, sorting and
storing in session)
2020-05-18 21:58:50 +02:00
brunoherbelin
20cafa388f Initial implementation of handles on sources to manipulate in geometry
view (only resize implemented so far)
2020-05-16 12:06:52 +02:00
brunoherbelin
32030e66dc Implementation of FrameBuffer resolution parameters, and saving in
session file of rendering resolution.
2020-05-11 23:50:42 +02:00
brunoherbelin
069009fc06 Session loading and saving in thread. 2020-05-09 13:40:47 +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
451c793cdd First incomplete implementation of garbage collector in Scene 2020-05-05 17:17:29 +02:00
brunoherbelin
cc03e7b7cd New Session class to contain the list of sources. Loading and Saving of
session files in XML. Verified deletion of Nodes, Groups and Sources.
2020-05-02 13:26:57 +02:00
brunoherbelin
8cc6da98ba Fixed Shader imageprocessing. 2020-04-28 11:47:04 +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
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