|
![](/i/fill.gif) |
Greg M. Johnson <"gregj;-)56590""@aol.c;-)om> wrote in message
<38ebfafb$1@news.povray.org>...
>How do I set up something that is black on the left and white on the
>right? Before you answer, I want the demarcation at x=0, and the max &
>min extent in x can vary wildly, and it's a BLOB!
>The following solution won't work, because it is reflected over the x=0
>plane.
Try this:
pigment
gradient x
pigment_map{
[0 Black]
[0.5 Black]
[0.5 White]
[1 White]
}
translate x*-0.5 /* Center the map */
scale <10000,1,1> /* Make this as large as you want */
}
/* Mark */
Post a reply to this message
|
![](/i/fill.gif) |