[Help] Offset terrain nodes

sjcomp

01-02-2006 01:00:10

I would like to offset terrain by some value. How do I do that? For example if I want the point on the surface of the terrain to be in the 0,0,0 point in world coordinates.
Thanks.

tuan kuranes

01-02-2006 08:11:16

not sure of what you mean by "point of the surface" ?

You can move the whole landscape :

It's not coded for now but can easily be added, as it should just be added in PagingLandScapePage::init() just after each page scenenode creation.
(best would be using a scenemanager::setOption or a Config variable, being read and handled in PagingLandScapeOptions::TerrainOffset )

sjcomp

01-02-2006 22:38:46

Let's say that my terrain is representing a mountain range. I would like the top of the mountain in the center to be located at point 0,0,0. For that I have to shift the whole terrain down the Y axis.

setOption() sounds as a way to go for me. Who can do the patch for that?

Thank you.

jacmoe

02-02-2006 00:13:24

You can do the patch for that - and submit it to the patch submission system @ http://sourceforge.net/tracker/?func=ad ... tid=302997

You will have to register @ sourceforge first, and login to submit one.