comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 3D Input Device for manipulating 3D objects.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 3D Input Device for manipulating 3D objects. [message #36529] Thu, 02 October 2003 10:50
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Daniel Carreira" wrote...

> Has anyone had any experience using a 3D input device in IDL?

I can't say that I have, but lo have I tried... I don't work with
individual objects much, more environments or scenes, so the need to move
about "naturally" has led me to investigate input alternatives. Since we
can't really justify spending money on professional 3D input devices I have
experimented with a range of joysticks, gamepads, keyboard and mouse
combinations.

The issue in your case would be getting input into IDL. IDL has no support
for input devices other than your standard keyboard and mouse out of the
box. You most likely will find that there are either drivers that allow you
to interface thru "standard" libraries (like MS DirectX) or the manufacturer
may provide a custom API.

I have written a .dlm which provides support for keyboard, mouse and
joystick input via the DirectInput component of DirectX. It has it's
limitations but for certain applications it works great. This of course
would only work if your 3d input device worked with DirectInput. Which it
may... You can pick the .dlm up here:
http://www.acoustics.washington.edu/~towler/

If your 3d input device doesn't work with directInput then you would be on
your own. Writing a .dlm isn't that difficult but much would depend on what
the manufacturer provides.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: freeware contour plotting software for Windows
Next Topic: how to realize *b++=new as in C

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:50:12 PDT 2025

Total time taken to generate the page: 0.00505 seconds