A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Mon Dec 01, 2014 6:16 am
Hi guys,
Is it possible to translate, position, and/or rotate terrains?
Thanks in advance
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Tue Dec 02, 2014 9:41 pm
Hmm, can't be done?
c6burns
Beholder
Posts: 1511 Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 134
Quote
0
login to like this post
Post
by c6burns » Tue Dec 02, 2014 9:51 pm
You can set position on a terrain or set the origin of a terraingroup. I don't think you can rotate.
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Tue Dec 02, 2014 10:49 pm
Geez, that's a bummer
c6burns
Beholder
Posts: 1511 Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 134
Quote
0
login to like this post
Post
by c6burns » Tue Dec 02, 2014 10:54 pm
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.
Anthea
Kobold
Posts: 25 Joined: Tue Oct 28, 2014 1:03 pm
Quote
0
login to like this post
Post
by Anthea » Mon Dec 29, 2014 3:16 pm
why don't you rotate everything else instead, like your base scene node?
So, you would generate the feeling that your terrain is rotated.
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Mon Dec 29, 2014 9:16 pm
Because, I want multiple terrains on different axis.
Germanunkol
Halfling
Posts: 87 Joined: Mon Oct 11, 2010 6:39 pm
x 12
Quote
0
login to like this post
Post
by Germanunkol » Fri Jan 09, 2015 12:26 pm
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?
c6burns
Beholder
Posts: 1511 Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 134
Quote
0
login to like this post
Post
by c6burns » Fri Jan 09, 2015 3:52 pm
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.