POV-Ray : Newsgroups : povray.advanced-users : Unexpected behavior with modifying texture Server Time
25 Nov 2024 21:43:25 EST (-0500)
  Unexpected behavior with modifying texture (Message 1 to 5 of 5)  
From: Felix Wiemann
Subject: Unexpected behavior with modifying texture
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

From: Felix Wiemann
Subject: Re: Unexpected behavior with modifying texture
Date: 2 Feb 2002 07:06:38
Message: <3c5bd64e@news.povray.org>
May I ask:
Have I described the problem properly? Has anyone tested this? Perhaps I'll
post this into beta-test, but I must be sure that there are experienced
users who can't explain this.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Unexpected behavior with modifying texture
Date: 2 Feb 2002 07:12:32
Message: <3c5bd7b0@news.povray.org>
Felix Wiemann wrote:

> May I ask:
> Have I described the problem properly? Has anyone tested this? Perhaps
> I'll post this into beta-test, but I must be sure that there are
> experienced users who can't explain this.

  This is nomal behavior: the top layer has clear parts which can show up 
due to finish properties. Note these clear parts on povray textures still 
have a finish: they aren't no-texture zones. You need another aproach to 
this, as someone mentioned before: texture_maps!
-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

From: Felix Wiemann
Subject: Re: Unexpected behavior with modifying texture
Date: 3 Feb 2002 06:47:55
Message: <3c5d236b@news.povray.org>
>   This is nomal behavior: the top layer has clear parts which can show up
> due to finish properties. Note these clear parts on povray textures still
> have a finish: they aren't no-texture zones. You need another aproach to
> this, as someone mentioned before: texture_maps!

Thank you! But how can I change the finish of the whole texture (in a
different way than inline or with #default)? Is there a possiblity at all?


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Unexpected behavior with modifying texture
Date: 3 Feb 2002 17:29:56
Message: <3c5db9e3@news.povray.org>
Felix Wiemann wrote:

>>   This is nomal behavior: the top layer has clear parts which can show up
>> due to finish properties. Note these clear parts on povray textures still
>> have a finish: they aren't no-texture zones. You need another aproach to
>> this, as someone mentioned before: texture_maps!
> 
> Thank you! But how can I change the finish of the whole texture (in a
> different way than inline or with #default)? Is there a possiblity at all?

  You need to tweak individually each layer. I will start copying the code 
from stones.inc and then changing each layer as desired.  Nothing better to 
learn than muddling with the examples and standard includes... I never use 
any other thing, except the manual when I do not understand the code I'm 
looking to.

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

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