Hi Lucien,

  Great!  Glad you are making VR demos with ChimeraX.

  There was no ChimeraX command to assign VR hand controller buttons, so I added one and it will be in tonight's daily builds, for example,

vr button grip "rotate selected models" hand right

The general syntax is 

vr button <button-name> <mouse-mode-name> [hand left|right]

VR has to be started before you assign buttons.

  Here is a ChimeraX VR demo looking at drugs bound to the mu-opioid receptor that you might be interested in.

https://www.cgl.ucsf.edu/chimera/data/opioids-vr-2018/opioids.html

and here are a few more VR examples

https://www.cgl.ucsf.edu/chimera/data/vr-examples-nov2017/vrexamples.html

  Tom


On Sep 5, 2019, at 1:35 AM, Krapp Lucien Fabrice <lucien.krapp@epfl.ch> wrote:

Hello,

We are creating some small VR demos in ChimeraX for the EPFL open days in a few weeks (https://www.epfl.ch/campus/events/celebration-en/portes-ouvertes/). It is an event to show to a broader audience what the university is doing.

The demos consists of small proteins up to density maps of bacteriophage with a few simple animations and menus to interact with the structures. Everything is almost done, I'm currently trying to fix the last issue but I didn't find a solution in the documentation. For two of the demos we would like the user to move a selection in VR with one of the VR controller right out of the box without having to go in the VR menu and click on the "move selected" button. I was able to make it work on Linux by loading the session though the remote API with the right part selected but it doesn't seem to work on Windows. The log shows a status change when clicking on the button "move selected" in VR but not the actual command to change the mode.

Do you know if there is a way to change the mode of the VR controller without having to manually go through the menu in VR ? 

In the mean time, I will try different saved sessions and (remote) commands to try and solve the issue. If the demos are a success we will most likely make them available online so that anybody can try and improve them.

Thank you in advance for your help.

best,
Lucien
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users