POV-Ray : Newsgroups : povray.unofficial.patches : 32000 radio samples (there we go again) : Re: 32000 radio samples (there we go again) Server Time
1 Jul 2024 04:22:56 EDT (-0400)
  Re: 32000 radio samples (there we go again)  
From: Christoph Hormann
Date: 10 Apr 2003 06:27:04
Message: <3E9546F8.B7B3B487@gmx.de>
Apache wrote:
> 
> The method is far from perfect, but here is the c code I wrote. I have been
> thinking of a better way, because there there are some faint plateaus in the
> distribution and we don't want that. I guess some smart jittering will get
> rid of the plateaus. The algorithm is VERY SLOW, so I'm afraid that coding
> it in pov SDL is completely useless!
> 
> (Code attached to this post. file extension is .cpp, but the code itself is
> ANSI C.)

You know you should not post binary attachments in a non binary group...

Apart from that - it looks like a regular distribution.  No matter how
uniform it is this is usually a bad idea.  Most of the computations seems
to be required for sorting the samples - this can be removed when you
generate the precise number of samples you need.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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