POV-Ray : Newsgroups : povray.advanced-users : Unexpected behavior with modifying texture : Unexpected behavior with modifying texture Server Time
29 Jul 2024 14:16:37 EDT (-0400)
  Unexpected behavior with modifying texture  
From: Felix Wiemann
Date: 1 Feb 2002 06:24:04
Message: <3c5a7ad4$1@news.povray.org>
Hi,
I have a problem with modifying a layered texture. When changing the diffuse
of a layered texture, only one element of the texture is changed, but when
changing the reflection, the whole texture reflects.
Here's an example:

#include "colors.inc"
#include "stones.inc"
camera{location z*-2}
light_source{z*-2 rgb 1}

background{1}

plane{-z, 0
   texture{T_Stone25}
   finish{diffuse 2} //reflection
   }

As you will see, the plane is not (as one might expect) bright, but only one
element of the texture. If you delete the finish line, you see the texture
as it is normally. But when you write "reflection" instead of "diffuse", the
white background is reflected by the whole texture!
Can anyone explain this behavior of POV-Ray?
Felix Wiemann


Post a reply to this message

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