POV-Ray : Newsgroups : povray.general : Meshes and RAM. : Re: Meshes and RAM. Server Time
5 Aug 2024 12:19:27 EDT (-0400)
  Re: Meshes and RAM.  
From: Rafal 'Raf256' Maj
Date: 25 Sep 2002 16:31:23
Message: <Xns9294E4E76432Draf256com@204.213.191.226>
"Shay" <sah### [at] simcopartscom> wrote in news:3d9219ce@news.povray.org

>> A mesh with 500 000 vertices and 1 000 000 triangles uses 200 MB of
>> RAM. 
> OUCH!! Time to do some shopping and some re-thinking for my project.
> Thank you for the data.

BUT the power of POV-RAY is to use shapes to describe many 'triangles'

i.e. nice sphere can use 256x256 = 65536 triangles in triangles-based-
renderer

whiel in POV it is 1 shape  < 1 kB


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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