Commit Graph

54 Commits

Author SHA1 Message Date
5bef9c7286 fix cursor visibility in OSX 2019-03-11 18:39:11 +01:00
3af923db96 fix selection and cursor 2019-03-09 23:07:06 +01:00
bfe5c3541d show cursor on picking and other modes than draw/erase, sanity check on presets file 2019-03-08 12:47:06 +01:00
3296de98cc hide cursor on canvas, add mouse focus event, brush preview solid when small 2019-03-06 20:39:27 +01:00
cedb8bc3fe bind zero when texture is not defined for dual brush or pattern to avoid using the previous tex in slot 2019-02-26 16:23:51 +01:00
cbfcd66bfc restore use fragcoord to fix import/transform 2019-02-26 00:30:10 +01:00
399bc3d433 move brush opacity from comp to stroke 2019-02-24 20:55:06 +01:00
dfa44dbb55 use unique_ptr to hold the Layers vector 2019-02-24 13:19:15 +01:00
3d1412aee2 free resources on app destruction 2019-02-24 12:31:53 +01:00
e63fcf018e screen space pattern failed, needs screen space uv coordinate on CompDraw shader 2019-02-22 10:44:08 +01:00
876c002616 all blending modes for pattern and dual brush 2019-02-22 02:26:25 +01:00
eaab9c79e5 move shaders into .glsl files and add #include feature 2019-02-21 19:26:40 +01:00
16eb9de358 pattern offset, invert and flip(xy) 2019-02-20 14:57:11 +01:00
7faab0124d remove UseFragCoordUV2 2019-02-20 01:30:18 +01:00
c752434e98 pattern tweaks 2019-02-20 01:26:38 +01:00
7954e4d900 brush panel folding 2019-02-19 23:29:07 +01:00
08cca154b7 improve brush preview 2019-02-19 11:33:41 +01:00
e4ee87e4c6 rename texture to pattern and implement initial pattern settings 2019-02-17 23:41:17 +01:00
945c51aa25 dual-brush blend modes 2019-02-15 02:17:04 +01:00
999723dd14 enable rtt dtor, default values for <text> node, dual-brush wip, more brush options 2019-02-14 02:08:29 +01:00
8e5a8eec1b refactor canvas modes 2019-02-01 22:51:25 +01:00
e3f6d1cc44 fix undo and redo 2019-02-01 17:47:32 +01:00
c55ed36f2c glsl framebuffer_fetch extension check at runtime 2019-01-30 15:43:45 +01:00
c516e8ae78 fix parallax camera 2019-01-30 11:44:39 +01:00
b1d5bdbb8c fix android view resize on keyboard, also allow all device orientations 2019-01-29 16:35:23 +01:00
58502a2457 fix uniforms in node_canvas 2019-01-29 00:51:45 +01:00
879be9d4fe implement brush presets save and restore from file, fix stencil nullptr, limit preview stroke max size 2019-01-23 16:53:58 +01:00
e26fcf1163 refactor Brush to be used in shared_ptr 2019-01-22 22:49:43 +01:00
9b5c0524f4 fix grid bounds calculation issue with float framebuffer 2019-01-19 20:14:27 +01:00
7980fd4c37 remove line thickness from the grid, add ambient light, fix lightmap texture resize 2019-01-19 17:32:19 +01:00
e0bb60980a implement layer bounds optminize function, add history to draw_objects with the right bounds. 2019-01-18 19:03:53 +01:00
9c93747b17 implement stencil from file 2019-01-15 23:54:08 +01:00
4a1880e22a implement framebuffer fetch on iOS for bleding 2019-01-08 11:02:07 +01:00
71f79a7fa0 use actual screen resolution and use multiple buffers drawing only when blending is in use 2019-01-08 10:29:47 +01:00
2b02be77dc Render heightmap to layer 2019-01-07 23:07:55 +01:00
7773026358 Set default document res to 6K. Implement blending on canvas, mixer and export equirect. 2019-01-07 15:32:12 +01:00
e4fe0cffed Improved mask also work on erase. Improved shaders for layer opacity, now when drawing doesn't change opacity. Improved layers panel layout to be similar to PS. Added layer blending option and visibility. Added custom icons to checkboxes and fixed the combobox items. 2019-01-05 12:41:21 +01:00
f823451546 implement shading modes switch for heightmap 2018-12-24 23:47:00 +01:00
52c87d9ec6 implement grid and heightmap with lambert shading 2018-12-24 22:22:16 +01:00
bbdad5a857 optimize stroke drawing 2018-12-07 00:45:14 +01:00
d0919862da fix poly clip and fix poly_remove_duplicate 2018-11-29 23:13:04 +01:00
181308d004 fix transform corners visible behind 2018-11-28 14:34:45 +01:00
0c6b409606 remove ui namespace which is not really used, move CameraData in camera_modes.h to avoid the inclusion of canva.h 2018-11-27 14:24:01 +01:00
0d0cd3db7f fix shaders for the transform tool 2018-11-25 16:16:01 +01:00
a124d19bdc fix transform commit shader 2018-11-23 14:19:59 +01:00
6f9b1b1c23 transform tool wip 2018-11-22 10:30:31 +01:00
8f9422b6d6 implement perspective correct interpolation to the 2D window space clipped brush stroke sample. 2018-11-15 18:09:19 +01:00
eb1c8d6b7a fix layer delete order bug, fix and improve brush preview during the stroke, fix windows mouse capture (api works only on the main thread) 2018-11-03 23:44:09 +01:00
b366d6b61f hmd orient, vr ui 2018-10-28 22:25:15 +01:00
a6d0914bf8 implement eraser detection on windows 2018-10-09 02:12:09 +02:00