Commit Graph

31 Commits

Author SHA1 Message Date
Bruno
a18fd3177c Follow clang-tidy and clazy suggestions
variables non-POD should not be 'static' outside a class. Always use and init variables. Delete useless classes.
2021-07-17 16:45:01 +02:00
Bruno
31eb13e16d Unused =operator: copy function instead 2021-04-18 10:58:03 +02:00
brunoherbelin
66d5148e3a Prevent potential memory leak 2021-04-04 13:40:17 +02:00
brunoherbelin
f443720319 Programming style improvement: following Cppcheck suggestions. 2021-04-04 13:13:06 +02:00
brunoherbelin
5f800f3723 Creating texture only on draw 2021-03-20 23:29:30 +01:00
brunoherbelin
27112a2b57 AlphaShader for mapping alpha in pre-render 2021-02-22 18:26:00 +01:00
brunoherbelin
8019f4ea25 Cleanup blending update 2021-02-21 22:02:04 +01:00
Bruno
dbd3c071e8 Improved GUI for mask editing, added effects. 2021-01-10 23:56:50 +01:00
Bruno
398995648a Mask Paint!! New MaskShader for mouse paiting of masks and associated changes.
UI for pain mask, load & save of FrameBuffer Image.
2021-01-10 14:52:57 +01:00
Bruno
e0cd560dfb Implementation of 2 corner masks 2020-12-31 18:27:33 +01:00
Bruno
85d72a1c0e Transliteration of source name 2020-12-30 17:23:31 +01:00
Bruno
a073ab41dd Improved procedural masks 2020-12-27 21:43:33 +01:00
Bruno
34c24d99df Integration procedural GLSL masks 2020-12-27 14:05:03 +01:00
brunoherbelin
1ab2ae0df0 Operational implementation of UV texture coordinates changes in
Appearance View.
2020-11-16 21:43:39 +01:00
brunoherbelin
11a58b5adf Adding UV texture coordinates to Surface and ImageShader. 2020-11-12 22:07:00 +01:00
brunoherbelin
066b40723f Stabilized implementation of fading control, with change of view and
trigger of smooth transition. Bugfix with image processing shader
change.
2020-07-30 23:24:59 +02:00
brunoherbelin
2c87aab671 testing disabling image processing for performance 2020-07-30 00:49:38 +02:00
brunoherbelin
bfdeb0b52f Cleanup and 2020-06-14 20:21:09 +02:00
brunoherbelin
04541f23ee Improved masks (dds files are bad for compressing gradients) 2020-06-07 00:35:54 +02:00
brunoherbelin
4261dedff1 Updated Image Processing shader and GUI: gamma color processing follows
HSV transform. new Shader assignment operator.
2020-06-06 17:59:21 +02:00
brunoherbelin
069009fc06 Session loading and saving in thread. 2020-05-09 13:40:47 +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
bdb092dddb Fixed visitors Session and ImgUI 2020-04-29 21:53:28 +02:00
brunoherbelin
6b30674254 Implementation of masks (double texturing ImageShader) for sources. 2020-04-27 19:40:08 +02:00
brunoherbelin
d248df0567 Separate shader for image processing and simple texture display.
ImageShader added a second texture for mask blending. Cleanup of User
Interface windows.
2020-04-27 13:44:20 +02:00
brunoherbelin
551acf25b9 New Shader Image Processing
Cleanup shaders and add image processing shader for source
2020-04-25 23:58:49 +02:00
brunoherbelin
9b3eba8d1e Implementation of stippling in GLSL image shader and use in Mixing
Source. Creation of Mxing circle texture.
2020-04-23 21:49:42 +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
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