Carsten Neumann wrote: > Hello Michael, > > Michael Babcock wrote: >> I need to save the alpha channel to images rendered using OpenSG (1.8 >> recent cvs). I'm using a FileGrabForeground and it works fine with a >> normal Viewport. >> [snip] >> So instead I changed the color map texture from GL_RGB to GL_RGBA and >> modified the shadow_combine shader to pass through the alpha instead of >> overwriting it. >> [snip]
> thank you for sending the patch. I'm somewhat tempted to just apply it > and make this the default, but since it may increase graphics memory > consumption [1] and so far you are the first to need the alpha passed > through, I'm a little uncertain. > Dirk or anybody else here have an opinion on this? Thanks. > > [1] not sure if it really needs more memory on the graphics card since > i'd almost expect the card to use padding to make sure the RGB triples > are 4 byte aligned. This is what I fairly sure about. I don't think it will change memory usage one bit. And if it does, it seems fairly minor (33% of FB for the shadow viewport, which aren't that many anyway, compared to textures & geometry). Cheers, /Marcus ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
