|
|
Nathan Kopp wrote:
>
> Ken <tyl### [at] pacbellnet> wrote...
> >
> > I can only guess by the "colored_smooth_triangle" that you are using
> > the include file by Chris Colefax. If that is the case it is not the
> > size of the file that is causing the problem. It is the proceedural
> > macros that calculate the colors and position of the triangles that
> > is consuming all of your memory.
>
> The macros and also the textures could be taking up memory. Chris's macros
> most likely generate one texture for each triangle, possible with layers
> (haven't looked at the code myself). That would consume a lot of memory.
>
> You may wish to test out MegaPov, which includes the smooth_color_triangle
> patch which allows such triangles to be rendered directly within a triangle
> mesh object, which could save lots of memory. If that does the trick, send
> a nice thank-you to Ansgar Philippsen, who wrote the patch (email in the
> MegaPov docs). :-)
>
> -Nathan
Even assuming that he is using the internal funtion would it not be safe to
assume that if you specify a seperate color for each corner of a triangle that
you would still comsume considerably larger amounts of memory than if you
were to texture the mesh seperately ? Seems to me like this feature would
require quite a few memory pointers to the color locations.
--
Wishing you Seasons Greetings, A Merry Christmas, and A Happy New Year !
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|