Hello Josef,

On 01/26/2011 01:52 AM, Josef Grunig wrote:
> I was curious about how to enable Multi Sampling in OpenSG2 with FBO?
> I tryied the RenderOptions class or enabling it manually by calling
> glEnable(GL_MULTISAMPLE); with no success.
> Context is correctly initialized...

for an FBO to use multisampling the attached buffers would need to be 
created with glRenderBufferStorageMultisample() and 
glTexImage?DMultisample() respectively.
There is currently no support built into OSG::RenderBuffer and 
OSG::TextureBuffer for these though, sorry. At least for 
OSG::RenderBuffer it should not be very difficult to add this, for 
OSG::TextureBuffer it would be a bit more tricky, mostly because you 
would have to touch OSG::TextureObjChunk which already deals with a lot 
of cases.

> Is that possible? Googleing I found some post about performance issues
> regarding MSAA and FBO...

hmm, don't know about this, I've not really used MSAA on an FBO.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to