|
|
Can somebody tell me how to get the following concept to work...
macro ShapeMacro(Nums,Data)
prism{ linear_sweep linear_spline 0,70,Nums,Data texture
{pigment{color Red}}}
#end
# object {ShapeMacro (4),(<2107,1480>,<2105,1481>,<2104,1480>,<2107,1480> )}
The problem occurs in trying to split the number of sides and the data
coordinates.
Is there a way around this ?
I have a very long list of objects that will be generated by an outside
source and need to use a macro format rather than building each element
separately.
Thanks
David
Post a reply to this message
|
|