Commit Graph

69 Commits (9e74609eb1c7601f0ab20bad4f9856748c2d07ce)

Author SHA1 Message Date
_ 9e74609eb1 Use the passes system 2020-03-08 18:33:57 +00:00
_ 7b140301c3 🚧 checkpoint 2020-03-08 18:21:32 +00:00
_ 838226b2de 🚧 Work on pass manager idea 2020-03-08 18:08:22 +00:00
_ 1a42b60f71 ♻️ Extract GameGraphics struct 2020-03-08 17:20:49 +00:00
_ 1560b2d3cd ♻️ Extract shader_closure.rs 2020-03-08 17:07:13 +00:00
_ 56bc305f00 🚧 checkpoint 2020-03-08 16:56:20 +00:00
_ 4faa272877 Fix the debug arrow lighting too 2020-03-08 06:02:02 +00:00
_ 5b1b59db5e Beautiful badly-lit debug arrows 2020-03-08 05:52:26 +00:00
_ 00a51efb19 ♻️ 2020-03-08 05:26:11 +00:00
_ 6c964c2dd2 ♻️ 2020-03-08 05:23:15 +00:00
_ fcac505286 ♻️ 2020-03-08 05:13:50 +00:00
_ e751288dee ♻️ 2020-03-08 05:06:19 +00:00
_ 0db0df9e0e Switch attributes to use iota in a complicated way 2020-03-08 04:55:04 +00:00
_ cd4a66d764 🚧 checkpoint 2020-03-08 04:40:15 +00:00
_ 07d925dc1e ♻️ 2020-03-08 04:17:57 +00:00
_ 61988a61ce ♻️ Make it harder to access the wrong shader vars by accident 2020-03-08 02:53:02 +00:00
_ b8e0429095 Remove unwraps from library code 2020-03-08 02:32:17 +00:00
_ e980599347 ♻️ Allow models to render all their meshes in a batch 2020-03-08 01:59:44 +00:00
_ 04328b3564 ♻️ refactor mesh loading 2020-03-08 01:45:35 +00:00
_ e4f8d3e1b3 Got the _good_ stencil shadows going 2020-03-07 15:05:59 +00:00
_ 376b06abc3 Make it look better 2020-03-07 14:16:51 +00:00
_ 18da547bc5 Made some awful shadows 2020-03-07 03:36:05 +00:00
_ e5b6d7839a Add func to retrieve mesh names 2020-03-07 02:23:23 +00:00
_ cd46a8dfcb Fix clippy lint 2020-03-07 02:23:09 +00:00
_ 24418bfa55 ♻️ Extract gpu_buffers.rs and renderable_model.rs 2020-02-17 03:06:52 +00:00
_ a1c21b92c9 Replace string lookups for uniforms with const int lookups 2020-02-17 02:57:30 +00:00
_ 3c37cd030b Use iota crate 2020-02-17 02:31:52 +00:00
_ c4d6243d15 🚨 Fix clippy warnings 2020-02-17 02:09:13 +00:00
_ a41eb8b969 Switch to glDrawRangeElements 2020-02-17 02:03:53 +00:00
_ 1cc363f8d5 Removing test which no longer passes 2020-02-17 02:01:40 +00:00
_ e2b14f3dfb ♻️ Pull out shader source code to text files 2020-02-17 02:00:41 +00:00
_ af4ef579c1 RenderableModel is now using VBOs.
And I made the sky model use RenderableModel, so there are no unsafe blocks
in the main file now.
2020-02-17 01:53:50 +00:00
_ 0e0e3f833a 🚧 RenderableModel uses an index buffer now 2020-02-17 01:27:57 +00:00
_ 5def012e85 Didn't end up adding GPU buffers, but I made the RenderableModel class.
This class clones all the data from iqm::Model that's needed to draw
a mesh / model safely, so I can draw it without unsafe. It can be
upgraded mostly in-place to use GPU buffers later on.
2020-02-17 01:22:05 +00:00
_ c415e9ed80 🚧 checkpoint before adding GPU buffers 2020-02-17 00:32:52 +00:00
_ d45b95961e ♻️ Safened all GL calls except those that actually do access arbitrary memory. 2020-02-16 23:49:38 +00:00
_ c6f71abbca ♻️ More safening 2020-02-16 23:48:26 +00:00
_ 09ce9ab580 ♻️ Make more safe wrappers 2020-02-16 23:44:01 +00:00
_ 963b344122 ♻️ Extract GLES functions that are trivially safe 2020-02-16 23:32:35 +00:00
_ 6b9b2a4e93 Move main.rs to pumpkin.rs 2020-02-16 23:24:33 +00:00
_ ad7b52c0bf ♻️ Extract file.rs 2020-02-16 23:21:32 +00:00
_ 94f963bca6 ♻️ Extract get_attribute_locations 2020-02-16 23:18:23 +00:00
_ 22e15530bf Add .gitignore 2020-02-16 23:14:59 +00:00
_ 88e58d5677 ♻️ extract get_uniform_locations 2020-02-16 23:14:28 +00:00
_ 358e139c9c ♻️ Extract texture.rs and add forgotten shader.rs 2020-02-16 23:07:32 +00:00
_ 593784917e ♻️ Extract timestep.rs 2020-02-16 22:58:45 +00:00
_ f8ceec6b9f 🚨 Fix clippy warnings 2020-02-16 22:56:35 +00:00
_ ffcb2c114d ♻️ Remove now-redundant Iqm* and iqm_* prefixes from names 2020-02-16 22:41:24 +00:00
_ c3473b9507 ♻️ Extract iqm.rs 2020-02-16 22:38:34 +00:00
_ b98a4f09d3 Was gonna make that jet fighter game but then didn't 2020-02-16 22:33:31 +00:00