|
|
Well, I just tried to do this, and it was rejected. I entered the
following to describe the texture of a CSG object:
texture { T_Stone9 phong 0.01 scale 0.08 }
and got the error message:
no matching } in texture, phong found instead.
So where should I put it?
Is that what you meant by my example "fall(ing) over?"
--Mark
"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 } }
>
> just as an example?
>
> Or would I have to copy in the relevant lines from the textures.inc file
> and make the modifications needed there? (And I guess re-declare the
> texture with a different name to avoid confusion?)
>
> TIA,
> Mark
Post a reply to this message
|
|