OpenGL Graphic Renderer
This is a project created with OpenGL C++. It has multiple features such as free camera movement, object selections and model converting. This was made for university graphics programming module.
Worked on:
- OpenGL rendering with FreeGlut Library
- Converting Obj files into project compatible with blender
- Linked List storage of objects
- Camera movement
- Texturing of models
Code
Objects
Objects that don't have a derived class, will be drawn based of its enumerators. They determine what filetype the object is in, and determine if its textured or smooth. This could then be improved by adding derived classes for more specific cases and more performance.
Tree for example:
The object is drawn by getting the exported data from the object file:
Linked List
Objects are stored in a linked list for fast rendering and easy drawing of objects:






