Commit Graph

  • d1ce547abd add iOS support omigamedev 2017-05-07 23:49:46 +01:00
  • b50011babf added Normal lines mode for perspective aligned lines omigamedev 2017-05-07 15:25:54 +01:00
  • de1ace0d63 syn omigamedev 2017-05-07 10:31:13 +01:00
  • f800df6cf5 added camera pan for parallax and improved line drawing with preview line omigamedev 2017-05-06 23:22:34 +01:00
  • 427dd66976 separate pen mode and camera in different modes to be composed, start implementing line draw mode omigamedev 2017-05-05 21:57:02 +01:00
  • 484bf6fab4 implement pen and erase as strategy pattern introducing the CanvasMode classes omigamedev 2017-05-04 23:32:02 +01:00
  • 773ff61f92 pen state and buttons color when active omigamedev 2017-05-04 21:46:35 +01:00
  • 45275c2947 add buttons to change pen mode omigamedev 2017-05-04 19:26:05 +01:00
  • 977e18bd25 adding some buttons to UI omigamedev 2017-05-04 09:12:31 +01:00
  • 9f23021fb8 implement alpha locking per layer omigamedev 2017-05-02 03:43:16 +01:00
  • 182c0b1baf create NodeDialogOpen and bind it to the layout template omigamedev 2017-05-02 00:15:27 +01:00
  • 16a53af679 add NodeImageTexture for dynamic images, test image thumbnail opening and rendering omigamedev 2017-05-01 22:22:16 +01:00
  • 3ea3fadc46 complete open/save project including layer names, in layout bring canvas to background and use translucent UI on top, save computation on Android with lazy rendering on events only omigamedev 2017-05-01 19:35:58 +01:00
  • c691595767 adding open/save project and changing layout omigamedev 2017-05-01 17:06:59 +01:00
  • 02ffbf3d77 downgrade Android SDK to use old permission mode because on demand request require Java code omigamedev 2017-04-30 19:27:45 +01:00
  • f64e9e746c cube to equirect conversion using shader, save latlong to file omigamedev 2017-04-30 02:20:54 +01:00
  • 78a87f9cd3 add checkerboard shader and draw it omigamedev 2017-04-29 23:12:36 +01:00
  • 73f689524b merge layers and save to png omigamedev 2017-04-29 22:00:57 +01:00
  • fa49d9ee09 save and restore layers image when context is lost in Android omigamedev 2017-04-29 21:30:40 +01:00
  • 2e47ccb0c6 destroy all textures on window destruction and restore OpenGL objects when Android resumes the app omigamedev 2017-04-28 15:06:23 +01:00
  • 96401a1e5d pinch zoom linked to camera fov omigamedev 2017-04-28 10:00:18 +01:00
  • 5753002ca9 fix all six planes for rendering and drawing omigamedev 2017-04-28 00:06:24 +01:00
  • a6a020a389 prepare to draw on multiple planes omigamedev 2017-04-27 21:13:09 +01:00
  • e6332322b3 implement simple brush projection on single cube face, add camera rotation instead of pan omigamedev 2017-04-26 23:51:05 +01:00
  • 874176c19a add kemaps to win omigamedev 2017-04-24 11:55:12 +01:00
  • 5ac666f911 fix android gestures pinch and pan, supports only two fingers omigamedev 2017-04-24 11:32:08 +01:00
  • d558bc1e04 fixing fingers tracking on Android omigamedev 2017-04-24 08:06:20 +01:00
  • ea1bff1f10 added basic gesture system on Android omigamedev 2017-04-18 01:10:06 +02:00
  • 45cf8c9168 map keys and handle key events on Android and OS X omigamedev 2017-04-17 19:35:48 +02:00
  • 54082591f1 clean warnings omigamedev 2017-04-16 02:35:48 +02:00
  • 28fe61704f implement simple stroke undo based on actions history omigamedev 2017-04-16 01:57:54 +02:00
  • 357f37e3d0 clear new layers omigamedev 2017-04-15 21:52:18 +02:00
  • 163a435e6e curl timeout, reorder layers, handle right click osx omigamedev 2017-04-15 18:55:27 +02:00
  • d230bc7a99 get Ink pen data like pressure, buttons omigamedev 2017-04-12 00:44:26 +01:00
  • a82c76ce41 canvas pan/zoom, project into canvas using inverse transform, implement eraser (early prototype) omigamedev 2017-04-09 22:40:38 +01:00
  • 8d35d1f140 handle WM_MOUSEWHEEL and WM_POINTERUPDATE for the Windows Ink stylus driver omigamedev 2017-04-08 22:51:59 +01:00
  • bb7e94d06b drag canvas, render layers and tmp, add/select layer, opacity for layer, color bucket filler omigamedev 2017-04-07 21:21:43 +01:00
  • 2b4915154e opacity control omigamedev 2017-04-07 12:57:21 +01:00
  • d340324c3d fix stroke shader with better blending and initial support to opacity omigamedev 2017-04-07 01:45:50 +01:00
  • 4d930b4429 fix border clamp problem, add tmp layer special blending on stroke commit omigamedev 2017-04-05 23:54:36 +01:00
  • 9a4fd5e5c9 implement the complete stroke shader with custom blending mode omigamedev 2017-04-05 15:55:11 +01:00
  • dc693b2232 fix log for Android that does not support <codecvt> omigamedev 2017-04-02 18:21:27 +01:00
  • 2dc7c4a9cc move log.h include in each file instead of pch, link libcurl and compile for mac omigamedev 2017-04-02 16:57:56 +01:00
  • b6c9429b89 init log before everything else, use WMI to read machine and system info, rtt fixed on Samsung A3, try to create different EGL context config omigamedev 2017-04-02 15:02:45 +01:00
  • 0dfb458c71 Android opengl debug callback, Android device properties, fix texture internal format omigamedev 2017-04-02 11:35:11 +01:00
  • b1a3cb0309 add remote logging system using curl, normalize log messages removing \n, fix fra shaders precision issue, enable core and forward comp. in WGL, disable multisampling, omigamedev 2017-03-31 15:39:51 +01:00
  • ade95724e8 change android icon, move code so .cpp and implement stroke preview using Stroke class for accurate preview. omigamedev 2017-03-29 00:50:51 +01:00
  • 675e0148ec integrate and link lib curl for android, add VAO support for brush draw, sync canvas with screen redraw instead of input events omigamedev 2017-03-28 20:25:23 +01:00
  • 291ba7ae78 testing curl for android omigamedev 2017-03-28 09:19:25 +01:00
  • 2024b3a280 fixes for mac omigamedev 2017-03-28 09:08:53 +01:00
  • e8cabebe66 implement instanced drawing omigamedev 2017-03-27 22:29:47 +01:00
  • b9277f94e8 implement brush sampling and spacing into the Stroke class omigamedev 2017-03-27 00:20:04 +01:00
  • a385addae5 implement basic paint canvas omigamedev 2017-03-26 14:23:15 +01:00
  • 744cd8bfb5 added Canvas, Brush, Stroke and CanvasNode classes omigamedev 2017-03-26 00:26:46 +00:00
  • a1e3fd4ecf change node children from unique to shared ptr, rename Canvas2D to StrokePreview, add panel toolbar with icon buttons to toggle omigamedev 2017-03-25 17:28:57 +00:00
  • 4da0c3696a improve sliders and remove slider cursor, fix stroke preview omigamedev 2017-03-25 11:04:44 +00:00
  • 52a5e3a408 add brush icons to repo omigamedev 2017-03-25 08:35:25 +00:00
  • 0bc5e7aea9 compile for Android, add initial TextInput support omigamedev 2017-03-25 08:35:09 +00:00
  • a2cb0ecafe added render target and bezier classes, added stroke settings panel omigamedev 2017-03-24 03:15:29 +00:00
  • 03a5212e56 added color quad and hue slider omigamedev 2017-03-21 09:56:33 +00:00
  • 13fa84a02c layers control omigamedev 2017-03-21 09:56:00 +00:00
  • 03a8266972 added checkbox, slider, layer panel, brushes panel omigamedev 2017-03-19 23:51:45 +00:00
  • 011aeb8948 added slider, mouse capture in Node, desaturated icons omigamedev 2017-03-16 02:02:43 +00:00
  • c34d1a1f44 minor changes and added namespace to avoid conflicts when integrating with PanoPainter omigamedev 2017-03-15 08:17:22 +00:00
  • ee6d352fc6 added asset loading class, zoom factor, vbo switch, shader version omigamedev 2017-03-13 01:16:20 +00:00
  • a2a221b17a refactor app and enable gles 3.0 omigamedev 2017-03-04 19:04:08 +00:00
  • 11050fde9c added android project and linked to engine source with successful compilation omigamedev 2017-03-03 09:52:22 +00:00
  • 8242db8815 add viewport node, return ptr instead of ref for layout[id] to check wether is valid or not omigamedev 2017-03-02 21:40:36 +00:00
  • 75f1b96b4f added icons and popup menus omigamedev 2017-02-21 23:14:34 +00:00
  • a2714f513a added settings popup and icon node omigamedev 2017-02-21 01:00:48 +00:00
  • ee5e4c2d98 added right click, popup menu, mark for destroy omigamedev 2017-02-20 02:25:59 +00:00
  • 4e3f898d4b fix pixel snapping, add loaded event, remove default border thickness omigamedev 2017-02-17 01:34:43 +00:00
  • 1c14a6d409 fix mouse events in osx omigamedev 2017-02-16 01:47:00 +00:00
  • d74af8ed17 add messagebox to template binding, add absolute positioning layout, add observer instead of stack based node traversal which is not great in case of hierarchical traversal omigamedev 2017-02-16 00:32:03 +00:00
  • 0d3c48fd98 added button click event handler omigamedev 2017-02-12 01:25:20 +00:00
  • fb25ffb347 added NodeButton as composition and cleaned up old Widget code omigamedev 2017-02-11 15:51:22 +00:00
  • b1abb42dd5 big refactoring to merge node and widgets into a single node hierarchy omigamedev 2017-02-11 01:40:40 +00:00
  • 914fc34331 complete left click event handle omigamedev 2017-02-09 22:08:30 +00:00
  • de1784e932 added alpha blending for image and text, nodes position are clamped to be integer omigamedev 2017-02-08 00:20:26 +00:00
  • 5e5ddf310c added image widget with atlas support and global texture manager omigamedev 2017-02-07 23:42:39 +00:00
  • 83e59573e0 added node alignment and text color omigamedev 2017-02-07 13:39:17 +00:00
  • 3cc25e7592 added text widget parsing and rendering omigamedev 2017-02-06 23:32:01 +00:00
  • fd7f62693e refactor font code into classes omigamedev 2017-02-06 21:08:41 +00:00
  • 7f8cbd0981 stbtt text testing succesful omigamedev 2017-02-05 20:15:52 +00:00
  • e2792534bc edit the example layout to add more details omigamedev 2017-02-02 23:10:05 +00:00
  • 5df2484c27 fix a really bad bug using parent instead if this to set children's parent omigamedev 2017-02-02 22:52:06 +00:00
  • d2f59c3ea1 testing bitmap font generation and draw using stb_truetype omigamedev 2017-02-02 21:54:48 +00:00
  • 06b19dc596 ref nodes work fine now but need to complete Widget::clone implementations and add clone() to Shape classes to actually clone the OpenGL data omigamedev 2017-02-02 18:26:59 +00:00
  • bcf95d5432 completing refactoring, something does not work on resize omigamedev 2017-02-02 00:43:23 +00:00
  • 70792669e7 refactor layout loading to add multiple layout, templates and references omigamedev 2017-02-01 20:35:57 +00:00
  • ed02e38805 start implementing shape tag omigamedev 2017-02-01 00:59:56 +00:00
  • 39f44eca5e rename .hpp headers to .h omigamedev 2017-01-31 22:48:55 +00:00
  • 4b26976d61 added glew as submodule omigamedev 2017-01-31 18:30:52 +00:00
  • d313e815d3 moved libs to submodules, small fix in Node move ctor omigamedev 2017-01-31 11:21:56 +00:00
  • a80556f418 added singleton shader manager, custom widget attribute forward, parse border thickness and color for Border widget, parse and cache uniform locations, remove unused attrubutes code omigamedev 2017-01-30 19:52:32 +00:00
  • 16c1b6481e started implementing dynamic widget allocation by xml tag omigamedev 2017-01-29 17:42:23 +00:00
  • 7436706b37 added constexpr hash based enum for faster switch on attributes and node names omigamedev 2017-01-27 22:09:37 +00:00
  • d413e49821 added range loop based layout nodes traversal omigamedev 2017-01-27 19:26:45 +00:00
  • baaade6050 added pch on xcode, fixed Node move semantic Omar Mohamed Ali Mudhir 2017-01-27 14:55:16 +00:00
  • a4be7c0e4d complete refactoring and cleanup old layout loading code omigamedev 2017-01-27 13:20:39 +00:00