POV-Ray : Newsgroups : povray.advanced-users : Stochastics expertise needed : Re: Stochastics expertise needed Server Time
1 May 2024 19:51:50 EDT (-0400)
  Re: Stochastics expertise needed  
From: Bald Eagle
Date: 26 Aug 2016 14:05:01
Message: <web.57c083f28629941bb488d9aa0@news.povray.org>
I see the "probability" aspect of this now...
no time to code it at the moment.

define a spline with a probability function
sparse near 0, denser near 1, maybe exponentially peaking at 1

choose rand between 0 and 1
pluck out y value from spline

then it's just a sphere in that y gradient


Post a reply to this message

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