[Paraview] Using VR-Style input devices
Christian Richter
christian.richter at ovgu.de
Tue Nov 13 15:03:39 EST 2012
Hi Aashish,
I'm very interested in getting this to work, please point me to the
right place in the code.
Do you know why the Paraview-own VTK does not support Tdx and does not
use it ? (the option is there in the cmake but than something is
missing, because it does not ask for VTK_TDX_INCLUDE_PATH and that's why
I think compilation breaks)
http://www.vtk.org/Wiki/VTK/3DConnexion_Devices_Support
I was able to get the TDx TestApp to work with an extern build of VTK
and hoped it would be straightforward to use ist in Paraview -- but i
gave up at this point.
Thank you,
Christian
Am 12.11.2012 18:25, schrieb Aashish Chaudhary:
> Hi Christian,
>
> I've found out that the device acts as an analog-input (seen with
> vrpn_print_devices).
>
> Could you please tell me how to write a style to use the
> analog-input (6DOF) to manipulate the camera view ?
>
>
> Sorry for the late reply. We have been busy with the SuperComputing
> demo. Its really simple, you get the input from the analog devices (it
> may not be normalized), and then you calculate the delta from the last
> time you got any event and use this delta however you would like.
> Basically the math to rotate the camera is dependent on what camera
> type you would like to have. As far as getting access to camera and
> setting up the camera positions, I can point you to the code for that.
>
> Please let me know.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121113/b8ff7a5d/attachment.htm>
More information about the ParaView
mailing list