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
Leonardo Zide
b9726a2a99
Reorganized scene and context classes.
2017-04-01 16:53:54 -07:00
leozide
e1e0a0b812
Fixed warning.
2017-03-27 12:16:44 -07:00
Leonardo Zide
57b8732ed6
Context state cleanup.
2017-03-25 12:29:28 -07:00
Leonardo Zide
155fa7cdc2
Removed redundant glBlendFunc calls.
2017-03-25 00:03:17 -07:00
leozide
eb7a8a86de
Removed SetTextureMode.
2017-03-24 18:36:58 -07:00
Leonardo Zide
c85f0f7eea
Disable normals for unlit passes.
2017-03-24 09:34:53 -07:00
Leonardo Zide
f99a093c7a
Draw edge lines unlit.
2017-03-22 23:35:02 -07:00
Leonardo Zide
50b9ab1984
Faster mesh sorting.
2017-03-19 22:59:55 -07:00
leozide
d6efc97089
Removed SetLightingMode.
2017-03-17 15:53:26 -07:00
Leonardo Zide
acd5a485f0
Added a decal material to fix the texmap extension.
2017-03-12 13:51:14 -07:00
Leonardo Zide
e645228128
Fixed stud grid color.
2017-03-12 12:40:59 -07:00
Leonardo Zide
61e803c161
Added fake lighting shader.
2017-03-11 16:47:21 -08:00
Leonardo Zide
043246fbe6
Changed normal format for compatibility.
2017-03-05 22:14:50 -08:00
leozide
7e3f572b8e
Added shaders for each material/lighting combination.
2017-02-28 15:20:34 -08:00
Leonardo Zide
3d1efcabec
Added room in the meshes for normals.
2017-02-18 11:12:35 -08:00
Leonardo Zide
b2cb923e28
Fixed shaders on desktop GL.
2017-02-11 12:43:47 -08:00