diff options
| -rw-r--r-- | README.md | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -84,4 +84,34 @@ planned to implement. * GLFW & OpenGL * Better cross platform support (ie. windows) +## Remaining work before mergin this branch +This section exists to provide an overview of the tasks that needs to be done +before merging the glfw branch back into master. +* [x] Batch rendering + + Adding models now requires a transform. + + We require `renderbatch_refresh` to finalize the renderobj buffer. + + Still require `RenderObject_new` in the end, to make the buffers. + + [ ] We also want enable the user to automatically generate IBO, by exposing + some API call. + + [ ] Should make a "`renderbatch_update_renderobject`" API, that uploads + all the changed vertex data, possibly by using a `.dirty` flag. + + [ ] Merge textures from RenderObjects into texture atlas +* [ ] (auto?) Index buffers + + [ ] Missing IBO generation, should be easy, + ``` + vertices[n][3]f32 |> sort ( + \original_idx pos_vec3 -> ({x,y,z}, original_idx) /* or possibly by morton codes/z-ordering */ + ) vertices |> sort-by-original_idx + ``` + + [ ] Should also be possible with `assimp` +* [ ] Model loading of some sort + + [ ] Should also be possible with `assimp` +* Revise rendering pipeline. + + [ ] We should not rely on a single global `drawcalls` variable, instead we + should render to textures and present those instead. + - [ ] These should be resized with the window + + [ ] Should be passed as parameter. _we want to completely get rid of + `GLOBAL_PLATFORM`_ + + [0]: https://github.com/0undefined/rogue/blob/a947b0092d91920d56eb9af6a39bd1bd05e145fc/CMakeLists.txt |
