openGL / GLUT native support

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

Moderator: Moderators

Post Reply
cbanker
Posts: 4
Joined: Wed Oct 03, 2007 7:02 am

openGL / GLUT native support

Post by cbanker »

I see that glut has native SpaceBall support using the glutSpaceballMotionFunc, glutSpaceballRotateFunc and glutSpaceballButtonFunc callbacks.

I am trying to modify a program using glut to work with the SpaceNavigator. Is there any way to get these callbacks to work with the SpaceNavigator or do they only work with the SpaceBall series?

~Chris
jwick
Moderator
Moderator
Posts: 3455
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

Hi cbanker,

If they are built on top of the 3DxWare SDK, they will work with any 3Dx device, including the SpaceNavigator. If the implementation is open source, look for calls to SiOpenWinInit. Those calls are Windows specific. There may be some other calls on Unix. All the calls to the driver are platform dependent.

Jim
3Dx Software Development
cbanker
Posts: 4
Joined: Wed Oct 03, 2007 7:02 am

Post by cbanker »

I looked into it some more and it looks like the SpaceBall support was made for the old SpaceWare drivers and serial devices. It does not seem to be able to work with newer devices and from what I've seen these commands did not work on all platforms either.
jwick
Moderator
Moderator
Posts: 3455
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

The 3DxWare Windows driver was derived from the SpaceWare Windows driver. It should be completely compatible. Same on Unix actually.

If they used our driver, it should still work. If you find an SiOpen, it should work.
Post Reply