|
|
David Burnett wrote:
>
> [...]
>
> All this came from a uv_mapped 2D pigment function that I wanted to try
> using as iso_function to 'displace' a sphere, to give that extra inch of
> realism over using it as a normal function.
This has nothing to do with what i mentioned. You can't use uv-mapping
for a displacement function since UV coordinates are only available on the
surface (i.e. in textures). You could generalize that to uvw-coordinates
but that would require elementary changes and would only work for certain
very basic objects.
Using angular coordinates for displacing the surface of a sphere is no
problem with the current function syntax.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|