Clearing the last render from the screen.[SOLVED]

NickM

13-11-2007 17:31:40

I guess this may be more Ogre related than NxOgre but I'm not really sure, apologies if I'm posting it in the wrong place.
When I've finished running my game within my NxOgre world state, I then return to my main menu state but the last rendered image from NxOgre stays in the background, my question is, how do I clear the last render from nxOgre?

Thanks in advance.
Nick.

betajaen

13-11-2007 17:36:51

It's Ogre related by I'll try and answer it.

Do you mean it is frozen or NxOgre is just there but not doing anything? If it's the first then the image could just be stuck there, either adding a new viewport, or rendering a frame or even just covering it up. Otherwise just delete all of the Scenes, they should go then.

NickM

14-11-2007 06:29:26

Thanks betajaen, deleting the NxOgre scene fixed it. :D