smgr rendering

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
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

smgr rendering

Post by Seven »

in the gui system i have a window that does not render the client area.
I need to render the smgr->drawAll() into the client area but cannot seem to figure it out.

I could render the smgr to the entire screen and then render the gui over it, effectively leaving the smgr render, but it seems i waste a lot of time doing that.

how can i render the smgr only to a certain rectangle on the entire screen?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: smgr rendering

Post by CuteAlien »

Check the splitscreen example, that should do that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Re: smgr rendering

Post by Seven »

sigh..... thanks for the push. I gotta remember those for these simple things.

if it helps, I have it all figured out. resizable, dockable, scrolling windows that minimize, maximize and restore.
Even have a sceneviewer now.
Post Reply