Hi,

On Fri, 2007-04-27 at 10:01 -0500, Dirk Reiners wrote:
>       Hi Matthias, hi Gerrit,
> 
> Gerrit Voss wrote:
> > Hi,
> > 
> > On Fri, 2007-04-27 at 10:48 +0200, Matthias Stiller wrote:
> >> osgHello,
> >>
> >> we have a scenario that would require a shared context between multiple 
> >> windows (saving quite a lot of time and big texture resources). I know 
> >> OpenSG has the policy to create a new context for each window. Are 
> >> there any ideas or maybe anyone that already succeeded in finding a way 
> >> how to do it ? Our own approaches did not lead to a usefull result. 
> >> Anyone else seeing this as a helpful option to control context sharing 
> >> or not ?
> > 
> > use the passive stuff and do you own context handling.
> 
> Well, that's a good start, but it's not quite that easy...
> 
> They want to avoid upload textures multiple times, so you need to share the 
> GLObjects between Windows. I guess you could do it by moving those into a 
> separate class that can be shared between multiple windows. But there might 
> be 
> some hidden pitfalls there.

if you use more than one window yes. I was more thinking along the line 
of using one window and for the rest of the views just run over the
couple of viewports you need. So all you have to make sure is to use
the window first to update all the globjects involved. 

gerrit



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to