first of all you should check a good search engine - i think there are quite
a few people engaged in both VR and J3D. perhaps someone has already written
an interface for your device. i have also seen that some VR equipment
manufacturers have begun to offer a Java interface for their hardware, so
you should ask your vendor in the first place.

otherwise, i think you have to use the JNI (Java Native Interface) and write
a driver wrapper in C/C++. check your vendor for a detailed driver/data
format description. some trackers/gloves deliver data in pure ascii (to the
serial port), others use a simple binary format, and there are devices with
IDE interface. anyway, best is probably to directly call functions of your
vendor's driver lib/dll instead of parsing the input stream on your own.
this should be pretty easy if you have the documentation, because your JNI
code will only be a short wrapper.

if you need a pure java solution, it could be possible to access the serial
port directly from java, but i am not sure about that.

i would be interested in hearing from your proceedings.

-- julian

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to