Quote from: cyphyr on March 09, 2022, 03:20:26 PMUnfortunately I don't even know what euclidean means in this instance.
However I do know that Terragen's accuracy diminishes the further one gets from the origin.
Yeah it does. I think this more impacts objects the most as they are defined, and have no adaption. So if the coordinates to each piece of the objects are super far from origin, all the mathing for their locations will lose precision. Which then, as we have seen, objects start breaking apart and doing weird things.
Euclidean distance is the distance (in a straight line basically) between two locations in 3D space, or Euclidean space in this instance:
https://en.wikipedia.org/wiki/Euclidean_distanceI am noticing issues with my system now, for example, if my radius for a spheroid populator is greater than 1e+06, the whole server will just throw a 500 error. PHP can't even give me an error on what exactly is wrong. Just whole server crashes for that request. Looking into using BCMath PHP extension, which works better for large numbers, and I can also define the scale of the numbers (decimal points). So I can match the exact scale TG is limited too.Which means all my mathing can be interpreted by TG as is without it rounding or my code rounding (which is more the latter right now).
Some more random info: The euclidean distance here, because it's a straight line from the point of origin defined by the user, we can easily check if a location is outside the radius they define to create a sphere of populations. Handy for craters on a planet, or stars, or fireflies, or whatever where you don't want a noticeable square to their shape with my cubeoid generator, which just simply checks if locations are greater than the define XYZ dimensions.