Commit graph

33 commits

Author SHA1 Message Date
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