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