Saturday, May 28, 2011
Plans for development of OpenGL wrapper
I want to create a wrapper for OpenGL using standard OO principles. Ideally, this means that all OpenGL commands and such will simply be wrapped in functions which are designed to draw specific types of objects, perhaps the type of Displayable class. The wrapper should will encapsulate as many OpenGL commands as possible, and each one will include an option error checking mechanism enabled through a define. This will both help me with more advanced OpenGL stuff as well as make future projects easier to start out with. Ideally, this wrapper itself will be a form of strategy which can be used in a larger engine. Perhaps another strategy would be the DirectX object.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment