Hey guys!
I have been reading that some people are using multiple scene managers to render their game, while others create one instance of the scene manager and pass it along to other objects.
Is there any advantage to having multiple scene managers? Does it increase FPS or performance in any way?
Thanks in advance!
Multiple Scene Managers
-
- Posts: 12
- Joined: Fri Aug 14, 2009 10:03 am
- Location: Netherlands
If you need multiple scenes with per-scene settings (like for example ambient light), you should probably use another scene manager. If you're rendering animated scenes into render targets for use in the GUI, you might also need another scene manager. I wouldn't recommend loading each zone or level into another scene though.
-
- Posts: 12
- Joined: Fri Aug 14, 2009 10:03 am
- Location: Netherlands
Multiple Scene Manager
Hi,
Sorry for that question, but how do you create another SceneManager and assign it to the device ?
I coded a gamestate : IntroState, MenuState, PlayState.
Currently, I share the scenemanager for the three states, but I wanted to have a SceneManager for each state. Is it possible ?
Thanks for reply.
Olivier
Sorry for that question, but how do you create another SceneManager and assign it to the device ?
I coded a gamestate : IntroState, MenuState, PlayState.
Currently, I share the scenemanager for the three states, but I wanted to have a SceneManager for each state. Is it possible ?
Thanks for reply.
Olivier