|
![](/i/fill.gif) |
If you're placing the objects in a way similar to this:
#declare r = rand(myseed)*maxradius;
#declare angle = rand(myseed)*360;
translate vrotate(x*r,angle*y);
then you'll have to change the "r" statement to this in order to remove the
concentration:
#declare r = rand(myseed)^.5*maxradius;
And that should spread it out evenly.
- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]
"Yadgar" <j.b### [at] ndh net> wrote in message
news:3BEB0AA3.FCEB55FF@ndh.net...
> Hi Tracers!
>
> After removing my additional 64 megs module due to frequent crashes, I
> tested the performance with the remaining 256 megs (on an AMD K6-II/380
> MHz) by placing randomly 11, 000 of my plastic mouse wheels. Strangely,
> there is a concentration of objects near the origin (camera location is
> <0, 0.1, -0.4>, looking at <0, 0, 0>), though there are no quadratic
> terms containing the random variable...
>
> Rendering time: about 5:30 h, peak memory use: 309 megs
>
> The next step would be a collision detector...
>
> See you in Khyberspace -
> http://www.geocities.com/electricafghan/index-e.html
> Afghanistan Chronicle: http://www.ndh.net/home/bleimann/
>
> Yadgar
>
>
>
>
----------------------------------------------------------------------------
----
Post a reply to this message
|
![](/i/fill.gif) |