|
|
Dear Steve,
Thank you for your prompt help to my problem.
When I add the statements as you described, could I simply add those to the
end of the union block without removing the previous material statements--
more than 50 of them in the scene file --?
My newbie question is that:
Does the most recent material definition take effect ignoring those more
than fifty previous statements?
Thank you so much for your help.
Jong
"Steve" <ste### [at] zeroppsuklinuxnet> wrote in message
news:slr### [at] zero-ppslocaldomain...
> On Thu, 29 Nov 2001 12:45:30 +0900, Jong wrote:
> >Dear all,
> How about putting all of your cylinders inside a union and
> then giving the union one material, leav out any cylinders
> that you would like to be different.
>
> #declare CommonMaterial =
> material{
> material directives in there......
>
> }
>
>
> #declare Most_Of_The_Cylinders =
> union{
> cylinder.... rotate... translate...
> cylinder.... rotate... translate...
>
> material{CommonMaterial}
> }
>
> object{Most_Of_The_Cylinders rotate... translate... }
>
> Hope some of that helps.
>
> --
> Cheers
> Steve email mailto:ste### [at] zeroppsuklinuxnet
>
> %HAV-A-NICEDAY Error not enough coffee 0 pps.
>
> web http://www.zeropps.uklinux.net/
>
> or http://start.at/zero-pps
>
> 4:40am up 51 days, 20:24, 1 user, load average: 1.00, 1.04, 1.00
Post a reply to this message
|
|