|
|
|
|
@ -6,21 +6,25 @@
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* === TODO: === |
|
|
|
|
* - add scene abstrastion for RenderState |
|
|
|
|
* - add an example of dynamically switching shaders for an entity |
|
|
|
|
* - fix debug load times (either by using cgltf, or hiding tinygltf.h) |
|
|
|
|
* - RenderGroups and Entities need to come into and out of existence during |
|
|
|
|
* gameplay. So, we need to extend MemoryArena to be a pool allocator |
|
|
|
|
* instead of an allocate only linear allocator |
|
|
|
|
* - add libTangerine namespace? |
|
|
|
|
* - clean up examples with new asset system |
|
|
|
|
* - merge render_group_fix branch back into master |
|
|
|
|
* - try to improve the setup interface for examples |
|
|
|
|
* see if we can remove some boilerplate with more helpers, or |
|
|
|
|
* re-organizing |
|
|
|
|
* - add orbit function to camera, see orbitPositionZ0 in example |
|
|
|
|
* maybe implement with quaternion, so we can set arbitrary orbit axis |
|
|
|
|
* - update camera interal state and rotations to use quaternions |
|
|
|
|
* - add scene abstrastion for RenderState |
|
|
|
|
* - add an example of dynamically switching shaders for an entity |
|
|
|
|
* - fix debug load times (either by using cgltf, or hiding tinygltf.h) |
|
|
|
|
* - RenderGroups and Entities need to come into and out of existence during |
|
|
|
|
* gameplay. So, we need to extend MemoryArena to be a pool allocator |
|
|
|
|
* instead of an allocate only linear allocator |
|
|
|
|
* - resizable arrays for entities and asset system (^ see above) |
|
|
|
|
* - add libTangerine namespace? |
|
|
|
|
* - make a test case for overflowing default array sizes, rg->assets |
|
|
|
|
* rg_info->groups, render_group->enitities, rg->textures |
|
|
|
|
* - test for video memory leaking since we're not actually deleting GLBuffers |
|
|
|
|
* anywhere |
|
|
|
|
* - look for glm::mat4 in structs, and replace with pointers (easier debugging) |
|
|
|
|
* - resizable arrays for entities and asset system |
|
|
|
|
* - defaults include for various #defines |
|
|
|
|
* - make separate shaders for per vertex, and per pixel/fragment lighting |
|
|
|
|
* see red book chapter 7 |
|
|
|
|
@ -63,6 +67,7 @@
|
|
|
|
|
* - remember to update offsets in initLights() |
|
|
|
|
* - use rg_arena for store GLMeshes, see initGLMesh() |
|
|
|
|
* - merge back into libTangerine |
|
|
|
|
* - merge render_group_fix branch back into master |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|