|
![](/i/fill.gif) |
> > #macro Fin(Dif, Amb, Spec, Rough, Refl)
> > finish {
> > diffuse Dif
> > ambient Amb
> > specular Spec
> > roughness Rough
> > reflection Refl
> > }
> > #end
>
No need for all that. Just create an include with macros along the lines
of:
#macro fin() finish #end
and use it like:
fin() { ambient 0 diffuse .3 reflection { .2 .4 } metallic .7 brilliance
1.2 }
no need to pass arguments at all and would use only one extra character
beyond the "@fin" you suggested.
I personally have no use for it as I'm perfectly comfortable with the
current syntax. And that whole "@@" thing just weirds me out.
-tgq
Post a reply to this message
|
![](/i/fill.gif) |