Leonardo Zide
2356af4049
Swapped opaque and translucent polygon offsets.
2019-02-23 11:36:22 -08:00
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
5d06035187
Fixed bounding box calculation of parts without triangles.
2019-02-22 17:02:38 -08:00
Leonardo Zide
188860f90d
Crash fix when passing a quote on the command line.
2019-02-20 16:55:46 -08:00
Leonardo Zide
b47598f651
Added synth support for Hose Flexible parts.
2019-02-20 16:52:50 -08:00
Leonardo Zide
8ee515fcc8
Added synth support for Technic Flex-System hoses.
2019-02-19 18:05:30 -08:00
Leonardo Zide
0feb64ec82
Removed Space category since it was deprecated in the latest parts update.
2019-02-18 18:53:36 -08:00
Leonardo Zide
3128a078cb
Fixed crash when deleting a submodel being edited in another view.
2019-02-09 16:43:39 -08:00
Leonardo Zide
8f59a67924
Detach camera when diving into a submodel.
2019-02-09 16:30:11 -08:00
Leonardo Zide
378ece224f
Fixed compiler warnings.
2019-02-05 16:35:15 -08:00
Leonardo Zide
90b8409017
Better way of drawing the view sphere outline.
2019-01-22 14:34:44 -08:00
Leonardo Zide
dfa1a66906
Added outline to the view sphere. Closes #281 .
2019-01-21 16:54:10 -08:00
Leonardo Zide
40ad756348
Added shortcut for closing the current tab.
2019-01-20 16:36:59 -08:00
Leonardo Zide
ee6ef69ede
Confgurable view sphere colors.
2019-01-20 11:59:18 -08:00
Leonardo Zide
6077400b3c
Round viewsphere highlight.
2019-01-19 20:04:08 -08:00
Johannes Sixt
e190900778
Convert SectionCallback to std::function<>. ( #280 )
...
This is just code hygiene. It makes the code shorter, more localized,
and more idiomatic C++.
2019-01-13 10:48:37 -08:00
Leonardo Zide
c8102034f9
Added view sphere highlight.
2019-01-12 17:43:23 -08:00
Leonardo Zide
19680a199b
Moved shader code to separate files.
2018-11-22 16:13:02 -08:00
Leonardo Zide
71b5797038
Changed view sphere texture format to alpha only.
2018-11-06 13:45:14 -08:00
Leonardo Zide
7bb791e3eb
Fixed dangling pointer access. Fixes #277 .
2018-11-05 14:37:01 -08:00
Leonardo Zide
a10d1c1727
Create a static vertex buffer for the view sphere.
2018-11-03 17:54:32 -07:00
Leonardo Zide
8f04ccbec7
Fixed small leak merging files. Fixes #276 .
2018-10-31 16:16:45 -07:00
Leonardo Zide
b77b9aac5c
Replaced view cube with a sphere.
2018-10-28 17:59:01 -07:00
Leonardo Zide
58c63982d2
Renamed in-place editing options.
2018-10-14 08:47:28 -07:00
Leonardo Zide
149df626b6
Added option to go back to editing the top submodel.
2018-10-13 16:45:14 -07:00
Leonardo Zide
85d97887b2
Switch back to linear filtering for text to reduce blur.
2018-09-30 15:46:35 -07:00
Leonardo Zide
bcd6ce8791
Use anisotropic for the string cache texture.
2018-09-29 19:45:21 -07:00
Leonardo Zide
8697d57e00
Fixed OpenGL ES.
2018-09-26 17:04:47 -07:00
Leonardo Zide
7be53b5a0d
Fixed uninitialized variable.
2018-09-26 14:56:58 -07:00
Leonardo Zide
9811fc860e
Fixed crash when gamepads are enabled. Fixes #268 .
2018-09-26 14:53:50 -07:00
Leonardo Zide
5dff72cf25
Fixed compiler error.
2018-09-24 12:07:50 -07:00
Leonardo Zide
671d5fa266
Fixed fallthrough warnings.
2018-09-24 11:29:05 -07:00
Leonardo Zide
61ce943b5b
Fixed Qt 4.8 errors.
2018-09-24 11:16:39 -07:00
Leonardo Zide
75ed98b88d
Added string cache.
2018-09-23 19:31:33 -07:00
Leonardo Zide
8b0bfc801e
Fixed inconsistencies between default viewpoints and the view cube.
2018-09-19 13:19:01 -07:00
Leonardo Zide
f507e08cde
Fixed wrong cursor when the mouse is over the view cube and other objects at the same time.
2018-09-19 12:56:45 -07:00
Leonardo Zide
7ba01dbff7
Fixed view cube text alignment.
2018-09-15 17:19:09 -07:00
Leonardo Zide
39ff605c8b
Switch to camera orbit when dragging the view cube.
2018-09-11 16:36:10 -07:00
Leonardo Zide
45124f3f4f
Fixed inverted position when clicking on the view cube.
2018-09-11 13:34:59 -07:00
Leonardo Zide
acadcde7d2
View cube rendering improvements.
2018-09-09 16:44:17 -07:00
Leonardo Zide
15d5e89cee
Added view cube preferences.
2018-09-02 11:23:49 -07:00
Leonardo Zide
69d46cc4c4
Allow undoing hiding operations. Fixes #251 .
2018-09-02 10:31:57 -07:00
Leonardo Zide
5e31d6985b
Added new files to project.
2018-08-20 11:47:46 -07:00
Leonardo Zide
4aa2cbeeb6
First pass view cube.
2018-08-19 20:28:04 -07:00
Leonardo Zide
1c1a5fb599
Fixed model comments being duplicated every time undo is used. Fixes #247 .
2018-08-01 14:05:01 -07:00
Leonardo Zide
7bdc918b98
Disable edge lines when line width is 0.
2018-07-31 11:33:32 -07:00
Leonardo Zide
d1b398be71
Added --shading and --line-width command line options. Closes #244 .
2018-07-21 15:33:15 -07:00
Leonardo Zide
c25a389f19
Set the main model active if no models are set on the command line when saving images. Fixes #243 .
2018-07-07 15:26:36 -07:00
Leonardo Zide
b09439d97d
Fixed alpha value of translucent parts in PNG files. Fixes #241 .
2018-07-04 11:19:15 -07:00