Hi Carsten,

this is strange. I'm running not exactly the same example that I sent you but 
the changes I made to simplify shouldn't have any bigger impact.
I started to investigate the error in detail and this is what I got up to now:

- if I start only the client and 1 server no crash happens
- if I start more than one server the crash happens after each start
- your guess was right, one of the TileCameraDecoratorPtr::dcast() calls in 
MultiDisplayWindow::serverRender() failes, the one in line 244
- the cast failed as serverWindow->getPort(sv) is a ProjectionCameraDecorator; 
sv=2; 
serverWindow->getPort(sv) is of type FBOViewport  
clientPort->getType() is of type Viewport

Does this help? Any Suggestions?

Thanks,
Michael

-------- Original-Nachricht --------
> Datum: Wed, 30 Jun 2010 15:48:48 -0500
> Von: Carsten Neumann <carsten_neum...@gmx.net>
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] OpenSG 1.8 - Passive Stereo

>       Hello Michael,
> 
> Michael Raab wrote:
> > I'm struggeling to accomplish that. I've attached the appropriate code
> to this mail. Unfortunately I cannot provide the complete application. The
> main procedure looks like this:
> [SNIP - code]
> > The app includes 1 ProjectionCameraDecorator per surface and eye. For 6
> surfaces that means 12 decorators. Each decorator gets 1 FBOViewport that
> means 12 FBOViewports. The app is connected to 6 render servers.
> > 
> > The application crashes in OSGBase.dll. The stack trace is attached.
> > 
> > Suggestions?
> 
> ok, I got you example off list, thanks. I tried running 6 instances of 
> Tutorial/12ClusterServer (with '-w server1' to '-w server6' as argument) 
> and your example with '-f Data/dinopet.3ds'.
> That seemed to start and connect to the servers, it showed the same view 
> of the dino on all 6 servers after I changed the ortho camera a bit:
> 
>             ocam->setVerticalSize(1.0);
>             ocam->setHorizontalSize(1.0);
> 
> Did I use your example correctly? What are you seeing when running it? I 
> was assuming it reproduces the crash for you? Admittedly my experiments 
> have been on linux, but I also ran your example through valgrind and it 
> did not show anything related to the TileCameraDecorators (only the 
> usual nvidia driver messages and a few about std::map<> use from 
> RemoteAspect).
> 
>       Cheers,
>               Carsten
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to