|
|
Hugo <hug### [at] yahoocombr> wrote:
> #declare Sphere = sphere { <0,0,0>, 1 pigment { rgb 1 } }
> #declare Sphere_Child = sphere { Sphere pigment { rgb 0 } }
>
> But I assume that it is just something unintentionally left behind in
> the code of the parser.
I don't think so: i believe it's intentional it makes perfect sense. You
define an object with a texture and then later modify a few more
attributes. It's like in Ruby where you can later "open" a class
definition and modify some methods or something. You can declare an object
with a default texture and later, when actually using it, altering the
pigment, or finish or the whole texture altogether...
Post a reply to this message
|
|