POV-Ray : Newsgroups : povray.binaries.images : Odd Transformation : Re: Odd Transformation Server Time
20 Nov 2024 06:22:47 EST (-0500)
  Re: Odd Transformation  
From: Ghost
Date: 16 Jul 2003 10:49:55
Message: <3F1565EE.9BD902D8@duratechindustries.net>
Ack... now I see what I did.  I guess it never occurred to me that this would
happen.  Oh well, now I know!    Thanks guys!

Ghost wrote:

> Hi all.  Can someone help me understand why my translated and rotated
> grass would suddenly become airborne?  According to the Pov code, there
> is no transformation on the y-axis, and I don't ever rotate it upwards
> or downwards, either.  Attached is the picture and below is the
> pertinent code for the grass circle.
>
> #declare Rad=10;
> #declare R_V=0;
> #declare R3 = seed (27143);
> #declare R4 = seed (R3);
> #declare Offset1=-67+rand(R2)*6.357;
>
> #while(Rad > 0)
>   #local R_V = 0;
>   #while(R_V<360)
>     object{ Blade
>       translate rand(R4)*1.5+z*Rad
>       rotate y*R_V
>     }
>     #local R_V = R_V+300/Rad/10;
>   #end
>   #local Rad = Rad - 0.5;
> #end
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

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