Multiple Camera Support

I have been working since turkey day to add support for multiple cameras.
For this I needed to re work how the top level scene graph parts talk to each other. This included the windows, view ports, cameras, worlds and layers.

The end result can now have a infinite number of cameras view the the same or multiple worlds and can draw into the same or different view ports.

The screen shot below shows 3 cameras all viewing the same world and drawing into the same OpenGL context or view port.

Now you might think adding support for multiple is EASY in OpenGL…
But you have to remember Im writing the whole engine in software and then off loading work to gl or d3d renders if possible. So it has taken a while to get working properly.

multicamera.jpg

One Response to “Multiple Camera Support”

  1. jay Says:

    Hi!

    I am in need of a tutorial on how to have multiple camera angles displayed on an OpenGL view port. I need this for a school project. Do you know where a tutorial that will tell me how to implement something similar to yours above?

    Thanks,
    -jay

Leave a Reply