Leonardo Zide
1b0a47f692
Fixed aarch compile error.
2021-01-12 18:29:11 -08:00
Leonardo Zide
b8a8cb6730
Removed direct GL function calls.
2021-01-12 14:29:56 -08:00
Leonardo Zide
4e4fc504da
Removed unused param.
2021-01-12 13:58:05 -08:00
Leonardo Zide
6bfc4ff9b1
Removed Tex2DMS functions.
2021-01-09 18:01:03 -08:00
Leonardo Zide
a0867c9b80
Framebuffer cleanup.
2021-01-09 17:57:24 -08:00
Leonardo Zide
dbb4c9e44b
QGLWidget cleanup.
2021-01-08 11:25:24 -08:00
Leonardo Zide
72763ddc11
Create offscreen context at startup and reuse it.
2021-01-01 18:41:28 -08:00
Leonardo Zide
69cfc71f3b
Removed global placeholder mesh.
2020-12-31 14:23:08 -08:00
Leonardo Zide
3358553e1d
Moved clear functions to context.
2020-12-29 15:32:11 -08:00
Leonardo Zide
1367a5d6f4
Fixed parts list icons when MSAA is on but not supported.
2020-12-28 18:10:54 -08:00
Leonardo Zide
129e0f886f
Compile fix.
2020-12-28 17:54:24 -08:00
Leonardo Zide
4ed04e4e25
Use an offscreen buffer when saving images from the command line.
2020-12-28 17:30:41 -08:00
Leonardo Zide
985fb8b778
Fixed MSAA check.
2020-12-28 14:36:04 -08:00
Leonardo Zide
7ef1d7b733
Fixed crash when MSAA is not available. Fixes #573 .
2020-12-28 09:42:13 -08:00
Leonardo Zide
4e6cbca31c
Switch to QOpenGLWidget.
2020-12-27 13:05:55 -08:00
Leonardo Zide
81fb79b805
Use fewer draw calls for the axis.
2020-12-26 16:30:28 -08:00
Leonardo
eda0a705de
Removed deprecated QResource usage.
2020-12-11 14:14:54 -08:00
Leonardo Zide
e52ea0ab63
Added LC_ARRAY_SIZE_CHECK for static array checks.
2020-12-06 11:26:55 -08:00
Leonardo Zide
f8ca2b848b
Fix for GLES.
2020-11-06 18:55:36 -08:00
Leonardo Zide
aefe36dbca
Use AA lines when AA is enabled.
2020-06-06 11:15:39 -07:00
Leonardo Zide
13ae577533
Use simple multiplicative tint for fade.
2020-05-03 12:39:04 -07:00
Leonardo Zide
a5fde91ee9
Configurable fade color.
2020-04-25 12:16:37 -07:00
Leonardo Zide
4e6306a649
Translucent step fade.
2020-04-19 20:21:18 -07:00
Leonardo Zide
7275c4256d
Added const qualifiers.
2020-03-22 20:18:52 -07:00
Leonardo Zide
7c9773f228
Fixed override and virtual function qualifiers.
2020-03-22 15:44:41 -07:00
Leonardo Zide
90f1336a48
Scoped enums and constexpr.
2020-03-22 13:44:20 -07:00
Leonardo Zide
5854cfce89
Added wrapper for glDepthMask.
2019-11-09 18:11:25 -08:00
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
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
6077400b3c
Round viewsphere highlight.
2019-01-19 20:04:08 -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
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
b09439d97d
Fixed alpha value of translucent parts in PNG files. Fixes #241 .
2018-07-04 11:19:15 -07:00
Leonardo Zide
b30ffd1b59
Initial implementation of in place submodel editing.
2018-03-29 10:20:36 -07:00
Leonardo Zide
232ece5e6b
Only check QGLFormat::samples when sampleBuffers is enabled. Fixes #196 .
2018-02-24 18:22:53 -08:00
Leonardo Zide
ce8a830d40
Fixed alpha of the opaque parts of texmap translucent parts.
2018-01-12 21:44:49 -08:00
leo
c5a232b8c9
Fixed missing depth buffer when AA is disabled.
2017-12-30 13:03:47 -08:00
Leonardo Zide
5d637b1cad
macOS fixes.
2017-12-30 12:12:27 -08:00
Leonardo Zide
3ef029d6d2
Fixed GLES.
2017-12-30 12:04:12 -08:00
Leonardo
50b3e95215
Reuse the same FBO when creating new preview images.
2017-12-29 06:50:18 -08:00
Leonardo
804e0f6f53
Save MSAA images. Fixes #101 .
2017-12-26 10:19:20 -08:00
Leonardo Zide
33f33af0aa
iOS fixes.
2017-12-06 22:08:56 -08:00
Leonardo Zide
82a4afb7a9
OpenGL ES cleanup.
2017-04-26 22:24:54 -07:00
leozide
f7d61f33ce
Updated code to use nullptr and override.
2017-04-13 17:26:40 -07:00
Leonardo Zide
c34810c084
Static analysis fixes.
2017-04-02 17:15:09 -07:00