Skip to content

Scene freezes when combining the VDSM in osgShadow and (pe)ssao implementation in effectcompositor #15

@wqxhouse

Description

@wqxhouse

Hi Rui,

I tried to make the effectcompositor work by running those examples (colorgrading.xml, ssao.xml, etc.) However, when I enabled both --shadowed argument and (pe)ssao.xml, the scene just freezed in the first frame, without producing useful debugging information.

I just used the default file osgeffectcompositor.cpp to run the examples without changing any other settings. I tried on both GTX580 and intel HD4400 (with both windows 8.1 and mac os 10 on HD4400) with osg 3.2.1 and 3.2.2 release build. Both of them exposed the same issue.

Linking osg::Program "SSAO_Combining" id=7 contextID=0
    Uniform "sceneTex" loc=0 size=1 type=sampler2D
    Uniform "viewportHeight" loc=1 size=1 type=float
    Uniform "aoTex" loc=2 size=1 type=sampler2D
    Uniform "viewportWidth" loc=3 size=1 type=float
    Attrib "gl_Vertex" loc=0 size=1
    Attrib "gl_MultiTexCoord0" loc=1 size=1

Setting up osg::Camera::FRAME_BUFFER
Created new 0x1022c4dd0 TextureObject, _numOfTextureObjects 1
glGetString(GL_RENDERER)==Intel HD Graphics 4400 OpenGL Engine
end draw() 0x102217280
draw() 0x102217280

The debugging info just stops here. The osgviewer is freezed but not crashed. But it is not responding to any events, like ESC.
Note that if I run the program without --shadowed, the ssao works fine.

Thank you for your time.

Robin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions