POV-Ray : Newsgroups : povray.advanced-users : Texture transition : Re: Texture transition Server Time
29 Jul 2024 00:26:39 EDT (-0400)
  Re: Texture transition  
From: Hughes, B 
Date: 1 Jun 2003 17:54:04
Message: <3eda75fc@news.povray.org>
"Andrew Coppin" <orp### [at] btinternetcom> wrote in message
news:3eda6530@news.povray.org...
> If I use the "planar" map, I get a texture that goes from one colour, to
> another, and back to the first again, creating a thin band of the
alternate
> colour. How do I make it so that everything above the line is one colour
and
> everything below it is another? (Still with the nice smooth transition in
> between.)
>
> What I want is for all points where y >= +100 to be red, all points where
y
> <= -100 to be blue, and the points inbetween to be linearly interpolated.
I
> can get red -> blue -> red, and I can get blue -> red -> blue, but how do
I
> get red -> blue?

I think you're describing the reversal of the pattern, opposite on either
side of the y plane. I can't think of any workaround except to translate and
scale (or vice versa).

Bob H.


Post a reply to this message

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