POV-Ray : Newsgroups : povray.newusers : Rendering memory limitations : Re: Rendering memory limitations Server Time
29 Jul 2024 00:33:01 EDT (-0400)
  Re: Rendering memory limitations  
From: Thomas de Groot
Date: 17 May 2007 08:17:28
Message: <464c47d8$1@news.povray.org>
"pirateprincess" <pir### [at] charternet> schreef in bericht 
news:web.464bdea734f9c3f4d5b864c00@news.povray.org...
>I have been working with .POV scenes generated from PyMOL (PDB crystal
> structure files).  I am trying to tesselate a specific crystal structure
> image across a plane and have utilized 15-20 copies of a simple DNA double
> helix.  The .POV file is roughly 30 megabytes.  I am working on a 
> quad-core
> G5 (Mac OS X 10.4.9, Pov-Ray 3.6.1 for Mac) with 4GB RAM and am receiving 
> an
> error that reads "Parse Error: Out of memory.  Cannot allocate 116 bytes 
> for
> finish.  File my_scene.pov line 665798"
>
> Are there simple ways to fix this problem?  Is more information needed to
> help diagnose the problem / suggest a solution?
>
I am not sure if I can help, but at least, there are a couple of questions.
1) I suppose your file is the one called my_scene.pov? Can you tell us what 
is written at and around line 665798 of that file? I assume it refers to a 
finish{} statement...
2) You use 15-20 copies of a simple DNA double helix. Are they referenced 
copies? or is the complete code just copied 15-20 times? That would account 
for the large file (and perhaps for the parse error, but I am not sure). To 
make a referenced copy of your helix, do the following:

#declare My_helix =
union {
  my DNA code
}
object {My_helix}
object {My_helix
  translate <my_x, my_y, my_z> or whatever transformation you need....
}
etc....

Thomas


Post a reply to this message

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