Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread nicolas peña
Thanks a lot for your answer, now I understand a bit of what is going on... I will write the example for better understanding of what I am trying to do and look at the code you suggested. I'll derive it from the code in osgwindows (setting one camera for each window in an independent viewer) and

Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread Robert Osfield
On Mon, Feb 25, 2008 at 8:49 AM, nicolas peña [EMAIL PROTECTED] wrote: Just in case you are curious about my case of use, I will try to explain a bit my intentions, if you consider that my approximation is not right please correct me. I am building a simulation framework aimed at multi-robot

Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread Robert Osfield
On Mon, Feb 25, 2008 at 9:22 AM, nicolas peña [EMAIL PROTECTED] wrote: Yes, I think I'll be OK with that. Sorry for my lack of knowledge but, can you tell me how can I deactivate/activate the cameras ?. I don't find the proper method. camera-setNodeMask(0x0);

Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread nicolas peña
I'll work with this. Thanks a lot. Nicolas. 2008/2/25, Robert Osfield [EMAIL PROTECTED]: On Mon, Feb 25, 2008 at 9:22 AM, nicolas peña [EMAIL PROTECTED] wrote: Yes, I think I'll be OK with that. Sorry for my lack of knowledge but, can you tell me how can I deactivate/activate the

Re: [osg-users] Multiple viewers and one scene

2008-02-24 Thread Robert Osfield
HI Nicolas, On Fri, Feb 22, 2008 at 7:11 PM, nicolas peña [EMAIL PROTECTED] wrote: I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one process. Are you running the viewers single threaded? If so then the lazy

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
I forgot to say that I was two instances of osgviewer::viewer. Thanks again, Nicolas. 2008/2/22, nicolas peña [EMAIL PROTECTED]: Hi Robert, I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
Hi Robert, I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one process. This happens even when they do not share anything and even if I set-up the viewers from different threads. I have done the most simplistic