I've made a sloppy port of lessen 10 to OOP
I''ve setup Lesson 10 from the turtorials in an OOP class structure. I also merged in a sample of displaylist code from lesson 12, so when you run the compiled code you''ll see a box with a second texture in the middle of the room as you move about.
I set it up for maximum ease of compilation however, and not elegence, so the port is somewhat ''sloppy'' in some aspects.
I put all the declarations from Lesson 10 (and those used from 12) in a header file called gp_ogl.h, and all the instance implementation code in a header called render.h.
Only the main windows loop (with the keyboard queries) remains in a cpp file, now called mainloop.cpp.
If anyone wants, I can upload this project, and someone can improve it further.
Will Virtual World Tools rise from the ashes? Maybe...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement