Commit Graph
56 Commits
Author SHA1 Message Date
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
Leonardo Zide 6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -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
Leonardo 60712b6bd1 Fixed translucent triangles not drawing. 2016-09-22 08:06:41 -07:00
leo 6e602174c0 Experimental conditional line support. 2016-08-22 01:11:32 +00:00
leo 9c8a602a09 Fixed accessing const arrays as non-const. 2016-04-19 18:37:50 +00:00
leo 510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo ecef3ce47d Fixed texmap extension. 2015-12-05 19:56:25 +00:00
leo 6b86d13042 Fixed rotate overlay drawing. 2015-05-25 18:02:57 +00:00
leo f001916a05 Fixed camera name not drawing correctly. 2015-05-25 17:36:22 +00:00
leo 307ed62ceb Added mesh LOD. 2015-05-24 04:36:25 +00:00
leo 77424ccf16 Fixed wrong GLSL qualifier. 2015-05-17 16:23:14 +00:00
leo 7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo 7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo 77e103264d Set colors through the context. 2015-05-04 00:51:41 +00:00
leo 9cf0f11445 Clear index buffer after destroying it. 2015-04-30 22:39:27 +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 ba86509804 Removed more places where the vertex pointer was getting set directly. 2015-04-16 00:23:25 +00:00
leo 81fc732158 Use a vertex buffer for the grid. 2015-04-14 04:14:10 +00:00
leo 406182db5d Fixed option to disable drawing lines. 2015-03-18 02:30:54 +00:00
leo c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo 21d622bd59 Merged main window classes. 2015-01-25 23:04:39 +00:00
leo 1de2bffb73 Fixed valgrind errors. 2015-01-08 05:40:22 +00:00
leo 788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +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 55e7cad5e1 Rewrote HTML export. 2014-10-13 03:43:33 +00:00