Thank

Im sure that this will help me.

//Ragnar 

-----Ursprungligt meddelande-----
Från: [email protected] 
[mailto:[email protected]] För J.P. Delport
Skickat: den 11 september 2009 15:11
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Confusion regarding multiple views showing almost the 
same sceene

Hi,

I'm attaching a proof of concept I've hacked on just to try things out. 
It's a modified osgviewerWX with multiple windows and hopefully shared context. 
I'll try to get it into shape for inclusion as example later.

cmake .
make
./test cow.osg

hope it helps as a start
jp

Ragnar Hammarqvist wrote:
> Multiple windows. 
> 
> -----Ursprungligt meddelande-----
> Från: [email protected] 
> [mailto:[email protected]] För J.P. Delport
> Skickat: den 11 september 2009 14:58
> Till: OpenSceneGraph Users
> Ämne: Re: [osg-users] Confusion regarding multiple views showing 
> almost the same sceene
> 
> Hi,
> 
> single window or multiple?
> 
> jp
> 
> Ragnar Hammarqvist wrote:
>> Hi All
>>
>> Im a bit confused on how to implement multiple views in osg.
>>
>> My problem is the following.
>> Im limited to use wxWidget as GUI (and GL Traight)?
>> In my GUI I want several (one to at least eight) camera views looking on 
>> almost the same scene. The scene is VPT-made and is presenting a huge 
>> terrain.
>> The difference between the views is going to be the shading of the terrain 
>> and some different objects placed in the terrain.
>>  So in order to gain maximum performance I want the different views to share 
>> the same graphic context or at least for the terrain part.
>>
>> But I don't know how to setup my views in a way so that they share the same 
>> context.
>>
>> Regards Ragnar
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
>> org
>>
> 
> --
> This message is subject to the CSIR's copyright terms and conditions, e-mail 
> legal notice, and implemented Open Document Format (ODF) standard. 
> The full disclaimer details can be found at 
> http://www.csir.co.za/disclaimer.html.
> 
> This message has been scanned for viruses and dangerous content by 
> MailScanner, and is believed to be clean.  MailScanner thanks Transtec 
> Computers for their support.
> 
> _______________________________________________
> 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

--
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to