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 20:22:06 EDT (-0400)
  Re: Problem with MegaPOV 0.7 (broken since 0.6A)  
From: Nathan Kopp
Date: 14 Mar 2001 23:40:43
Message: <3ab047cb$1@news.povray.org>
"Mark Wagner" <mar### [at] gtenet> wrote g...
> 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

This formula works for bozo, which is a direct use of noise.  However,
granite uses multiple iterations of noise, so this doesn't work.  However,
you can get very close results by simply dividing all indices by 2 and NOT
adding the 0.25.

For granite, the converted example should look like this:
color_map{
    [.1 rgb 1]
    [.25  rgb <1,1,0>]
    [.35  rgb <0,0,1>]
}

I tested this and it works great for T_Grnt9.

Also, make sure to convert rgbf to rgbt if layered textures with filter are
being used (not necessary for T_Grnt9).

-Nathan

> 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>]
> }


Post a reply to this message

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