POV-Ray : Newsgroups : povray.advanced-users : Stochastics expertise needed : Stochastics expertise needed Server Time
2 May 2024 07:44:37 EDT (-0400)
  Stochastics expertise needed  
From: clipka
Date: 25 Aug 2016 20:15:43
Message: <57bf8a2f$1@news.povray.org>
Folks, I could need a bit of help with a maths problem.

I need an algorithm to generate random points on the surface of a
sphere, conforming to the following criteria:

- The distribution must be radially symmetric around the Y axis.
- The sample density should be roughly uniform, except for a pronounced
peak centered at +Y (but not -Y!)
- For each random point generated, the algorithm also needs to compute
the theoretical sample density at that location.
- The algorithm must be reasonably fast.

Ideally, the algorithm should also have the following properties:

- The density should fall off smoothly from the peak.
- The algorithm should have a parameter to govern the "tightness" of the
peak.
- The sample density away from the peak should approach (but not reach!)
zero.


Post a reply to this message

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