Page 1 of 1

Ogre Octree

Posted: Fri Jan 28, 2005 11:36 pm
by ludoz
Hello. I can't understand how Plugin_OctreeSceneManager.dll works. That plugin can only manage terrain built up during runtime ?
If i have a big mesh (created with 3dsmax), made up by trees, houses, rocks... (my static world in practice) how can i made that mesh to be rendered optmized with an octree ?
There's not an app that build up an octree from a .mesh file ? so we can pass to the renderer the large mesh and the file to optimize it.
I tried dotsceneoctree, but it not compile with the ogre HEAD version, and it's also an addon, not a standard ogre tool!
Is it possible that ogre core miss something basilar like this ? or am i missing something ?

Posted: Fri Jan 28, 2005 11:42 pm
by jacmoe
You are, indeed.
Look for DSI and DSIViewer - DSI is DotScene Interface.
AFAIK cTh has updated the dotscene stuff - so it will probably compile against Ogre HEAD.
If you want to be on the safe side - wait for Ogre 1.0 :)

And - Ogre is about flexibility. It does not impose a certain way of doing things - you can either use exsisting scenemanagers, etc. from the ogreaddons, or write your own.

Posted: Fri Jan 28, 2005 11:55 pm
by ludoz
I tried DSI, but it only load a .scene file. A big mesh is not optimized at all!
I know that ogre is for flexibility, but write a scene manager is not a simple task! (i tried to look at some source code)
Anyway, Plugin_OctreeSceneManager.dll manage only terrain ?

Posted: Sat Jan 29, 2005 9:05 am
by Mdobele
A .scene file is basically just a list of individual .mesh files.

I wouldnt recommend have ONE mesh file that represents your entire world. Manually split it up into reasonable sized pieces in MAX, export it out as a .scene and then you can take advantage of OGRE's default octree when using a ST_GENERIC scene manager.

Posted: Fri Feb 04, 2005 5:59 pm
by RoundSparrow
Looking for some feedback...

At what point is my world large enough that I should consider using .scene approach?

If I wanted to do a race game of the Indy 500 (2.5 mile oval race track) should I break it into 32 meshes or just go with 1?

thanks.