Includes the latest ( beta ) versions of:
- OpenGL Base
- OpenGL Camera
- OpenGL Clear Control
- OpenGL Lighting ( Advanced )
- OpenGL Texture Bank
Added v-sync option for the Base object ( breaking compatibility with previous builds, hopefully for the last time. )
Added Get width and Get height expressions for the Texture Bank object.
The rest of the objects are all new. I have plans for an alternative, less intimidating ( but somewhat less flexible ) version of the Lighting object, hence the "Advanced" part.
Since there are no examples for the new objects yet, I thought I'd explain a couple of things...
During runtime you can change the properties of the Camera and Lighting objects at any time, but the changes won't affect other OpenGL objects until you call the Apply actions. The Apply actions should only be used in a Base: On redraw event, the order of the actions in that event should be:
I'm working on an example that uses all of the objects.
- Clear color and depth buffers
- Apply camera
- Apply lights
- Draw stuff...