POV-Ray : Newsgroups : povray.advanced-users : Ever worry about it all crashing down? : Re: Ever worry about it all crashing down? Server Time
26 Sep 2024 23:35:36 EDT (-0400)
  Re: Ever worry about it all crashing down?  
From: Warp
Date: 13 Nov 2001 16:06:59
Message: <3bf18b72@news.povray.org>
As always, if you have a group of cylinders which repeats itself a lot,
you can model a cylinder with smooth triangles and then make this group as
a mesh containing all those triangles approximating the cylinders. Then
you can copy this mesh exactly as you had copied the original group of
cylinders.
  The bigger the group and the more you can copy it, the more you'll save
memory. The rendering speed should increase more or less as well.

-- 
#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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.