Hi people,
I'm trying to line up height fields taken from geometry.
What i'm finding is that within Terragen I am able to match the dimensions of the original geometry via resising the height fields and setting the vertical limit.
The issue I run into is with the X and Z co-ordinates. When I use the same co-ordinates from an external app (Maya) I find within Terragen it doesn't line up.
I am suspecting it may be due to the fact Terragen is based on an actual globe and Maya is an infinite plane.
Any advise on the math of Terragen co-ordinate system, or how to resolve this would be rewarded with lollies :-)
Cheers
If the curvature of the planet is affecting the Y coordinate, go to the Displacement tab of the Heightfield Shader. Make sure that "Flattens surface first" is checked. Then to the right of "flatten surface first" there's a dropdown which defaults to "to Undisplaced Surface". Change this to "to Y = 0".
This shouldn't affect X and Z coordinates though. If it is, I will need to see more to know what's going on.
Matt
The solution that has worked for me is to flip the X axis.
A negative X value in Maya translates to a positive X in Terragen.
Curious to know if this is how Terragen works by default?
X should be the same, but Z usually needs to be reversed.