rakkarage's picture


just a very simple camera example i made wile trying to figure this all out, it's just using the old style imediate mode currently... corrections and or feedback welcome, thanks

- dashed axis negative, solid positive, r = x, g = y, b = z

- simple mouse and keyboard movement
- click either button and drag to drag the view around
- click both buttons together to move forward
- wasd etc

- simple scene graph
- common base class Frame (of reference) contains a list of children
- camera is root

- simple 2d orthographic "window"

ship it! :)

Inline Images
RageWorld.zip115.31 KB