VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Sep 18 2014 - 16:42:17 CDT
The right .vmdsensors lines depends massively on how your FreeVR
display configuration is setup. The example lines in the default VMD
.vmdsensors file are based on the FreeVR config for the old NCSA CAVE,
and similar hardware. In those cases, we didn't need to use the "rot"
option at all. In fact, I think the only cases where we did need the
"rot" option were for use with VRPN and various Haptic devices.
What is the coordinate system of your FreeVR "world", and which tracker
or other input device are you using? If you run FreeVR in simulator mode,
do you have the same issue?
On Fri, Sep 12, 2014 at 09:40:13AM +0200, Michael Krause wrote:
> Dear Mr. Stone,
> thank you very much! The solution was indeed to compile FreeVR without
> pthreads support.
> Now I have a different problem. I have these lines in my .vmdsensors to
> get the FreeVR tracker into vmd:
> device freevrtracker freevrtracker://local/freevr
> scale 0.25
> offset -0.5 -3 -0.7
> rot left 0 0 -1 0 1 0 1 0 0
> The "rot left" option was necessary to make the pointer in vmd look
> forward. I can translate the tracker in all three directions and it
> works accordingly in vmd. However, rotating the tracker around one of
> its axes makes the pointer in vmd rotate around another axis. It seems
> as though the rotation option in .vmdsensors worked to get the
> translation of the tracker right but the rotation was unchanged.
> Do you have an idea how to solve this?
> Best wishes,
> Michael Krause
> On 30.08.2014 00:18, John Stone wrote:
> > Did you compile FreeVR using pthreads, or using the traditional
> > multiple-process model? The VMD FreeVR code is currently designed
> > for the multiple-process build of FreeVR. Which version of the VMD
> > source code have you compiled against FreeVR? There have been
> > a variety of bug fixes in various time periods, so it would be helpful
> > to know which VMD version you're compiling also.
> > Cheers,
> > John Stone
> > vmd_at_ks.uiuc.edu
> > On Fri, Aug 29, 2014 at 03:43:46PM +0200, Michael Krause wrote:
> >> Hello,
> >> I am trying to set up VMD with FreeVR support. I can start vmd via
> >> vmd -dispdev freevr
> >> and get the main VMD window plus a FreeVR window with a demo scene. But
> >> when I load up a molecule in VMD it won't show up in the FreeVR window,
> >> i.e. the demo scene remains.
> >> What am I doing wrong?
> >> Thank you!
> >> Michael Krause
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/