POV-Ray : Newsgroups : povray.advanced-users : rotating, translating POINTS : Re: rotating, translating POINTS Server Time
29 Jul 2024 02:27:23 EDT (-0400)
  Re: rotating, translating POINTS  
From: HermanS
Date: 20 Mar 2003 03:53:40
Message: <MPG.18e3a005c79f1aba989684@news.povray.org>
ABX wrote:..
> On Wed, 19 Mar 2003 18:24:17 +0100, HermanS <her### [at] pandorabeinvalid>
> wrote:
> > It's easy to translate and rotate objects, but I'm looking for a method 
> > to transform POINTS.
> > Ex. I declare a cube using the coordinates of its vertices, then I 
> > transform all the vertices and I get a new object. I'm interested in the 
> > coordinates of the new vertices. Is this possible in POVRay using a 
> > matrix method?
> 
> vtransform from transforms.inc
> http://www.povray.org/documentation/view/281/
> 
> ABX
> 
Thank you, but clearly I don't use "vtransform" the right way.
I have declared a point q10 and then I use
#declare q1 = vtransform(q10, rotate<0,90,0>);
I get an error message "expected 2 parameters but only 1 found".
Herman


Post a reply to this message

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