![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Shay <sah### [at] simcoparts com> wrote:
> I have about 350 megs of RAM. How many triangle faces will I likely be able
> to use in a scene?
It depends a lot in the mesh.
If all the triangles are separate (ie. they don't share vertex points with
any other triangle), then they will take more memory than if each triangle
shares each of its vertices with lots of other triangles.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote in message news:3d92096a@news.povray.org...
>
> It depends a lot in the mesh.
> If all the triangles are separate (ie. they don't share vertex points
with
> any other triangle), then they will take more memory than if each triangle
> shares each of its vertices with lots of other triangles.
>
I guess I should have asked how many vertices I might be able to use. Most
of my triangles share each vertex with 5 other triangles.
-Shay
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
A mesh with 500 000 vertices and 1 000 000 triangles uses 200 MB of RAM.
_____________
Kari Kivisalo
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Kari Kivisalo <pro### [at] luxlab com> wrote in message
news:3D921470.F20996FD@luxlab.com...
>
> 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.
-Shay
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Shay" <sah### [at] simcoparts com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wasn't it Shay who wrote:
>I have about 350 megs of RAM. How many triangle faces will I likely be able
>to use in a scene?
I've got 376Mb of RAM, and the highest number of faces that I've managed
to use in a scene at once without the memory starting to swap is
481,868,158.
Some of the mesh2 objects that appear in the scene occur more than once.
One of them occurs 14,030 times. The actual number of distinct triangle
faces in the source code is only 73,376.
The resulting image is at
<http://www.econym.demon.co.uk/pictures/thecorporation.jpg>
Peak memory used: 211,619,975 bytes
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I've got 376Mb of RAM, and the highest number of faces that I've managed
> to use in a scene at once without the memory starting to swap is
> 481,868,158.
>
yeah, but how many FACES? ;)
-tgq
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
How long did it take to render?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wasn't it Warp who wrote:
> How long did it take to render?
8 minutes 38.0 seconds on a 850MHz machine at 1024*768 with AA 0.3, of
which 34 seconds was parse time.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Williams <mik### [at] econym demon co uk> wrote:
> 8 minutes 38.0 seconds on a 850MHz machine at 1024*768 with AA 0.3, of
> which 34 seconds was parse time.
It would be really nice to know how this compares to other renderers.
I have absolutely no idea how fast other renderers are with these amounts
of triangles...
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |