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: ABX
Date: 20 Mar 2003 04:12:35
Message: <g71j7v8mn4ncrsc6uqrdq80tqqg32l6jop@4ax.com>
On Thu, 20 Mar 2003 09:53:43 +0100, HermanS <her### [at] pandorabeinvalid>
wrote:
> 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

rotate<0,90,0> is not transformation. You can't write:

#declare My_Rotation=rotate<0,90,0>;

You have to write 

#declare My_Rotation=transform{rotate<0,90,0>};

So you have to write

#declare q1 = vtransform(q10, transform{rotate<0,90,0>});

ABX


Post a reply to this message

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