POV-Ray : Newsgroups : povray.general : Object oriented Povray? (Modifying existing objects) : Re: Object oriented Povray? (Modifying existing objects) Server Time
2 Aug 2024 00:13:35 EDT (-0400)
  Re: Object oriented Povray? (Modifying existing objects)  
From: Nicolas Alvarez
Date: 3 Mar 2005 13:48:32
Message: <42275c00@news.povray.org>

news:4223a681$1@news.povray.org...

>
> object {
> ball
> pigment {rgb <1, 0, 0>} //not sure that this will override the pigment
> statement in the #define'd ball
> }

No, it won't.

POV-Ray docs - section 3.4.6.2:

[...] The entire union can share a single texture but each object contained 
in the union may also have its own texture, which will override any texture 
statements in the parent object.


Post a reply to this message

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