Hello Gerrit,

On 19.10.2015 14:36, Johannes wrote:

> once again. I did a glance at the multisampling OpenGL technique and
> compared it to the OpenSG texture/FBO usage. As I see it, multisampling
> is currently not supported by OpenSG.

sorry, but that was plainly wrong! After inspecting the OpenSG code more 
carefully I must say that many multisampling things are already at the 
right place :-).

What I did not find was the texture image generation for multisampling.

I think that serious work has to be done in files

System/Depreciated/State/OSGTextureChunk.cpp
System/State/Base/OSGTextureObjChunk.cpp,


some additions
(GL_TEXTURE_2D_MULTISAMPLE,GL_TEXTURE_2D_ARRAY_MULTISAMPLE)
are required in:

System/Window/FrameBufferObjects/OSGLayeredTextureBuffer.cpp
System/Window/FrameBufferObjects/OSGTextureBuffer.cpp


I do not know what is necessary for these two

System/Window/Background/OSGTextureGrabBackground.cpp
System/Window/Foreground/OSGTextureGrabForeground.cpp


and what I also do not have understood if the following files work in 
case of a multisampling render context:

System/NodeCores/Groups/Effects/Projectors/OSGFishEyeProjector.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGDitherShadowMapHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGPCF2ShadowMapHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGPCFShadowMapHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGPerspectiveShadowMapHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGShadowStage.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGShadowTreeHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGStdShadowMapHandler.cpp
System/NodeCores/Groups/Effects/ShadowStage/OSGVarianceShadowMapHandler.cpp
System/NodeCores/Groups/Light/Shadow/Engines/OSGShaderShadowMapEngine.cpp
System/NodeCores/Groups/Light/Shadow/Engines/OSGSimpleShadowMapEngine.cpp


Once again sorry.

Best,
Johannes



------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to