|
![](/i/fill.gif) |
> The idea of reusing an object with little additional memory cost relates
> to objects that themselves have components such as the mesh{} object and
> the blob{} object. But the initial declaration of a mesh{}, say, will
> require lots of memory if it is comprised of many triangles. However
> once declared, it can be instanced multiple times without additionally
> multiplying the memory needs.
> IE.
> #declare M =
> mesh {
> triangle {...},
> triangle {...},
> ...
> triangle {...}
> };
>
> LOOP
> object { M transform {...} }
> END LOOP
>
>
> BUT
> This effect cannot be achieved by unioning a group of objects:
>
> #declare U =
> union {
> triangle {...},
> triangle {...},
> ...
> triangle {...}
> };
>
> LOOP
> object { U transform {...} }
> END LOOP
> would multiply the memory cost
ok so if I have a object consistent of several parts I do normally union
to move them around, I need to not union them and move them all seperate
right?
REgards,
THor
Post a reply to this message
|
![](/i/fill.gif) |