|
|
In article <3fa850c0@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> #declare LightLocation = 10*<rand(Seed), rand(Seed), rand(Seed)>-5;
> #while(vlength(LightLocation) > 5)
> #declare LightLocation = 10*<rand(Seed), rand(Seed), rand(Seed)>-5;
> #end
Or you could just use VRand_In_Sphere() in rand.inc.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|