POV-Ray : Newsgroups : povray.newusers : Memory parse error : Re: Memory parse error Server Time
29 Jul 2024 10:30:09 EDT (-0400)
  Re: Memory parse error  
From: Alain
Date: 24 Aug 2006 20:11:25
Message: <44ee402d$1@news.povray.org>
Mike8 nous apporta ses lumieres en ce 24/08/2006 16:49:
> Hello all,
> 
>    Well, even after giving POV-ray an extra gigabyte of virtual memory the
> file will not render. The program simply eats the extra memory and says
> 'Out of memory. Cannot allocate 256 bytes for transform'. I don't know what
> to do at this point, so if I posted  the file somewhere would you examine
> it? Perhaps you can find something I missed. This is some information that
> the message window displayed on the render:
> Line: 232177
> File Context (5 lines):
> object { atlas matrix <1,0,0,0,1,0,0,0,1,1960,-592,1880> #if (version >=
> 3.1) material #else texture #end { Color7 } }
>  object { atlas matrix <1,0,0,0,1,0,0,0,1,-2880,-592,1880> #if (version >=
> 3.1) material #else texture #end { Color7 } }
>  object { atlas matrix <1,0,0,0,1,0,0,0,1,40,-1568,5545> #if (version >=
> 3.1) material #else texture #end { Color7 } }
> //
> }
> (atlas is a sub model in the scene)
> The offending line is the third line displayed above. I hope you can make
> sense of this, I haven't a clue what to do now. Thanks for your help,
>    Michael
> 
> 
> 
Is "atlas" a mesh? If so, try reducing the number of faces. You also may want to 
reduce the precision to 3 or 4 decimal places, usualy, more than that is not 
nessesary.
If it's a complex object, look to see if it can be simplified.
Those matrix are only used as a convoluted translate.
What is the deffinition of Color7? A texture or a full material? A material 
contains a full texture PLUS an interior block that can contain one or several 
media.
Applying the same texture or material to all those objects is wastfull, better 
to group them all in an union and apply the texture or material to the union. 
This will use less memory, possibly a lot less if you have 100's or 1000's of 
objects.
You may want to use a text editor to change
#if (version >= 3.1) material #else texture #end { Color7 } }
to
texture{Color7}} or material{Color7}}


-- 
Alain
-------------------------------------------------
Don't argue with an idiot; people watching may not be able to tell the difference.


Post a reply to this message

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