POV-Ray : Newsgroups : povray.general : mesh & memory ? : Re: mesh & memory ? Server Time
7 Aug 2024 21:18:19 EDT (-0400)
  Re: mesh & memory ?  
From: Warp
Date: 1 Jun 2001 07:08:31
Message: <3b1777af@news.povray.org>
ingo <ing### [at] homenl> wrote:
:  Is there a way to calculate the amount of memory a mesh, of say 500000 
: triangles, will take? 

  This depends a lot in the mesh itself. The more vertex points are shared
among the triangles, the less memory it will take.
  The worst-case scenario is when all triangles are separate (ie. they do
not share any vertex with other triangles).

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