POV-Ray : Newsgroups : povray.general : Request: deform : Re: Request: deform Server Time
8 Aug 2024 16:13:58 EDT (-0400)
  Re: Request: deform  
From: Warp
Date: 10 Jan 2001 05:49:23
Message: <3a5c3e32@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.