POV-Ray : Newsgroups : povray.general : Radial specialists wanted : Re: Radial specialists wanted Server Time
2 Aug 2024 00:14:06 EDT (-0400)
  Re: Radial specialists wanted  
From: Mike Williams
Date: 22 Feb 2005 06:23:50
Message: <ZmnFmAA5YxGCFwS5@econym.demon.co.uk>
Wasn't it Alain who wrote:
>Thank you Mike to share your findings. It is like fresh air coming from a
>door that I did not realize it existed.
>
>I like your idea of getting rid off native radial (see my comments below).
>You get similar results to my best shot so far, which is :
>
>#declare MyP = pigment{ radial
>         frequency F
>         phase -(F/4+F+.5)
>         pigment_map {
>                [0.5 Black]
>                [0.5 White]}
>         }
>
>The black starts nicely at -z going
>anti-clockwise, except when F becomes N+]0,0.5[ . Then the start shifts
>continuously and join -z again when F becomes N+0.5. And it stays there
>until N+1. etc... This is annoying !!

But, as I said, that's simply because the end colour is the same as the
start colour. The colouring starts in the same place, but you can't see
the colour transition.

If you temporarily change it to 
         pigment_map {
                [0 Black]
                [1 White]}}
then you can see what's happening more clearly.


-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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