|
![](/i/fill.gif) |
Chris, many of us gave up maths a long time ago and even then, in my case, I
didn't go much beyond what was then in England "O"levels. I have spent most
of my life as a painter, sculptor and teacher. I have a longing to go back
and try and catch up and when I retire it will be my first act. Until then I
will have to rely on asking you and others for help. Sorry!
Mick
"Chris Huff" <chr### [at] mac com> wrote in message
news:chrishuff-E4E0EF.12124009082000@news.povray.org...
> In article <3990DBEA.BE182729@pacbell.net>, lin### [at] povray org
> wrote:
>
> > It looks like something the "average" POV-Ray user would never be
> > able to come up with on his/her own.
>
> I just don't understand why not, pattern functions seemed the natural
> choice, and the function is quite simple. Maybe it would be more easily
> understood this way:
>
>
> file://clamps the value x to the range [y,z]
> #declare clamp = function {max(y,min(z,x))}
>
> file://old style bozo, complete with plateaus
> #declare OldBozo =
> function {clamp(noise3d(x,y,z)/0.48985582 - 1.05242 + 0.5, 0, 1)}
>
> Or are you talking about the "noise3d(x,y,z)/0.48985582 - 1.05242 + 0.5"
> part? That was just the mapping copied from Nathans post.
>
> --
> Christopher James Huff - Personal e-mail: chr### [at] mac com
> TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
> Personal Web page: http://homepage.mac.com/chrishuff/
> TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |