POV-Ray : Newsgroups : povray.newusers : General transformation of an object : Re: General transformation of an object Server Time
5 Oct 2024 15:23:08 EDT (-0400)
  Re: General transformation of an object  
From: Mike Williams
Date: 30 Oct 2009 16:16:17
Message: <AgzCGfCck06KFwBM@econym.demon.co.uk>
Wasn't it houmr who wrote:
>Hi! Is it possible to make a genetral transformation of an object in Povray in
>the way that I assign a new values (x',y',z') to the existing x,y,z coordinates
>of the object, according to some rule? E.g. I have the following: x'=x; y'=
>y+0.8*z*(y*z)/(300-z); z'=0.8*z . I was trying to play around with matrix, but
>it doesn't seem to be the way.

You can't perform non-linear transformations on general POV objects, but 
if you can express your object as an isosurface function you can perform 
non-linear variable substitution on that function.

http://www.econym.demon.co.uk/isotut/substitute.htm#nls

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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