OGRE 2.1 and Multiple "Tabs" (TDI)
Posted: Sun Feb 19, 2017 2:31 am
So, i heard the case of this thread: http://www.ogre3d.org/forums/viewtopic.php?f=25&t=85502 and when i was writing my OGRE editor i had some concerns, when i was coding my game editor, my editor itself has an Chrome-like TDI (Tabbed Document Interface) to do multiple things and able to detaching and reattaching tabs which is very useful for us, but when OGRE gets involved i have shivers.
From that thread and some others i saw there's some complications trying to use OGRE in multiple windows and different scenes. My editor requirement is each tab can be an map/scene editor with a completely populated scene, plus material editors, and other editors which may requires OGRE previews.
I don't know if i should use an scene manager for each Map or Scene, using "isolated" RenderQueues could not helpful (i.e i opened many maps at once then OGRE ran-out of assignable of RenderQueue IDs) or the user explictly specified certain renderable is going to X RenderQueue ID in a map, and maps could have their own set of compositor workspaces, and how huge resource consumption could be.
what things i have to take care and they recommend to use OGRE in an Tabbed Document Interface (i.e Multiple Windows) which every map or scene are completely different?
From that thread and some others i saw there's some complications trying to use OGRE in multiple windows and different scenes. My editor requirement is each tab can be an map/scene editor with a completely populated scene, plus material editors, and other editors which may requires OGRE previews.
I don't know if i should use an scene manager for each Map or Scene, using "isolated" RenderQueues could not helpful (i.e i opened many maps at once then OGRE ran-out of assignable of RenderQueue IDs) or the user explictly specified certain renderable is going to X RenderQueue ID in a map, and maps could have their own set of compositor workspaces, and how huge resource consumption could be.
what things i have to take care and they recommend to use OGRE in an Tabbed Document Interface (i.e Multiple Windows) which every map or scene are completely different?