Hi Xin Shou,

If you application ends up on a deadlock then the thing to do is use a
debugger and break the application when it locks to find out what loop it's
stuck in.  There isn't any way third parties can guess how you've created
this deadlock as it really requires a debugger to find out.

Robert.


On 17 April 2013 11:06, Xin Shou <[email protected]> wrote:

> Hi,
>
> I create the scene like this: the root node is SceneRoot, a hud node is
> HUDCamera, a render-to-texutre node is RTTCamera, also a model root which
> is added as child to RTTCamera, then i add a model node to ModelRoot.
> Now I create a texture image attached to RTTCamera, and I render it to a
> quad as texture stateset on HUDCamera.
> The whole scene runs ok. Then i add a PickEventHandle to the osgViewer,
> the scene also runs right, but it stops when i click the scene everywhere,
> just like that it is deathlock.
>
>                                                SceneRoot
>                          |                             |
>            |
>                   RTTCamera   ------   ModelRoot          HUDCamera
>                                                       |
>                                                   ModelNode
>
> I really do not know about it, and hope somebody can help me.
>
> Thank you!
>
> Cheers,
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=53623#53623
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to