Hi, On Mon, 2011-01-31 at 18:47 +0100, Josef Grunig wrote: > Dear OpenSG users, > > I was wondering if OpenSG2 supports context sharing. > We would be interested in having two windows based on Qt ( > OSG::QT4Window ) sharing at least textures. > > Given that contexts are correctly shared (using QGLWidget sharing > capabilities), is that possible in OpenSG2?
currently not. And it is not as straight forward as it might look like as you would have to share OpenSG's bookkeeping information between the two contexts. And than there is the multi-threading structure of the rendering backend to be taken care of. I started re-factoring parts but haven't pushed it that far. The easiest solution for now might be to work with a single PassiveWindow over two application windows, but I have to check if this really works. And it might lack some features. Another might be a something like a lightweight window decorator that keeps one master window (context) and swaps it through slave windows (reusing the master context). With the new year break coming up in these parts of the world ;) I'll put it on my to think about list ;). kind regards gerrit -- Gerrit Voß 盖瑞客 ------------------------------------------------------------ Fraunhofer IDM @ NTU 南洋理工大学, Nanyang Technological University, (NTU) 新加坡, Singapore ------------------------------------------------------------ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users