POV-Ray : Newsgroups : povray.general : How to alter existing texture? : Re: How to alter existing texture? Server Time
19 Apr 2024 06:01:40 EDT (-0400)
  Re: How to alter existing texture?  
From: Kenneth
Date: 20 Dec 2021 05:40:00
Message: <web.61c05d57f25cddba4cef624e6e066e29@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
>
> Personally, I *would* hand-edit the original texture instead-- by simply
> reducing its finish{diffuse...} value--  then re-#declare it as a separate
> texture.

Well, I didn't actually *look* at the T_Stone29 texture in the 'stones2.inc'
include file, before commenting; I see now that it's a multi-part texture, and
with NO finish{...} block(s). So I guess it uses POV-Ray's default finish
attributes for its various textures.

SO... I thought that there might be an easy way to hand-edit T_Stone29, from
within your scene:

#declare T_Stone29_DARK =
texture{T_Stone29 finish{diffuse .5}} // or whatever darker finish you want

.... the idea being to override the default 'diffuse' values. However, this seems
to override the diffuse value in only the 3rd (final) texture of the three
textures in T_Stone29. So that's a non-starter :-/

It seems to me that 'stones2.inc' is inconsistent in its uses of finish{...}
statements. Personally, I would ADD finish{...} blocks to ALL of the textures
there, not just the few that have it.

-----
By the way: I also see that 'stones2.inc' does not even run in a scene without
'colors.inc' also being included-- because of a missing definition for the
'Clear' color which is defined in colors.inc.


Post a reply to this message

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