Hi Wangmiao,

Using multiple SceneViews does work in 2.x, osgViewer uses SceneViews under
the hood to implement rendering, and it supports multiple views across one
or more graphics context without any problems.

As to why things are working your app I can't really even have a guess at as
I don't know the code.

Robert.

On Mon, Apr 14, 2008 at 6:56 AM, wangmiao <[EMAIL PROTECTED]> wrote:

> Hello every one,
> I meet a problem when switching to osg 2.33 , multi-sceneviews doesn't
> work for 2 or more contextes.
> I do it like these:
> 1. build opengl contex by opengl call
> 2.sceneview.Init()
> loop................loop
> 3.destory sceneview AND  releaseAllGLObjects
> 4.destory context  wglDeleteContext
> every context has an individual contextid set by
> m_sceneview->getState()->setContextID
> this works perfect with osg 1.2.
> Is there any change may cause this problem? Thanks!
>
>
>  wangmiao
> _______________________________________________
> 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