Hi Guiseppe,
giuseppe turini wrote:
> Hi all,
> I'm new to OpenSG and I'm trying to use a shared OpenGL Object between
> multiple OpenGL Contexts,
> that is I want to share a 3D Texture between 2 different contexts ( OpenSG
> windows based on Qt QGLWidget ).
>
Do you only want to share that one texture or more than that?
> I've already read the OpenSG Official Online Documentation about "OpenGL
> Objects & Extension Handling"
> (
> http://www.opensg.org/doc-1.4.0/PageSystemOGLObjects.html ),
> and it seems that OpenSG supports the sharing of OpenGL Objects using a
> static registration procedure.
>
I don't see how you infer that from the text, honestly.
> Unfortunately I've tried to follow the instructions to register and use a 3D
> Texture between my 2 contexts but it doesn't work,
>
What did you do? Can you send us the code snippet that does the
registration for both Windows?
> or better, only the context that create the texture can use it while the
> other context (t hat has to share the same texture ) cannot.
>
Sharing textures is not a very well debugged path in most drivers, so it
might be a driver as well as an OpenSG problem.
> Moreover I've also seen the other messages posted in date 2006/09/20
> (
> http://www.mail-archive.com/[email protected]/msg06129.html
>
> <http://www.mail-archive.com/[email protected]/msg06129.html>
> )
> and from the replies it seems that the sharing of OpenGL Objects still remain
> an unsolved problem.
Yup.
> Could anyone help me posting a basic example on how to share an OpenGL Object
> in OpenSG?
Things haven't changed since then, sorry. :(
If you could provide me with a simple example application that
demonstrates the problem I might be able to hack on it a little bit (as
far as time allows), but I don't have the time to start this from
scratch, sorry.
Yours
Dirk
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users