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:13:56 EDT (-0400)
  Re: Once again - problem with large mesh  
From: "Jérôme M. Berger"
Date: 31 Mar 2005 12:44:11
Message: <424c36eb@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yadgar wrote:
| High!
|

|
|>     How much RAM do you have on your computer?
|
|
| Only 512 MB :-(
	That's probably a bit short for your scene, which explains the sudden
slowdown (when the computer runs out of RAM and starts to swap).

|
|>     Try something like this (untested):
|> ...
|> ~        #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!
	Sorry for the typo, "mtrix[a][b]" should be replaced by "data". The
array wastes the equivalent of 400*1200 mesh vertices so it must not
be used at all.

| 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!
	Is there an error message or does it just crash?

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCTDYgqIYJdJhyixIRAsvwAJ0XF8cHqFGx9Ed4+O4Y0hxQjJKhLACgsS9T
ZpFdgywpcsMQzy++lJg4CAQ=
=s8zG
-----END PGP SIGNATURE-----


Post a reply to this message

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