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
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
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/ 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
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 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/ 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 mailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
Nice! Thank you very much. I will try it out.
________________________________ From: Tom Goddard goddard@sonic.net Sent: Thursday, September 5, 2019 9:34:59 PM To: Krapp Lucien Fabrice Cc: chimerax-users@cgl.ucsf.edu Subject: Re: [chimerax-users] Open days EPFL - ChimeraX VR
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.chmailto: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.edumailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (2)
-
Krapp Lucien Fabrice
-
Tom Goddard