POV-Ray : Newsgroups : povray.binaries.scene-files : Once again - problem with large mesh : Re: Once again - problem with large mesh Server Time
1 Sep 2024 16:16:48 EDT (-0400)
  Re: Once again - problem with large mesh  
From: Yadgar
Date: 31 Mar 2005 06:25:13
Message: <424BDFD7.3090106@gmx.de>
High!



>     How much RAM do you have on your computer? 

Only 512 MB :-(

>     Try something like this (untested):
> 
> mesh2 {
> ~  vertex_vectors {
> ~    1200*1200,
> ~    #fopen matr "e:\homepage\n34e068-b.txt" read
> ~    #declare a = 0;
> ~    #while (a < 1200)
> ~      #declare b = 0;
> ~      #while (b < 1200)
> ~        #read (matr, data)
> ~        <(re+data) * sin ((sLong-b/1200) * (pi/180)) *
> ~         cos ((sLat - a/1200) * (pi/180)),
> ~         (rp+mtrix[a][b])*sin((sLat-a/1200)*(pi/180)),
> ~         (re+data) * cos ((sLong-b/1200) * (pi/180)) *
> ~         cos ((sLat-a/1200)*(pi/180))>,

This won't work, as the array elements need to be assigned before!
Also, after the last vector must not follow a comma!

I rewrote the script, parsing runs perfectly, very quick - but then 
(under Linux, I did not try it yet under Windows) the process is killed 
and nothing is rendered at all!

See you in Khyberspace!

Yadgar


Post a reply to this message

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