[Answer: PLSM2 !] Vb.Net Accessing Terrain after creation.

GregH

06-01-2006 10:17:00

Hi Folks,

Firstly an update...I've now managed to build some 3D Max models and attached them to nodes in my foggy-skydomed terrain. Wicked.

Next, an observation...the terrain appears in the "world" with its top left corner at 0-0-0 (that is, I'm suprised it isn't centered around 0-0-0). This isn't a huge hassle but it means offsetting other geometry, cameras and lights to the new "center" of the world. Lots of plus X's, Y's and Z's.

Having control over most aspects of the *post loaded* terrain as specified by SetWorldGeometry would be handy...for example shifting its origin, changing its scale, rotation...even its material if needed...would be handy.

Sooooooo....my question is how does one get at the "entity/node" for the WorldGeometry after the SceneManager has created it? The Terrain.cfg file doesn't appear to deal with world origin

Kindest regards,

Greg H.

** Edited to add Addendum **

...or if it isn't possible to manipulate the loaded terrain, there must be at the very least a way to shift the world origin to the center of the terrain???

GregH

21-01-2006 08:01:46

Hi Folks,

Could it be I've found a question that no-one can answer? :P

Cheers

G.

rastaman

21-01-2006 17:06:29

you need to use Paging Landscape SceneManager 2 in ogreaddons
the default terrain scene manager in ogre does not support what you are looking for. there is no entity or node for the geometry.
PLSM2 supports much bigger terrains as well.

GregH

21-01-2006 22:15:11

Thanks Rastaman,

Ok...it seems that the time that I spent on learning what I thought was "new stuff" was wasted on "old stuff" (or less-than-flexible stuff). Following your advice I'll now learn how to use PLSM2...

Is there any other part of OGRE I should ignore?

Cheers,

G.