How can I write a macro that creates a layaered texture, since
#macro foo
texture {}
texture {}
#end
#declare mytext1 = foo()
is a syntax error (it works fine with one texture in foo)
--
Cytat tygodnia:
Hi Jaime,
this looks very fine. I understand why you use #local t_result,
But why #local dummy=0; is there????
Pascal.
...............
Tengo la opportunidad, entonces te lo digo:
Me gusta mucho tu trabajo.
chaps wrote:
> Hi Jaime,> > this looks very fine. I understand why you use #local t_result,> > But why #local dummy=0; is there????
It's just to avoid POV-Ray interpreting the result as the 3rd layer
of the declared texture. :)
> Tengo la opportunidad, entonces te lo digo:> > Me gusta mucho tu trabajo.
Gracias!
--
Jaime