Re: [osg-users] Dramatic increase in event traversal time during mouse movement

2008-07-07 Thread MichaelBach
Thats OK :-).

I'm not sure whether its the code that computes the time spent that
has a bug or whether this is actually happening. 8ms is a lot of time
to waste just by processing mouse events! It is strange that it the
jump becomes negligible as soon as I keep a mouse button pressed...
I'll just leave it for now. Hopefully someone will have the time to
take a look at this at some point. :-)

/Michael

On Jul 2, 2:57 pm, Jean-Sébastien Guay [EMAIL PROTECTED]
labs.com wrote:
 Hi Michael,

  I've seen that when running in debug version... In release the increase
  is negligible. Perhaps you were running in debug?

 Sorry, I saw your follow-up after hitting send. I don't know what could
 be up. On my machine it jumps to ~2.5ms but very very shortly, so it's
 not significant...

 J-S
 --
 __
 Jean-Sebastien Guay   [EMAIL PROTECTED]
                                http://www.cm-labs.com/
                          http://whitestar02.webhop.org/
 ___
 osg-users mailing list
 [EMAIL 
 PROTECTED]://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Dramatic increase in event traversal time during mouse movement

2008-07-02 Thread Michael Bach Jensen
Hello, group!

I was looking at the nice statshandler graphics in osgViewer.exe, and
noticed a dramatic increase in the time spent in the event traversal
stage when the mouse was moved (goes from 0.02ms to around 8ms).
Strangely enough, rotating the view by dragging with the mouse, almost does not
increase the event traversal time (goes to 0.04ms). Has anyone else noticed this
behavior and have an idea on whats going on? I am working on project
in Delta3D and first noticed it there, but since the same happens in
osgViewer.exe on a separate installation, I thought I'd ask here!

I am on Windows XP and was looking at the cow, btw!

Sincerely,
Michael
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Dramatic increase in event traversal time during mouse movement

2008-07-02 Thread MichaelBach
This only happens in SingleThreaded mode, btw. Switching to any of the
multi-threaded modes fixes the problem.

I am the victim of the multithreaded, nvidia, multi-monitor bug, so I
have to start the viewer with --SingleThreaded...

I am on OSG 2.4, btw, and running in release mode.

/Michael

On Jul 2, 10:12 am, Michael Bach Jensen
[EMAIL PROTECTED] wrote:
 Hello, group!

 I was looking at the nice statshandler graphics in osgViewer.exe, and
 noticed a dramatic increase in the time spent in the event traversal
 stage when the mouse was moved (goes from 0.02ms to around 8ms).
 Strangely enough, rotating the view by dragging with the mouse, almost does 
 not
 increase the event traversal time (goes to 0.04ms). Has anyone else noticed 
 this
 behavior and have an idea on whats going on? I am working on project
 in Delta3D and first noticed it there, but since the same happens in
 osgViewer.exe on a separate installation, I thought I'd ask here!

 I am on Windows XP and was looking at the cow, btw!

 Sincerely,
 Michael
 ___
 osg-users mailing list
 [EMAIL 
 PROTECTED]://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Dramatic increase in event traversal time during mouse movement

2008-07-02 Thread Jean-Sébastien Guay

Hello Michael,


I was looking at the nice statshandler graphics in osgViewer.exe, and
noticed a dramatic increase in the time spent in the event traversal
stage when the mouse was moved (goes from 0.02ms to around 8ms).


I've seen that when running in debug version... In release the increase 
is negligible. Perhaps you were running in debug?


J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Dramatic increase in event traversal time during mouse movement

2008-07-02 Thread Jean-Sébastien Guay

Hi Michael,

I've seen that when running in debug version... In release the increase 
is negligible. Perhaps you were running in debug?


Sorry, I saw your follow-up after hitting send. I don't know what could 
be up. On my machine it jumps to ~2.5ms but very very shortly, so it's 
not significant...


J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org