POV-Ray : Newsgroups : povray.binaries.images : 11,000 Plastic Mouse Wheels (800 x 600, 293 KB) : Re: 11,000 Plastic Mouse Wheels (800 x 600, 293 KB) Server Time
19 Nov 2024 20:20:08 EST (-0500)
  Re: 11,000 Plastic Mouse Wheels (800 x 600, 293 KB)  
From: Slime
Date: 8 Nov 2001 18:18:11
Message: <3beb12b3$1@news.povray.org>
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] ndhnet> 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

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