Summary

In this project, we wrote a simple viewer for 3D models in the open OBJ file format. We implemented a ModelObject class that parses the model file and builds the vector and normal buffers needed by RenderBox to render the object in the scene. We then enabled shading. We then made the viewer interactive so that the model rotates as you move your head.

In the next chapter, we explore another type of media, your music. The music visualizer responds to the current music player to display dancing geometry in the VR world.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset