POV-Ray : Newsgroups : povray.advanced-users : Blend_Map problem : Re: Blend_Map problem Server Time
30 Jul 2024 14:24:56 EDT (-0400)
  Re: Blend_Map problem  
From: Jeff Lee
Date: 17 May 1999 16:08:06
Message: <37406916.0@news.povray.org>
par### [at] fwicom (Ron Parker) wrote:
>
> frame.h sets MAX_BLEND_MAP_ENTRIES to 256.

Well, that would explain it.  


> If you want an ugly workaround without 
> recompiling, you could probably use an extra layer of mapping like so:

> sphere {0, 1 
>   texture {
>     pigment {
>       gradient y pigment_map {
>         [.5 gradient y pigment_map {
>           [0 color red 1]
>           [.25 color rgb <1,1,0>]
>           [.5 color green 1] 
>           }]
>         [.5 gradient y pigment_map {
>           [.5 color green 1]
>           [.75 color rgb <0,1,1>]
>           [1 color blue 1]
>           }]  
>         }
>       }
>     finish {ambient .3}
>     }
>   }

Hmmm.  Interesting way of handling it!  And it may be ugly, but at least
it'll run on unmodified versions of POV-Ray.  Many thanks, Ron!


-- 
Jeff Lee         shi### [at] gatenet         http://www.gate.net/~shipbrk/


Post a reply to this message

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