William F Pokorny <ano### [at] anonymousorg> wrote:
> I'm attaching the scene file from the povr fork, but I'm 90% sure the
> method used will work for v3.7 and v3.8 official releases - if the povr
> inbuilt function 'f_range2range()' is replaced with whatever the SDL
> coded version is that is shipped with official POV-Ray releases. The
> name escapes me at the moment.
> Image on top is 'wrinkles' with noise_generator 2 and on the bottom with
> noise_generator 3 - FWIW.
> Bill P.
Well, there's a histogram macro in math.inc
Histogram(ValArr, Intervals): This macro declares a global, 2D array named
HistogramArray. The first value in the array is the center of the interval/bin,
the second the number of values in that interval.
ValArr = An array with values.
Intervals = The desired number of intervals/bins.
Not sure if that's what you were looking for.
Post a reply to this message