Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 3.24 KB

File metadata and controls

39 lines (34 loc) · 3.24 KB

Notes

I will describe the layout of the code and some future ideas here later I will attempt to update the code base to follow https://google.github.io/styleguide/cppguide.html and continue to follow it

Things to do

  • I need to tidy up my model loading, I changed how it works and am storing some things I never use
  • Futhermore my model loader only loads diffuse textures from a material file, I need to load the other textures too
  • I need to keep a quaternion in the camera which keeps track of the current orientation of the camera so that I can get just the rotation of the camera - Useful for cube maps

References - sources for inspiration (rarely cut and paste)

Rendering to non-default framebuffer locations

The framebuffer OpenGL object is used as a container, and textures and renderbuffers can be attached to framebuffers. Renderbuffers are used over texture buffers when the intention is to render, and not to use the texture again for any further lookups.

Caustics

Currently we are only dealing with directional lights, and as such, an ortographic projection can be used for the light.