Camera Window

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Ameiseherr

Camera Window

Post by Ameiseherr »

Is it possible to attach a camera to an addImage window? IE, I make an image window, then display something one of the cameras sees in it?
Boogle
Posts: 162
Joined: Fri Nov 21, 2003 3:16 pm
Location: Toronto, Canada

Post by Boogle »

You would have to render the window camera's view to a buffer, then attach the buffer as a texture to the window object, and render the standard scene. This is similar to screenshots, which are not implemented, and I don't think are currently planned. If you search the boards for 'screenshot' there was a discussion about them with a suggestion regarding how to pull it off in directx only. It may involve recompiling the irrlicht source.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Another method would be to render into a ViewPort. There is a MeshViewer GUI Element, which does this.
Post Reply