POV-Ray : Newsgroups : povray.advanced-users : Random rotation don't work ? : Re: Random rotation don't work ? Server Time
29 Jul 2024 14:12:34 EDT (-0400)
  Re: Random rotation don't work ?  
From:
Date: 6 Mar 2002 07:28:09
Message: <em2c8ucfg1rhah4g5be4ru0hnpp7ntuufk@4ax.com>
On Wed, 6 Mar 2002 13:21:41 +0100, "_Light_Beam_" <fac### [at] aolcom> wrote:

> #declare R1 = seed(360);

Parameter of seed has nothing to do with angle.
360 should be placed here:

> rotate <rand(R1),>rand(R1), rand(R1)>}

rotate 360*<rand(R1),rand(R1), rand(R1)>

ABX
--
disc{z,-z 5#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;pigment{#local g=function(_){ceil(_)-_}function#local//X
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e>0)<O(),O()//AB
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//POV35


Post a reply to this message

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