XForms: OpenGL, MotionNotify

Dick Middleton (dick@sqf.hp.com)
Fri, 19 Sep 1997 10:00:54 +0100

To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> To subscribers of the xforms list from Matthias Rarey <Matthias.Rarey@gmd.de> :

> I am writing a program with interactive 3D graphics
> using xforms and OpenGL/MESA. To control the scene
> via the mouse, I have added a canvas handler for
> MotionNotify (fl_add_canvas_handler()). The movement
> of even very small scenes is not smooth.

I find this to be a problem too. It seems like the motion events arive in
clumps. It gives an unsteady feel as if the mouse and graphic are not
connected.

Comparing the same application written using Motif and Starbase the
difference is quite noticeable.

I have not solved the problem; I've learned to live with it. On a fast
workstation it's not so bad.

> I have the
> feeling that there is a problem with the X event
> queue such that there are not enough MotionNotify
> events send to the application program, but I am
> not an expert on X programming.

Maybe - to me it seems more like delay variation.

Dick

--

dick@sqf.hp.com _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/