Hi Stephan,

I've added some extra settings into osgcamera, this brings it a bit
closer to yours, but without the hardwiring.

The -2 option now opens up six cameras on screen 0, -3 options six
cameras across screen 0 and screen 1.

I've done lots of repeated tested but alas not seen any problems yet,
if I can get a reliable crash then I have a far, far better chance of
isolating and fixing the problem.

Robert.

On 6/9/07, Stephan Huber <[EMAIL PROTECTED]> wrote:
Hi Robert,

Robert Osfield schrieb:
> Hi Stephan,
>
> Thanks for the stack traces.  The option -2 in osgcamera tries to open
> three windows on two screens - screen 0 and screen 1.  If you don't
> have screen 1 then it should fail on these windows and not create the
> cameras or associate threading, so it looks like it is trying to set
> up the threading regardless of the window screen on screen 1 failing.
> I'll review the code.
Sorry, I forgot to mention something: I modified the osgcamera-example
for testing purposes: All windows are opened on screen 0, so I can test
the  behaviour when closing a window.

(I wanted to see what the code does on windows, when closing a window,
to get an idea why there are deadlocks when closing windows on OS X)

Here's my modified version of osgcamera.cpp (no need for any command
line parameters, they are set inside the code)

The modifications I did:
+ hard-wire threading model
+ all windows on one screen
+ smaller window-sizes, so the close-box is visible

See the attached version of osgcamera.cpp

On my MacBookPro/Windows XP the deadlock occurs not everytime on
startup, but when I interact with the model (zoom in, rotate it) after a
short time, I'll get the deadlock reliably, the stack-traces are similar
to the posted before.


HTH,
Stephan




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to