Somebody correct me if I am wrong but I do believe that the texture
statements for your second and third objects should be inside the objects
{}.
i.e.
#declare Obj1=union{
mesh{
/* triangles */
texture{Gray}
}
cylinder{*cylinder definition* texture{Black} } // <= THIS
sphere{*sphere definition* texture{Black} } // <= AND THIS
}
I think this should sort your problem.
Dave
"Wlodzimierz ABX Skiba" <abx### [at] abx art pl> wrote in message
news:3abf3e11@news.povray.org...
> I'm not sure if it is bug or my misunderstand
> it's crosspost becouse I play with MegaPOV 0.7 but I'm not sure what is
its
> behavior in POV 3.1
> I have similiar syntax:
>
> #declare Obj1=union{
> mesh{
> /* triangles */
> texture{Gray}
> }
> cylinder{} // <= THIS
> sphere{} // <= AND THIS
> texture{Black}
> }
>
> #local Obj2=union{
> object{Obj1 tranformations}
> other objects
> texture{Gray}
> transformations
> }
>
> object{Obj2 texture{Gray} transformations}
>
> I think objects pointed as "THIS" should be Black but they appear as Gray.
Shoud
> I expect such behaviour? Can anybody confirm this behaviour?
>
> ABX
>
>
Post a reply to this message
|