POV-Ray : Newsgroups : povray.off-topic : So many colours : Re: So many colours Server Time
7 Sep 2024 01:23:31 EDT (-0400)
  Re: So many colours  
From: Alain
Date: 19 Sep 2008 15:17:20
Message: <48d3fac0@news.povray.org>
scott nous illumina en ce 2008-09-19 04:17 -->
>> How on earth do you draw something like that? 
> 
> Here's a good starting point...
> 
> plane{ z 2
>    pigment {
>      spherical
>      color_map {
>        [ 0.2   color rgb <0.2,0.5,0.05> ]
>        [ 0.3   color rgb <0.1,0.4,0.05> ]
>        [ 0.3   color rgb <0.15,0.6,0.02> ]
>        [ 0.33  color rgb <0.05,0.2,0> ]
>      }
>           scale 3.0
>      warp { turbulence 0.5 lambda 1.5 omega 0.3 }
>    }
>       finish{ambient 1}
> }
> 
If you want a repeating pattern, you can replace spherical by onion. Then you 
can make an animation using phase and changing the value from zero to one.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you read about an algorithm or 
datastructure and your first thought is: "How can I use this to speed up 
raytracing?"
Christoph Rieder


Post a reply to this message

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