Leonardo Zide
4e6306a649
Translucent step fade.
2020-04-19 20:21:18 -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
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
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
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
b30ffd1b59
Initial implementation of in place submodel editing.
2018-03-29 10:20:36 -07: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
leozide
c924b90955
Converted include guards to pragma once.
2017-07-19 14:20:32 -07: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
b9726a2a99
Reorganized scene and context classes.
2017-04-01 16:53:54 -07:00
Leonardo Zide
57b8732ed6
Context state cleanup.
2017-03-25 12:29:28 -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
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
0f2e808477
Fixed printing.
2017-02-11 09:46:21 -08:00
Leonardo Zide
e7fe26d2a4
Stop caching the GL viewport since OSX changes it when making a context current.
2017-01-29 19:31:30 -08:00
Leonardo Zide
eb1bc1cd31
First pass of the new parts list widget.
2016-12-16 09:14:19 -08:00
Leonardo
a74e51cd04
Fixed line endings.
2016-10-05 14:28:52 -07:00
leo
d5ccd6289f
Include cleanup.
2016-05-02 19:13:54 +00:00
leo
510d190483
Support dynamic piece meshes.
2016-02-19 17:53:54 +00:00
leo
7f7a93e015
Added shader support.
2015-05-16 23:04:35 +00:00
leo
77e103264d
Set colors through the context.
2015-05-04 00:51:41 +00:00
leo
170b7fc775
Changed the vertex and index buffer types to a class.
2015-04-30 22:35:40 +00:00
leo
20945362e5
Create a static buffer for the move overlay.
2015-04-27 00:47:31 +00:00
leo
aa861cd036
Use a single vertex buffer for all pieces.
2015-04-26 18:14:33 +00:00
leo
81fc732158
Use a vertex buffer for the grid.
2015-04-14 04:14:10 +00:00
leo
c670893deb
Rendering optimizations.
2015-02-08 18:54:51 +00:00
leo
7546ff0b54
Fixed crash drawing models in the piece preview.
2015-01-02 11:58:14 +00:00
leo
a63743c73f
Reorganized drawing functions.
2014-11-23 23:48:56 +00:00
leo
5834587204
Support gradient and texture backgrounds in the preview widget.
2014-10-23 22:03:50 +00:00
leo
ebd7c4be5d
More descriptive error message when failing to save images.
2014-10-12 02:30:34 +00:00
leo
d6ceb6bfdc
Simplified the Save Image Dialog.
2014-10-11 23:26:23 +00:00
leo
54beb09a97
New selection indicator.
2014-04-20 01:50:41 +00:00
leo
fcee2cfd7a
Added context default state.
2014-04-16 00:29:54 +00:00
leo
c435eae17b
Added graphics context class.
2014-04-14 03:20:16 +00:00