A quick question about scene types

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
lucasite
Gnoblar
Posts: 9
Joined: Tue May 31, 2005 12:16 pm
Location: United Kingdom

A quick question about scene types

Post by lucasite » Sun Jun 05, 2005 9:41 pm

Hi,

ok, here's a hypothetical situation in a space game.

At the touch of a key:
You should be able to view your space ship from a 3rd person view flying around
Be at the helm, flying the ship around ( Im guessing an overlay style)
Be able to walk around inside the ship, controlling your character.


All this needs to be fluid.

So what scene should you use?
External surely, because you're in a wide open enviroment, IE: space with other objects
Or should it be internal, because you can roam around inside your ship.

Do I use the ST_Generic or Exterior? Or is it multiple scenemanagers which I think was referenced in the tutorials.

Is there a wiki for this style of scenario?

User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho » Sun Jun 05, 2005 9:57 pm

I would use the Octree scene manager (ST_GENERIC), as there is no specific spatial partition information (like BSP). I wouldn't use the EXTERIOR_FAR, as I don't see why terrain rendering would be useful here :P
Also, you can do some tricks like hide the outer scene when inside of the ship (or render a very low detailed version of it...). For anything you don't see mandatory to be rendered, remove it. I can't guess a better way now (already implemented in Ogre, of course :) You could try your own portal implementation by yourself, but I'm afraid you won't ever consider that possibility ;))
Image

User avatar
jwatte
Gnome
Posts: 347
Joined: Sat Feb 05, 2005 12:56 am

Post by jwatte » Sun Jun 05, 2005 11:46 pm

If it's space, you need nothing more than the OCTREE scene manager. That would be ST_GENERIC. Unless your space ship is like the Andromeda Ascendant and has 50 levels, all looking like sewers and tunnels, that is :-)

Post Reply