|
![](/i/fill.gif) |
You can do something like this:
#declare ObjectTransformations =
transform
{ // whichever combination of rotate and translate. Scale is not good.
}
camera
{ location CamLoc // Location of the camera when the object is at the origin
look_at 0
transform { ObjectTransformations }
}
object
{ MyObject // centered at the origin
// possible scale and other non-moving transformations here
transfrom { ObjectTransformations }
}
This has the same effect as if you had written something like:
union
{ camera
{ location CamLoc // Location of the camera when the object is at the origin
look_at 0
}
object
{ MyObject // centered at the origin
// possible scale and other non-moving transformations here
}
transfrom { ObjectTransformations }
}
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |