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