POV-Ray : Newsgroups : povray.general : How to add attributes to pre-defined textures? : Re: How to add attributes to pre-defined textures? Server Time
4 Aug 2024 22:16:29 EDT (-0400)
  Re: How to add attributes to pre-defined textures?  
From: Andreas Kreisig
Date: 24 Jan 2003 09:36:38
Message: <3e314f75@news.povray.org>
Bonsai wrote:

> Andreas Kreisig wrote:
>> I didn't know how to add some attributes
>> to pre-defined textures.
>> 
>> I defined something like this:
>> #declare ma_bottle_fsh=material { M_Glass2 }
>> and want to add some bumpiness to the bottle,
> 
> Just add the attributes you want to the definition:
> 
> #declare ma_bottle_fsh =
> material {
> texture {
> M_Glass2
> 
> normal {
> dents
> }
> }
> }
> 
>> or I defined this:
>> #declare ma_chair_fsh=texture { T_Wood15 }
>> and want to add a shiny surface.
> 
> #declare ma_chair_fsh =
> texture {
> T_Wood15
> 
> finish {
> reflection 0.2
> }
> }
> 
> Hope that helps.
> 
> Bonsai

Yes, thanks!


-- 
http://www.render-zone.com


Post a reply to this message

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