POV-Ray : Newsgroups : povray.unofficial.patches : Problem with MegaPOV 0.7 (broken since 0.6A) : Re: Problem with MegaPOV 0.7 (broken since 0.6A) Server Time
1 Sep 2024 14:28:51 EDT (-0400)
  Re: Problem with MegaPOV 0.7 (broken since 0.6A)  
From: Mark Wagner
Date: 13 Mar 2001 23:57:34
Message: <3aaefa3e@news.povray.org>
John M. Dlugosz wrote in message <3aaebef8@news.povray.org>...

>Is it *possible* to port these textures over?  This is not a slight
roundoff
>problem or a "bug" -- this is the fractal function that they were designed
>for!  Just like we have several to choose from now, we still need the old
>one.  Maybe that's not what the function was meant to be when it was
>written, but what it *is* was appreciated by some and used as such.


To port color_maps/pigment_maps/whatever_maps from the old (clipped) noise3D
to the new (scaled) version, divide all map indices by 2 and add 0.25.  For
example,

color_map{
    [.2 rgb 1]
    [.5 rgb <1,1,0>]
    [.7 rgb <0,0,1>]
}

becomes

color_map{
    [.35 rgb 1]
    [.5  rgb <1,1,0>]
    [.6  rgb <0,0,1>]
}

--
Mark


Post a reply to this message

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