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