Hi Lucien,

  I'm impressed you were able to modify my messy ChimeraX VR code.  Sorry I didn't get my "vr button" command in earlier to save you this work.

Tom


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

Hello,

I modified the "vive" module and added a new argument to the "vr" command which is passed to the "start_vr" which call a new method of "SteamVRCamera" to modify the mode of the "HandController" which modifies. So now I can select different controls from ChimeraX for the vive controllers.

Sorry for the inconvenience.

best,
Lucien

From: Krapp Lucien Fabrice
Sent: Thursday, September 5, 2019 10:35:16 AM
To: chimerax-users@cgl.ucsf.edu
Subject: Open days EPFL - ChimeraX VR
 
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