Leonardo Zide
c10804d31b
Simplified manipulator rotation math.
2021-12-11 15:52:38 -08:00
Leonardo Zide
a5207573bf
Customizable object colors.
2021-11-24 15:20:08 -08:00
Leonardo Zide
94a5a5dc52
Moved blend to context.
2021-11-22 16:18:09 -08:00
Leonardo Zide
89c0b58592
Moved depth test to context.
2021-11-22 16:01:45 -08:00
Leonardo Zide
408dc6ff97
Moved texture upload to context.
2021-11-21 18:25:17 -08:00
Leonardo Zide
a9ab7c0c64
Removed GL calls in texfont.
2021-11-21 12:16:19 -08:00
Leonardo Zide
36dbcec238
Fixed macOS OpenGL deprecation warnings.
2021-11-20 19:56:52 -08:00
Leonardo Zide
2a24933fa8
Scoped enums.
2021-11-14 19:10:16 -08:00
Leonardo Zide
7d884e6b5f
Static analysis fixes.
2021-11-14 18:34:24 -08:00
Leonardo Zide
c236ea02bb
Moved view manipulator to a separate class.
2021-06-20 11:40:16 -07:00
Leonardo Zide
48c6fad09e
Flush vertex attribs when the buffer object changes. Fixes #697 .
2021-04-17 10:38:23 -07:00
Leonardo Zide
278e953b81
Rewrote vertex attribute cache.
2021-04-10 15:22:41 -07:00
Leonardo Zide
b6acab713d
Removed redundant state changes.
2021-03-28 13:30:35 -07:00
Leonardo Zide
177265d9f8
Fixed CLI crash.
2021-03-20 12:32:05 -07:00
Leonardo Zide
a5a794d3fc
Set texture unit 0 for all textures.
2021-03-13 11:40:33 -08:00
Leonardo Zide
233affe3fc
Moved global resource creation to startup instead of context creation. Fixes #645 .
2021-03-10 21:22:41 -08:00
Leonardo Zide
5065dcac74
Fixed vertex attribute bindings for the conditional shader.
2021-03-10 13:30:41 -08:00
Leonardo Zide
de3a3adf34
Fixed wrong function call.
2021-03-07 16:07:43 -08:00
Leonardo Zide
4f53004aae
Disable conditional lines when shaders are not available.
2021-03-07 11:04:53 -08:00
Leonardo Zide
c3ad14ac04
Conditional line shader.
2021-03-06 18:54:24 -08:00
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