POV-Ray : Newsgroups : povray.unofficial.patches : Sampling in pov3.5 : Re: Sampling in pov3.5 Server Time
5 Jul 2024 14:17:43 EDT (-0400)
  Re: Sampling in pov3.5  
From: Christoph Hormann
Date: 3 Jan 2003 05:00:53
Message: <3E155F55.1A237A45@gmx.de>
Nathan Kopp wrote:
> 
> Does that really look like your every-day probability distribution funciton
> to you?  To me it looks like the points are much more evenly spaced than any
> distribution funciton I've ever seen.  Notice how at samples=50, the samples
> are in almost perfect rings, almost like a geodesic dome.  The points are
> also considerably more evenly spaced than in the Halton sequence, which
> itself is intended to be low-discrepancy.
> 
> Also, as far as I know, we don't have the source code that generated the
> existing 1600 samples.  The file "rad_data.cpp" containing the data is
> credited to Jim McElhiney.
> 

As discussed in the thread:

Subject: Radiosity flouroescent lighting troubles
Date: Tue, 19 Nov 2002 18:43:42 EST
From: "Rohan Bernett" <rox### [at] yahoocom>
Newsgroups: povray.advanced-users

it seems to be generated by projecting a distribution on a disc onto the
hemisphere.  I have made first tests with using Sim-POV to generate a
better distribution, some first results:

http://www.schunter.etc.tu-bs.de/~chris/files/samples_internal.png
http://www.schunter.etc.tu-bs.de/~chris/files/samples_simpov.png

Note that the new distribution has slightly more samples (1850) and i did
not test how well it follows the cosine theta distribution.  

Another thing i have been thinking of is if it would not be better to have
a uniform distribution but weight the sample rays according to cosine
theta.  At least it could be worth trying if that diminishes radiosity
artefacts in some situations.  Although it seems logical that you need
less samples where the samples have not much importance the density
approaching zero at the bottom rim of the hemisphere leads to an extremely
nonuniform distribution along the rim.  

Christoph

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


Post a reply to this message

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