|
|
Yadgar <j.b### [at] ndhnet> wrote:
: Does that mean that I can save such an amount of memory even when I
: construct my standard "primitive" (e. g. a box) from triangles and then
: place and scale it randomly - or does it work only with *identical*
: copies?
As Peter said, you will not get too much saving from making one primitive
with a mesh and then copying it.
The real memory saving with meshes come when you can make a bigger mesh
(eg. one containing some hundreds or thousands of "primitives") and then
copy this bigger mesh.
Also note that this type of big mesh renders a lot faster than the
equivalent group of primitives.
You can apply transformations (scale, rotate and translate) to the copies
with no problems.
--
#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
|
|