|
|
Kenneth wrote:
> Can someone p*l*e*a*s*e explain why the following two examples show
> different slope pattern results? I have some theories, but they're all pure
> wacky guesswork.
>
> The first example shows the way the slope pattern worked succesfully for me
> (and it makes sense) : The pattern is applied over a previous (white)
> texture, and its red color fades to transparency as it reaches the opposite
> side of the sphere. Just what I wanted! But the second example--using the
> slope pattern alone--shows the red color appearing on BOTH sides of the
> sphere. Why so?
What you're seeing on the right side in the second scene is the back
surface of the sphere (through the transparent front surface). Its
normal points inward, and therefore the slope pattern value is between 0
and 0.5. Try replacing your sphere { 0, 1 } by a difference { sphere {
0, 1 } plane { -z, 0 } }.
-Christian
Post a reply to this message
|
|