POV-Ray : Newsgroups : povray.binaries.images : No color from image_map pigment : Re: No color from image_map pigment Server Time
26 Sep 2024 17:44:12 EDT (-0400)
  Re: No color from image_map pigment  
From: jceddy
Date: 24 Sep 2013 11:15:00
Message: <web.5241ac2da1609435314aa6840@news.povray.org>
You are correct, I just had to pull the pigment_pattern block out completely...I
knew it was something simple.

This works:

box {
  <-12, -7, -0.1>, <12, 7, 0.1>

  texture {
    pigment {
      gradient x
      pigment_map {
        [0.00 Red_Texture]
        [0.25 Red_Texture]
        [0.75 White_Texture]
        [1.00 White_Texture]
      }

      translate <0.5, 0.5, 0>
      rotate 180*y
      scale <24, 14, 1>
    }
    finish {
      ambient 1
      diffuse 0
    }
  }
}


Post a reply to this message

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