summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-03-27 14:34:33 +0000
committeronelin <oscar@nelin.dk>2025-03-27 15:13:02 +0000
commite97750ce116cbcd67a8718c646e3af6415a4247e (patch)
treec37f609a26e218373f5e22ca0c262d311fbb36f1
parentdedcbccaede245627d749776ab08996b52079562 (diff)
Add roadmap to README
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
index 488f42a..e094da7 100644
--- a/README.md
+++ b/README.md
@@ -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