Art,
>From what I can tell, the multisampling capability already exists in OSG via
>the Camera's attach function. However, when looking at the RenderStage code,
>you can see that a different FBO is created to handle the multisampled objects.
>From runCameraSetup() in RenderStage.cpp:
fbo_multisample->setAttachment(buffer,
osg::FrameBufferAttachment(new osg::RenderBuffer(
width, height, internalFormat,
samples, colorSamples)));
When multisampling is specified in the camera, a different FBO is set up that
specifically attaches to a RenderBuffer target (rather than directly to a
texture). I believe that internal FBOs in osgPPU would need to follow that
same type of mentality.
Does that help to clarify?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7339#7339
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org