Hi,

Thanks for the fast replies. I have a very similar setup to Mihai - just instead a 7800GT, slightly older display drivers, and I'm not using wxWidgets.

The problem doesn't seem to be a hang. I run it from Visual Studio in debug mode and it just keeps on running as if nothing has happened - I just don't have a window anymore. I will try tracing it further.

I would be interested in switching to osgViewer, although it would have to be something I can achieve very quickly. If I get the latest CVS version of OSG, is it typically a straightforward process? I'm competent with OSG.. just on a tight deadline and don't want to introduce any other problems. Also, I'm using the osgProducer::Viewer's picking functions... is there an equivalent implementation in osgViewer?

Thanks again,
Julian.


Robert Osfield wrote:
Hi Mihai,

Thanks the extra data point.  Can you reproduce this problem with
standard examples like osgviewer or osgpick?

I wonder if the even thread is getting swamped and getting deadlocked.
I'm not familiar with the Win32 side of Producer though.

As a another useful test it might be worth see how easy it would be to
port across to osgViewer::Viewer as it has a totally new Windows
implementation.  There are similiar in many ways, most of the OSG
examples ported across with a few minutes of coding.  The more of
Producer one uses the more work it'll take.

Robert.

On 2/14/07, Mihai Radu <[EMAIL PROTECTED]> wrote:
Hi,

I have seen this kind of behavior with our application based on
osgProducer, it only appears when there is quite a bit of mouse activity.

Robert Osfield wrote:
> Hi Julian,
>
> I haven't heard of windows just disappearing but perhaps others in the
> community will have seen it.
>
> A few questions.
>
>    Which platform are you working under?
>
WinXP sp2 [current patches]
>    What hardware?
>
Nvidia 7900 GT 256 Mb pciE, drivers # 93.71
>    What version of the OSG?
>
osg 1.2
>    Is this a recent problem?
>
only noticed in the latest app, that uses osg 1.2
>    Does the application crash at all?
>
The application is WxWidgets based, and it creates osgProducer thread[s]

The application does not crash immediatelly, next time it will happen, I
will try to restart the 3D window.
>    If its a hang have you been able to stop execution in a debugger to
> find out
>    where its hung?
>
Next crash I'll try to get some stack trace.
> Robert.
>
Hope this helps
Mihai Radu
>
> On 2/14/07, Julian Looser <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I realise there has been a lot of development recently on new viewer
>> classes for OSG, however for my project I am still using
>> osgProducer::Viewer. I am working on an interface evaluation that is
>> nearly complete. I have developed a user interface with OSG but I have >> encountered a serious problem. The viewer window occasionally completely >> disappears leaving only the console window active. The program is still
>> running (can see it in Task Manager) but the window is gone.
>>
>> I've noted that this happens only when I am doing a lot of mouse input
>> processing. I am using my own subclass of osgGA::GUIEventHandler to
>> process input events. When I get a mouse move/push/release event I use
>> the viewer.computeIntersections(x,y,hits) function to work out which
>> interface component the user is interacting with. Right now I don't know
>> where the problem lies, so this is a broad question of whether anyone
>> else has had this sort of thing happen. If nobody has any ideas then I
>> will try to track it further and form some more detailed questions.
>>
>> Thanks in advance,
>> Julian.
>> _______________________________________________
>> 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/

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

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

Reply via email to