Thomas de Groot <tho### [at] degrootorg> wrote:
> Impressive. Good work. Depending on the ultimate use, one can opt for
> the bump_map or the displacement_map.
Yes - and believe it or not, the max gradient is less than 3, so it actually
renders surprisingly fast.
The real plan is to convert the elevation of what would normally be a
rectangular heighfield into the radius values for the spherical coordinate
At the very least for the corners and centers of the tiles - so that Everest and
Death valley aren't at the same elevation. ;)
But while I'm at it, why not do splines for edges, wireframe, and
> The displacement_map looks very
> good: down to what level of detail?
4320x2160 / [180x90] = 12x12 degrees lat/long x ~69 miles per degree
is about 828 miles square = 1332 meters per pixel
So, not terribly detailed, but it does look good - I'm only using 0.01 for a
multiplier of the elevation. So it can be made much more dramatic ;)
It's quite rough - like a non-smooth heightfield, which is perfect for
extracting the spline data, but for a displacement map used like this, a 3x3
convolution, Gaussian blur, or something like that could possibly make it look a
As far as I know, this was the only way to get a "spherical heightfield".
If there are other ways to do this - I'd love to know!
Post a reply to this message