Planetside Software Forums

General => Terragen Discussion => Topic started by: ethan on October 29, 2008, 07:13:40 PM

Title: camera rotation in Terragen
Post by: ethan on October 29, 2008, 07:13:40 PM
Hi again. Does anybody know the default camera rotation order in Terragen? ie - XYZ or YXZ or something else.

Thanks

-ethan
Title: Re: camera rotation in Terragen
Post by: darthvader on October 29, 2008, 09:19:25 PM
it is xyz
Title: Re: camera rotation in Terragen
Post by: Matt on October 30, 2008, 12:11:25 AM
The rotation order for camera and objects in TG2 is ZXY, which is Bank Pitch Heading. (X = Pitch, Y = Heading, Z = Bank.)

It may seem like it's in a different order if you've converted from a different coodinate system where Z is up, not Y. In TG2, Y is up. So in a source application where Z is up you would need to have that app's camera set to YXZ order (simply substituting Y for Z and vice versa in the above rotation order).

Matt
Title: Re: camera rotation in Terragen
Post by: ethan on October 30, 2008, 07:13:54 PM
Thanks for the info!