XForms: Flickering & pausing

Kevin A. Pilch (kpilch@sim6.dciem.dnd.ca)
Mon, 20 Jul 1998 08:47:43 -0400 (EDT)

# To subscribers of the xforms list from "Kevin A. Pilch" <kpilch@sim6.dciem.dnd.ca> :

Hello All,

I am working on a simulation of a helicopter, and I am using Xforms for
the control GUI's. I have three problems.

1) I am implementing some of the helicopter controls as free objects,
and they seem to flicker.

They are being redrawn at ten Hz, which is fast enough, but I would like
to eliminate the flickering. I tried using double buffering for the
form, but it slowed my app down by a factor of five, which is unacceptable.

I can live with this problem if I have to, but I would like to fix it.

2) I am working on a LAN, and I would like to be able to display some of
the forms on one monitor, and some on another, but it seems you can only
set the display in the call to fl_initialize(...), which can only be
called once, right?

I can live with this problem too, but ... :)

3) This is a problem I cannot live with. When the pilot lands the
simulator, I need to be able to display some performance statistics.
Currently I have a seperate form that I create at startup, but do not
display. Then when the pilot lands, I simply fill in the values, and
then call fl_show_form(...). The problem is that when I call
fl_show_form, it blocks my app for almost a second, causing the graphics
to freeze, which is very unsettling for a pilot under a VR headset, who
expects the landing gear to react.

Any help with any of these problems would be greatly appreciated.

>~~~~~~~~~~~~~~~~~~~~
"Man has made many machines, complex and cunning,
but which of them indeed rivals the workings of his heart?"
-Pablo Casals
>~~~~~~~~~~~~~~~~~~~~

Kevin Pilch

http://www.eng.uwaterloo.ca/student/kapilch/
kapilch@uwaterloo.ca
kpilch@dciem.dnd.ca

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