Commit graph

44 commits

Author SHA1 Message Date
Leonardo Zide
0abc4a258a Enabled polygon offset (with a smaller offset) for opaque triangles so they don't z fight with lines. 2019-02-23 11:33:39 -08:00
Johannes Sixt
31703618c3 Reduce z-fighting when translucent walls are touching opaque walls. (#303)
* Move GL calls around drawing of translucent meshes to lcContext.

* Reduce z-fighting when translucent walls are touching opaque walls.

This fixes issue #301.
2019-02-23 10:56:38 -08:00
Leonardo Zide
a10d1c1727 Create a static vertex buffer for the view sphere. 2018-11-03 17:54:32 -07:00
Leonardo Zide
b77b9aac5c Replaced view cube with a sphere. 2018-10-28 17:59:01 -07:00
Leonardo Zide
75ed98b88d Added string cache. 2018-09-23 19:31:33 -07:00
Leonardo Zide
769b80b22d Support dragging colors from the color palette to paint pieces. Closes #177. 2018-01-12 10:50:25 -08:00
leozide
696189e171 Added Shift+LMB shortcut to remove selection. 2017-11-20 15:12:00 -08:00
leozide
3fc53d9d5f Added shading options. Closes #104. 2017-08-25 12:57:14 -07:00
Leonardo Zide
4de9600a98 Disable parts list icon mode if FBOs are not supported. 2017-06-21 21:40:26 -07:00
Leonardo Zide
219f9635db Disable lighting on machines that don't support shaders. 2017-04-26 21:52:51 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
6491d15bb3 Fixed AA setting not being applied to the first view. 2017-03-26 23:12:05 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
leo
5b0bf780cc Configurable mouse shortcuts. 2016-04-23 00:17:33 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
1f47b89d57 Added more options to context menu. 2015-12-04 20:32:10 +00:00
leo
68f2590d00 Fixed compiling with Qt4. 2015-09-18 05:53:43 +00:00
leo
55f87378cd Mouse buttons 4 and 5 now work to navigate steps. 2015-09-06 19:52:17 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
20945362e5 Create a static buffer for the move overlay. 2015-04-27 00:47:31 +00:00
leo
eae840d891 Set focus to the view after dropping a piece from the list. 2015-02-13 05:32:11 +00:00
leo
3be01c0748 Smoother mouse wheel on Qt5. 2015-02-10 22:34:04 +00:00
leo
7b52f7ba40 Matched mouse wheel speed with previous versions. 2015-02-07 07:16:15 +00:00
leo
49a01189dc Fixed mouse wheel in Qt5. 2015-02-07 03:08:18 +00:00
leo
21d622bd59 Merged main window classes. 2015-01-25 23:04:39 +00:00
leo
1de2bffb73 Fixed valgrind errors. 2015-01-08 05:40:22 +00:00
leo
b6f8e8e651 Reuse same mesh for all placeholder pieces. 2015-01-08 04:50:38 +00:00
leo
08631abe78 Avoid duplicate draw messages. 2014-09-14 22:41:22 +00:00
leo
d95d0ac68a Queue GL updates instead of drawing right away. 2014-09-14 00:52:27 +00:00
leo
0a66fbeb82 Moved some drawing code out of the projet. 2014-08-23 22:56:59 +00:00
leo
7d2d338398 Fixed piece drag from list. 2014-05-26 22:58:08 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
9c40092395 Fixed double click not doing anything. 2014-04-26 06:23:12 +00:00
leo
54beb09a97 New selection indicator. 2014-04-20 01:50:41 +00:00
leo
f676086fa9 Free context when deleting a widget. 2014-04-15 00:13:41 +00:00
leo
c435eae17b Added graphics context class. 2014-04-14 03:20:16 +00:00
leo
f6b6ded59b Fixes to compile with qt4. 2014-04-08 01:04:32 +00:00
leo
22dd034383 Correct fix for retina mouse problem. 2014-04-06 21:44:58 +00:00
leo
24ab5c2cc9 Fixed mouse coordinates in retina displays. 2014-03-01 18:59:32 +00:00
leo
649d6b351c Renamed window classes. 2013-08-16 01:25:51 +00:00
leo
4d0eb9ce3e Renamed source files. 2013-08-16 01:20:51 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00