|
 |
"ingo" <nomail@nomail> wrote:
> Does the starting point have to be an image? You can use a function in a HF.
> https://wiki.povray.org/content/Reference:Function_Pattern#Function_Image
Good to know, sorry that you lost your archive.
I've (ab)used splines in functions, but I don't know if I could do that in 2D to
get a heightfield.
I could use a function to make the HF, but I'm still presently at a loss for how
I'd modify the values at each <x, y> position, since I still can't make discrete
modifications, due to the nature of functions, etc. Going around in circles.
It seems like we _should_ have a way to "write" to the <x,y> pixel data stored
in memory after POV-Ray loads an image file, but we don't.
It also seems like we _should_ have a way to make images and HF's from a 2D
array, but we don't.
I guess I'll just bite the bullet and remember how to make a mesh, calculate the
normals, make smooth triangles..... {sigh}.
I was just hoping for an easier, lazier way.
- BW
Post a reply to this message
|
 |