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.

        Dirk

-------------------------------------------------------------------------
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