Search found 6 matches
- Wed Jun 04, 2008 1:13 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
Hi rodrigo.seabra, Finally, I didn't use VRPN. I get help from the osg mailing list. (I would like to say thank you very much). main () { // init // osg inits .. SbInit ()//connect to the spacenavigator // main loop while (!viewer.done()) { // DispatchLoop is similar to the sdk example but instead o...
- Fri May 23, 2008 9:03 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
- Wed May 21, 2008 5:36 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
Hi, The problem is that we have to attach the SpaceNavigator to a window. I tried to find how to attach the device to the viewer (osgViewer::Viewer) but I didn't succeed. In the osg mailing list, I find a post where they suggest to use the vrpn and the osgvrpn libraries. I try to understand how it w...
- Tue May 20, 2008 6:27 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
- Tue May 20, 2008 4:19 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
I made a mistake when I copied the code of the 3rd fucntion : the right code : bool MyManipulator::calc3DMovement( ){ //static DWORD s_dwLastDraw = 0; if (g3DSensor) { try { CComPtr<IAngleAxis> pRotation = g3DSensor->Rotation; CComPtr<IVector3D> pTranslation = g3DSensor->Translation; cout <<g3DSenso...
- Mon May 19, 2008 8:27 am
- Forum: Developer's Forum for Windows
- Topic: space Navigator and openScenceGraph application
- Replies: 21
- Views: 40424
space Navigator and openScenceGraph application
hello, I want to use the SpaceNavigator with an osg application. I read the 3Dpolling example and modified it to register the data in a text file. I thought it would be easy to integrate the same code into the application but I have some problems. MyManipulator::MyManipulator(osg::Vec3 init_pos){ _t...