Dentist
February 20, 2002, 11:04pm
1
I’m using GLUT + win98 + Borland C++ Builder 5
Hi Does anyone know if GLUT API contains a call to reset the mouse coord to some x,y position ??.
I need to allow continuous 360 degree viewer rotation ala Quake. I’ve tried embedding _asm stuff but it freaks the OS out and crashes.
system
February 21, 2002, 12:44am
2
Try using directinput… it’s better to rule
Try GLFW , it’s better to kick ass
glfwDisable( GLFW_MOUSE_CURSOR )
gives you an “infinite” mouse range (range +/- 2^31). If that is not enough, use
glfwSetMousePos( 0, 0 )
…every now and then.
[This message has been edited by marcus256 (edited 02-21-2002).]
Dentist
February 21, 2002, 9:09pm
4
Thanks bebbr
I don’t really know what directinput is bu I will look into it, I assume it is a function in the GLUT api ??
Ben
Dentist
February 21, 2002, 9:13pm
5
Cheers marcus256, I will check this out for sure. Would I be right in saying that it is an alternative to glut. Anyway I will do some reading.
Thanks again
Ben
Ive tried using Direct input but have several probs,
How do i hide the mouse
and How do i reset the mouse to a fixed pos like 0,0?