|
|
Tim Nikias v2.0 wrote:
> Hm. Then I'd make it a macro:
>
> #macro MyTorus_Macro(Light_Color)
> #declare MyTorus=[...]
> [In the lightsource, put "rgb Light_Color"]
> object{MyTorus}
> #end
>
> MyTorus_Macro(Blue)
> MyTorus_Macro(Orange)
>
> If you'd want to move it around, you can just add
> another parameter to the macor:
>
> #macro MyTorus_Macro(Light_Color,Position)
> #declare MyTorus=[...]
> object{MyTorus translate Position}
> #end
>
> Regards,
> Tim
Ah, thanks, that works wonderfully :) (yay my (with some help) macro)
Post a reply to this message
|
|