POV-Ray : Newsgroups : povray.newusers : General transformation of an object : Re: General transformation of an object Server Time
5 Oct 2024 15:41:24 EDT (-0400)
  Re: General transformation of an object  
From: clipka
Date: 30 Oct 2009 12:59:05
Message: <4aeb1b59$1@news.povray.org>
houmr schrieb:

> 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.

No, POV-Ray only supports affine transformations, i.e. any 
transformations where each new coordinate is some linear combination of 
the original coordinates and some constant.

Some people have experimented with "slicing" the object to be 
transformed, and transforming each slice with a different matrix. 
Another approach would be to convert the object to an isosurface (much 
work has been done in this direction recently), and then use that to 
define another arbitrarily-transformed variant of the object.


Post a reply to this message

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