Centering camera to GeoTIFFs?

Started by briareos_kerensky, January 22, 2015, 03:26:53 AM

Previous topic - Next topic

briareos_kerensky

I'm using a bunch of GeoTIFFs to create my terrain, with tiles placed on their real-world position on Terragen's planet; if I uncheck the "Georeference" and "Auto georeference from file" options the tile is set where the starting camera and terrain objects are, but I was wondering if there's a way to automatically move a camera to the tile created by the GeoTIFF without either moving the default camera or manually moving the point of view to the tile.

Oshyan

It's not perfect, but right-click in the 3D preview and choose Center on Object or Shader and select your GeoTIFF loader from the list. The camera may end up at some strange orientation to the planet, depending on where your terrain is, but it gets you in the general area at least.

- Oshyan

briareos_kerensky

It kinda worked. You were right about the strange camera position, but I also noticed that the GeoTIFFs would be rotated 180° on the Y axis for some strange reason, and that all extra elements would be placed in the starting terrain anyway, so I ended up in moving he GeoTIFFs centered around the initial position.

Oshyan

That is generally the best approach at this point, if there are no workflow issues for you with moving the georef points.

- Oshyan

Tangled-Universe

If I'm correct you can set "lat/long apex" of the planet to the same lat/long coordinates of your GeoTIFF georeferenced heightfied.
This will shift the 0,0,0 coordinates (apex) of the planet to your heightfield.