POV-Ray : Newsgroups : povray.newusers : Texture overriding? : Re: Texture overriding? Server Time
4 Nov 2024 14:19:32 EST (-0500)
  Re: Texture overriding?  
From: bruce
Date: 21 Mar 2002 12:31:38
Message: <slrna9k6ol.1kb.bruce@pingouin.rez-gif.supelec.fr>
In article <3C9A12CD.B576E30A@ncsl.dcr.state.nc.us>, Mark M. Wilson wrote:
> Is it possible to override the phong or other characteristic of a
> texture from an include file?  Say for instance I wanted to reduce the
> default reflectivity of a polished marble texture -- could I simply:
> 
> #include "stones.inc" (at top of pov file, of course)
> 
> [...]
> 
> object { whatever texture { T_Stone8 phong 0.001 scale 0.08 } }
>

of course you  can, the last statement always oiverride the previous. But I
think that if you add finish{phong 0.01}, you'll override all other data
about finish, and I'm not sure that's exactly what you want!

	-- Bruce


Post a reply to this message

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