|
![](/i/fill.gif) |
web.417b843d992fb15717968a7d0@news.povray.org...
> Hello all, again
>
> After fixing the last problem of mine, I've now got another. I'm trying to
> render a protein molecule at high resolution, but it runs out of memory.
I don't know VMD but exporters are sometimes not optimal. For instance, it
could be that every primitive gets its own texture statement. With hundreds
of thousands of atoms, this alone could waste a lot of RAM. Having the
primitives grouped in several union{} and the textures applied to each group
would reduce the memory use.
For instance, the scene below uses 688 Mb when the texture is attached to
each sphere and 208 Mb when the texture is applied to the group.
union{
#declare i=0;
#while (i<1000000)
sphere{x*i*2,1
// texture{pigment{rgb x}}
}
#declare i=i+1;
#end
texture{pigment{rgb x}}
}
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
![](/i/fill.gif) |