Space Navigator support in windows GLUT

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
griffin2000
Posts: 2
Joined: Fri Jun 17, 2011 12:40 pm

Space Navigator support in windows GLUT

Post by griffin2000 »

I added support for the space navigator to the OpenGL utility library GLUT for Windows (previously the Spaceball functions glutSpaceballMotionFunc, glutSpaceballRotateFunc, and glutSpaceballButtonFunc were ignored on the windows implementation).

I edited the 3.7.6 version Windows GLUT source from here:
http://www.xmission.com/~nate/glut.html

The files I edited are in the \lib\glut folder:
  • win32_winproc.c
    glut_input.c
    glutint.h
I've uploaded them here:
http://dl.dropbox.com/u/2809326/SpaceNavGLUTChanges.zip

A compiled version of the binaries (Windows 7 VS2010) are here:
http://dl.dropbox.com/u/2809326/glut.zip

I've not tested then rigorously but I've tried them on a couple of our cross platform GLUT apps and it seems to work pretty much the same as the MacOS implementation.

Any feedback welcome (also feel free to post these files somewhere more permanent than dropbox.com).
Revan1988
Posts: 1
Joined: Tue Mar 24, 2015 4:29 am

Re: Space Navigator support in windows GLUT

Post by Revan1988 »

Hi i've got a question about this.
I've downloaded your compiled binaries for windows.

How can i use that?

I've got an app that uses GLUT to open obj files.
I need to use the space navigator to rotate, zoom in/out and move the 3d object.

Now it is encoded as mouse functions in the main file of my project.

In your edited Glut how can i set up all the event (like 3d mouse moving and else)?

Thank you, and sorry for my bad english...
Post Reply