|
|
Still not succeeding with the texture macro (while I know how to use
macros for other things). Here is, what I have. Doesn't work the one or
other way.
#macro MyYellowSimpleDir(MyOrientation)
#if(MyOrientation="X")
// #declare MyYellowSimple =
texture { MyYellowWood rotate < 00.0, 00.0, 90.0 > rotate < 00.0,
00.0, 00.0 > }
texture { MyYellowSimple }
// ;
#elseif(MyOrientation="Y")
// #declare MyYellowSimple =
texture { MyYellowWood rotate < 0.0, 0.0, 00.0 > rotate < 00.0, 00.0,
00.0 > }
texture { MyYellowSimple }
// ;
#elseif(MyOrientation="Z")
// #declare MyYellowSimple =
texture { MyYellowWood rotate < 0.0, 0.0, 90.0 > rotate < 00.0, 00.0,
00.0 > }
texture { MyYellowSimple }
// ;
#end
#end
---
http://www.avg.com
Post a reply to this message
|
|