Renderer.txt 1.1 KB

12345678910111213141516171819202122232425
  1. NON TRIVIAL BUT SIMPLE
  2. Actually add frustum culling
  3. Implement RenderQueue sorting with support for sort type, priority and separable pass
  4. - Use a hash list(containing type, queue, layer, etc.) for faster sorting
  5. -----------------------------------------------------------
  6. REFACTORING, NOTES AND OTHER TRIVIAL STUFF
  7. Finally
  8. - Document elements marked with TODO UNDOCUMENTED
  9. - Refactor/rename everything so it makes more sense. Possibly lay out a design diagram.
  10. - Get rid of Camera::getIgnoreSceneRenderables it can be doing using layers
  11. Semantic/design issues:
  12. - DrawList is too similar to RenderQueue - Their names need to be more distinct
  13. - Consider removing SceneManager from Core? I two scene manager base classes.
  14. - GpuParamBlockBuffer and GpuParams::cloneForCore are very clumsy in how they deal in keeping two separate param blocks. Rethink this a bit.
  15. ---------------------------
  16. Just notes for later potentially:
  17. - I can only update entire Mesh at once.
  18. - I keep bounds for the entire mesh and not per-submesh
  19. - I don't serialize bounds and they are recalculated whenever a mesh is loaded