Commit Graph

52 Commits

Author SHA1 Message Date
5663331abf Enabled instanced rendering 2017-04-06 15:04:41 -04:00
942174f6bc Added dispose calls 2017-03-11 21:17:53 -05:00
61d5c62e5c Added ToString and descriptive log messages, use IBO 2017-03-11 21:16:48 -05:00
17d7c75df5 Added VertexArray class. Needs more work for buffer attaching mechanism and cannot infer attrib location from attrib name. 2017-03-11 21:08:02 -05:00
2b48366c0a Switch manual shader dispose to using statement 2017-03-11 15:21:13 -05:00
93d138623d Added manual VAO usage, moved shader assignment to Trace log 2017-03-11 15:12:26 -05:00
9760093f39 Added buffer and buffer<>, tweaked more documentation 2017-03-09 20:52:11 -05:00
bc41ccd65b Tweaked Loggers 2017-03-09 15:47:45 -05:00
ffc525a0fd Removed most files, began rewriting program, shader, globject 2017-03-08 23:45:37 -05:00
9f64d7f2cd Suggested changes 2017-03-07 02:16:21 -05:00
77b28b4ce0 reformat and remove unneeded usings 2017-03-04 17:10:47 -05:00
5a3561a635 Fewer array copies in FromWavefront, use multiple rendergroups in hexrender 2017-03-03 01:53:20 -05:00
3e3b033de6 removed Mesh, added VertexBuffer 2017-03-03 01:01:26 -05:00
0d34233cb7 Generic RenderGroup 2017-03-02 00:43:31 -05:00
90b8b65b07 Added RenderGroup and Camera 2017-03-02 00:29:27 -05:00
af6d8b0e8a Added documentation to Util types 2017-03-01 16:52:16 -05:00
88ab90f186 Added documentation to all GLObject types 2017-03-01 16:30:54 -05:00
e4081ea662 Wrapper and GLObject each have one logger instance - all globjects and wrappers use that logger 2017-03-01 15:25:50 -05:00
4d69119f40 Changed type names to be more appropriate 2017-03-01 02:45:27 -05:00
69f2c90682 Removed unnecessary using directives left over from migration 2017-03-01 02:01:57 -05:00
aa6b4d4b68 Migrate to Factory/Wrapper - HexRender complete 2017-03-01 01:48:09 -05:00
4f2e792298 Created Diamond.Util, added SubArray and adjusted references 2017-02-28 12:19:17 -05:00
a22c47484e Removed Level usages - class structure is broken. 2017-02-28 11:41:00 -05:00
4d4eea54bb Added rudimentary texture loading in Level. It, too, sucks, but works as a prototype 2017-02-27 23:27:16 -05:00
1824de6842 Updates to Level. More functionality, but also very unstable. 2017-02-27 23:11:14 -05:00
8566105158 Use linq instead of JsonConvert - makes for less nast code, but this still needs work. 2017-02-27 21:39:29 -05:00
cae11cf556 Migrated to use Levels in hexworld, move tile-related types to Diamond 2017-02-27 20:43:53 -05:00
86ed1473e4 Initial Level Additions 2017-02-27 20:41:11 -05:00
1c5491a2c5 Load multiple meshes from obj file 2017-02-27 19:15:00 -05:00
7259f5daf2 Fixed obj.fs.glsl from log testing. 2017-02-27 16:40:14 -05:00
180d714995 Starting to use NLog for logging. 2017-02-27 16:37:26 -05:00
7a187c346e wavefront obj support 2017-02-27 03:40:54 -05:00
6385f62e20 Removed unneeded usings 2017-02-27 02:37:55 -05:00
73e70c3a60 Added Mesh class, removed attrib pointer management from Program, shifted to mesh. MUST use Program.UseDefault instead of GL.Use(0) to prevent crash, but meshes can't render with it anyway. 2017-02-27 02:22:54 -05:00
84608d5981 Started refactors for logging and level loading 2017-02-27 01:04:30 -05:00
a7c2f5bb29 Rename Buffer to GLBuffer to prevent name conflict. 2017-02-26 23:17:21 -05:00
df6965c003 Added third block type and textures. 2017-02-26 22:27:03 -05:00
02a9a6d662 Replaced VBO with Buffer and SubArray. Program now recieves Buffer, rather than VBO receiving Program. Added VertexDataAttribute for vertex structs.
Split json files to test this functionality.
2017-02-26 18:51:21 -05:00
7500e0e7a4 Added documentation comments, reorganized HexRender 2017-02-26 02:19:59 -05:00
bc584c8f42 Moved util files to separate class library 2017-02-26 01:30:27 -05:00
8a68bc6d2d Merged TODO removal and IDispose addition 2017-02-26 00:36:08 -05:00
ce3b5cce6c GLObject implements IDisposable 2017-02-26 00:33:29 -05:00
5e4a95f751 Removed todo comments; created issues on github 2017-02-25 20:16:55 -05:00
b30f79acda Shader loader 2017-02-25 16:01:56 -05:00
88e773ef25 Reflection and deserialization for vertex data 2017-02-25 06:03:56 -05:00
d185544e47 Fixed aliasing issues, sinusoidal movment test 2017-02-25 03:45:27 -05:00
e473c9fb15 Initial tiles testing 2017-02-25 00:40:41 -05:00
234d1669dd Works on AMD now 2017-02-24 23:08:21 -05:00
ece5b0d30f Remove instancetiles 2017-02-24 21:45:40 -05:00
2710007ec2 More OO-like. a bit easier to read/use things 2017-02-24 21:22:13 -05:00