|
|
Warp wrote:
>> #declare Sphere = sphere { <0,0,0>, 1 pigment { rgb 1 } }
>> #declare Sphere_Child = sphere { Sphere pigment { rgb 0 } }
>
> That isn't even valid syntax. You probably meant "object { Sphere ...".
> And even then it doesn't work: The second object will be white too.
>
Well, I know it is a little off-topic but POV-Ray (POV-Ray 3.6 at least)
will happily parse the fragment
#declare Sphere = sphere { <0,0,0>, 1 pigment { rgb 1 } }
#declare Sphere_Child = sphere { Sphere pigment { rgb 0 } }
Or even some weirder things like
#declare Sphere = sphere { <0,0,0>, 1 pigment { rgb 1 } }
#declare Sphere_Child = box { Sphere pigment { rgb 0 } }
But I assume that it is just something unintentionally left behind in
the code of the parser.
Regards,
Hugo.
--
www.bishop3d.com
Post a reply to this message
|
|