Page 1 of 1

Translate & rotate terrains

Posted: Mon Dec 01, 2014 6:16 am
by lonewolff
Hi guys,

Is it possible to translate, position, and/or rotate terrains?

Thanks in advance :)

Re: Translate & rotate terrains

Posted: Tue Dec 02, 2014 9:41 pm
by lonewolff
Hmm, can't be done?

Re: Translate & rotate terrains

Posted: Tue Dec 02, 2014 9:51 pm
by c6burns
You can set position on a terrain or set the origin of a terraingroup. I don't think you can rotate.

Re: Translate & rotate terrains

Posted: Tue Dec 02, 2014 10:49 pm
by lonewolff
Geez, that's a bummer :(

Re: Translate & rotate terrains

Posted: Tue Dec 02, 2014 10:54 pm
by c6burns
It's pretty common to not be able to rotate terrain on any of its axes. Try to do the same in Unity for example.

Re: Translate & rotate terrains

Posted: Mon Dec 29, 2014 3:16 pm
by Anthea
why don't you rotate everything else instead, like your base scene node?

So, you would generate the feeling that your terrain is rotated.

Re: Translate & rotate terrains

Posted: Mon Dec 29, 2014 9:16 pm
by lonewolff
Because, I want multiple terrains on different axis. ;)

Re: Translate & rotate terrains

Posted: Fri Jan 09, 2015 12:26 pm
by Germanunkol
Can anyone give more insight as to why it can't be rotated? I'm assuming it has to do with the internals of the Scene Manager and how it optimizes for terrains?

Re: Translate & rotate terrains

Posted: Fri Jan 09, 2015 3:52 pm
by c6burns
Optimizations to height retrieval and ray intersects as well as other benefits I'm sure ... being world axis aligned makes a lot of things easier. This isn't specific to Ogre terrain. None of the commercial middlewares allow you to arbitrarily rotate the terrain.