Skip to content
Snippets Groups Projects
TODO 1.31 KiB
Add exceptions here and there...

Add a configuration flag to enable/disable debug message (and OpenGL Debug in
  HardwarSets glfw initialization and Renderer ctor

Design a 'renderer chain class', inherited by HardwareSet, Renderer and Application,
to define and execute the rendering call chain (factorization of setRenderContent() and renderContent)

Add a VAO container (which will contain a vertexBuffer and an indexBuffer)

Add a setShadersFromString (and use it to load the OpenVRSet distortion program and
remove OpenVRSet/DistortionProgram)

Write a simplified version of logstreams

Move Application::loadContentXXXX into Container. This imply to define an extensible set of 'loaders'.

src/Program:
  - Make programs inherit from Ambient/Diffuse/Texture

Primitive:
  - Use a template rather than a test on primitiveType
  - Use several VAOs to avoid glBindBuffer and glVertexAttribPointer during
    rendering, and just call glDrawElements

shaders:
  - Define the shaders of a program in the JSON config

shaders/advLines:
  - prismoidGS/diffuseTube: check all orientations, optimize, optimize, optimize
   (passVS: send actual normal)
  - diffuseTube: replace cylinder intersection by cone intersection

---------------------------------------

TOCHECK

 glGet with argument GL_MAX_ELEMENTS_VERTICES and GL_MAX_ELEMENTS_INDICES