Author Topic: camera moving  (Read 1723 times)

Offline :)

  • Member
  • *
  • Posts: 123
camera moving
« on: August 23, 2011, 06:29:23 PM »
Is there a way to quickly move the camera to a particular geo-referenced set of co-ords to find a terrain?

I have the geo-co-ords but it doesn't seem to relate to the camera co-ords in any way. the geo location is a lat and lon but the camera position has 3 variables, are 2 of these the lat and lon? and if so which ones??

Offline airflamesred

  • Member
  • *
  • Posts: 294
Re: camera moving
« Reply #1 on: August 23, 2011, 08:56:56 PM »
Latitude would be a combination of X and Y coords and longditude would be a combination of Z and Y, for example. How large is your terrain?

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3343
  • I'm the crazy one
Re: camera moving
« Reply #2 on: August 24, 2011, 07:07:09 AM »
The camera position is in XYZ coordinates. There isn't a quick and simple way to find the XYZ coordinates of a particular lat-long coordinate in Terragen. You'd need to use some maths. However, I'm guessing from your question that maybe you've brought in some geo-referenced terrain and it's nowhere in sight, and that you just want to bring it into view. In that case, there's a way to set up your scene in Terragen so that a particular lat-long is centred at the 0,0,0 coordinates (the origin) in the Terragen world. so that any terrain appearing at that lat-long will be centred around 0,0,0 in XYZ. To do this, copy the lat-long coordinates you're interested in and enter (or paste) them into the Planet object's Lat-long at apex parameter. Now, as long as the camera is not too far from the origin, which shouldn't be a problem if you're working with the default scene, you should be able to see the terrain.

Matt
« Last Edit: August 24, 2011, 07:10:17 AM by Matt »
Just because milk is white doesn't mean that clouds are made of milk.

 

anything