|  |  | On Mon, 17 May 1999 12:49:24 GMT, Jeff Lee wrote:
>Hi, all,
>
>I'm trying to create a fairly complex texture, and past a certain point,
>POV-Ray complains with "error: Blend_Map too long".  How long can a
>"Blend_Map" be, and are there any ways around the limitations?  
frame.h sets MAX_BLEND_MAP_ENTRIES to 256.  You can probably increase
it and recompile POV-Ray.  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}
    }
  }
Post a reply to this message
 |  |