Hi Andrew,

On 6/28/07, Andrew Straw <[EMAIL PROTECTED]> wrote:
Pardon my ignorance, but how to I set the color depth on an FBO? And why
did the default change since 1.2? (Or has it?)

It will probably be the same as the frame buffer.

The FBO code in the OSG is pretty well the same as in 1.2, osgViewer
is used instead of osgProduer though.  I would have thought that it'd
pick the same visuals, and certainly does on my Linux box.

I'm apparently getting 24 bits of color depth in my main
GraphicsContext, which I would've thought avoids this issue. But I guess
somehow my FBO may have less depth.

Is only the captured image you see problems with? Or is it on screen as well.

Apply your patch on and then running osgprerender --image results in
perfect images on my system - I do have a NVidia cards+drivers though,
as this may well be the difference, ATI driver are not known for their
quality.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to