PDA

View Full Version : How can OpenGL program response to hardware input?



bluestone
08-12-2004, 10:24 PM
I want to build a program that can response to hardware inputting observer position data,How can I make the data inputting interrupt trigger the scene render?
Any suggestion? thank you very much!
I used the glutDisplayFunc(RenderScene) before,but it can only response to mouse,window size,and window position,not other interruptes.

Tom Nuydens
08-12-2004, 11:10 PM
This has nothing to do with OpenGL -- you just need to find out how your hardware notifies the system that new data is available.

-- Tom