POV-Ray : Newsgroups : povray.advanced-users : rotating, translating POINTS : Re: rotating, translating POINTS Server Time
29 Jul 2024 02:28:31 EDT (-0400)
  Re: rotating, translating POINTS  
From: HermanS
Date: 20 Mar 2003 06:20:22
Message: <MPG.18e3c2681030bb7989685@news.povray.org>
ABX wrote:..
> 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
> 
Thank you for the help: it works.
Herman


Post a reply to this message

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