Commit Graph

46 Commits

Author SHA1 Message Date
bfaff312f8 brush scale for non-square brushes 2019-02-24 21:00:53 +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
4d5b64e5bc import computedBrush from ABR 2019-02-24 00:40:22 +01:00
3a1a48a0d0 pixel based brush size, Photoshop slider curve, improve abr import 2019-02-23 20:46:20 +01:00
e63fcf018e screen space pattern failed, needs screen space uv coordinate on CompDraw shader 2019-02-22 10:44:08 +01:00
7faab0124d remove UseFragCoordUV2 2019-02-20 01:30:18 +01:00
c752434e98 pattern tweaks 2019-02-20 01:26:38 +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
999723dd14 enable rtt dtor, default values for <text> node, dual-brush wip, more brush options 2019-02-14 02:08:29 +01:00
fe7c357bcc update scrollbar scroller on tick, fix Transform mode recursive loop 2019-02-02 14:24:50 +01:00
8e5a8eec1b refactor canvas modes 2019-02-01 22:51:25 +01:00
c451acb6bc improving brush tips browser, average stroke direction 2019-01-31 13:56:54 +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
c66bc1f1d7 fix mask 2019-01-20 00:39:25 +01:00
ff4ce5f379 shader fix 2019-01-18 11:12:27 +01:00
580fab77c6 polygon selection snap 2019-01-17 14:30:59 +01:00
3d7b7107d4 implement zoom shortcut with ctrl+rmb, update nanort with merged size_t pull request 2019-01-16 11:04:03 +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
d0919862da fix poly clip and fix poly_remove_duplicate 2018-11-29 23:13:04 +01:00
f64f157e82 fix mixer brush uv2 and tip visibility on touch 2018-11-29 10:34:28 +01:00
181308d004 fix transform corners visible behind 2018-11-28 14:34:45 +01:00
5e1de934ee clip the polygon when applying the transform shape 2018-11-28 00:37:55 +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
f34ffa825d save camera settings on selection to avoid different result when re-projecting the selection 2d screen points transformation (does not compile because of canvas.h cyclic dependency) 2018-11-27 14:21:56 +01:00
5c39e07434 fix imported image aspect ratio and the transform handles for touch devices 2018-11-27 11:27:28 +01:00
09bccda2cd implement regular image import 2018-11-26 00:04:44 +01:00
0685155a45 split transform into cut and copy commands and implement history 2018-11-25 22:14:50 +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
86656cc7e3 disable exceptions in visual studio, use xK notation for resolution, upgrade up to 32K resolution, mask resolution not doubled anymore, transform interactive controls to move, scale and rotate the selection 2018-11-22 19:07:14 +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
18067726b5 add transform mode and tollbar button, implement polygon clipping with uvs interpolation and cube faces projection with near plane clipping, add duplicate points removal template function, implement Spere mesh surface section creation. 2018-11-12 18:19:03 +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
3ee10bb88d implement motion controllers and vr drawing with brush preview 2018-11-02 13:49:15 +01:00
3b73e84fe9 vr brush preview and pen gestures (pick and size) 2018-10-30 00:37:46 +01:00
b366d6b61f hmd orient, vr ui 2018-10-28 22:25:15 +01:00
46a4b217bf skip apple pencil first n samples to overcome the initial pressure spike 2018-10-24 13:10:23 +02:00
ae05e56110 fix touch and pen mixed in windows 2018-10-14 00:09:49 +02:00
64ce471ed8 disable brush pressure averaging, implement single finger for camera rotation when touch draw is disabled 2018-10-13 17:03:15 +02:00
a6d0914bf8 implement eraser detection on windows 2018-10-09 02:12:09 +02:00
daf3484426 disable ssl in curl on android, implement interactive permission for android 23+ 2018-09-30 23:51:15 +02:00
71de44a7c1 rename engine to src 2018-09-16 14:21:58 +02:00