PDA

View Full Version : eliminating the cursor



bsperlin
04-23-2001, 10:12 AM
I'd like to know how to eliminate the cursor in the glut window of a console app. I'm using VC++6.0 and glut.
Thanks,
Barry

zed
04-23-2001, 04:23 PM
check under the man/glut directory for a list of glut commands

glutSetCursor GLUT_CURSOR_NONE

T2k
04-24-2001, 03:37 AM
without glut( win32 ):
ShowCursor(FALSE); // Hides Cursor, TRUE shows it again( only in client area)

rts
04-24-2001, 08:33 AM
Look here for a long list of the many ways you can eliminate the cursor:
http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/003653.html

bsperlin
04-25-2001, 07:09 AM
Thanks to all 3 of you!! My stereo cursor is working fine. The cursor was turned off in the glut window with glutSetCursor, then I put a green cone with a red torus at its base into the stereo scene, instituted a toggle for approaching, receding and maintaining a distance using the middle mouse button and have used MouseFunc and MotionFunc to drive the cursor around and thru objects. Next I have to point the tip of the cone in the direction I'll be going. If it looks mostly red then it will be going away from the viewer since he'll be seeing the torus, primarily, but that's for this afternoon. Again, thanks!
Barry