|
|
Rune <run### [at] inamecom> wrote:
: AFAIK meshes, bicubic patches and perhaps iso-surfaces can be transformed
: nonlinearly. Or they could if there was functions in POV-ray that was
: designed to do this...
No, meshes and bicubic patches can't be transformed non-linearly.
If you apply a true non-linear transform to a mesh, that would bend the
individual triangles. This is very hard to do.
You can, however, move the vertex points (with the triangles still being
flat) to get the impression of a non-linear transform.
This, however, often introduces artifacts. With a very coarse mesh the
artifacts are more clear (just imagine trying to twist 180 degrees a cube
made of 12 triangles).
And besides, you can already do this with the PCM macros.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|