"Leroy" <whe### [at] gmail com> wrote:
> I made a Mesh2 with 12800 triangles and 81*81 pov units square.
Very very nice!
I always wondered why POV-Ray does not interpolate the image for height fields,
as it can for image_maps. It is one of the reasons I wrote my curves.inc. The
idea to use it to interpolate images with different splines to vary the HF
output. Imagine using a TCB spline and vary the tension of the curvature.
But then I got side tracked by doing the curves.nim version and povmesh.nim to
speed things up a lot, but never got to create any proper HF mesh with it.
curve.inc:
https://ingoogni.nl/download/
curve.nim:
https://gist.github.com/ingoogni/490d2d50710bab4fe5e689714e9ef287
(the Nim version has better explanation of what the various parameters do than
the inc file)
povmesh.nim:
https://gist.github.com/ingoogni/ca030e955daf7f8138cedfe488ca0013
ingo
Post a reply to this message
|