[chimerax-users] VR mode not working
Tom Goddard
goddard at sonic.net
Tue Mar 13 10:40:12 PDT 2018
Hi Sebastian,
To show or hide a molecular surface in ChimeraX VR you can display the ChimeraX window in the VR scene using the Oculus Touch B or Y buttons, or the Vive menu button. Then click on the surface show/hide toolbar buttons with the hand controller trigger button. You can click on anything in the ChimeraX interface. I just added this a week ago. You can move the user interface in VR by holding the B/Y/menu button and dragging it to a new position. You can also click on the mouse mode buttons which changes the hand controller to perform that mouse mode when the trigger button is pressed, for instance you can select atoms. For some mouse modes the behavior is a little different in VR, for instance you can select an atom then drag up to promote to select the containing residue or chain. In general the mouse modes where you click on an object in the scene require you to point the hand-controller cone at the object (it is not good enough to just be near an atom but not pointing at it to select). This stuff is new and has not been documented yet.
Please keep in mind all this ChimeraX VR stuff has tons of problems and is in no way ready to replace anything you do with mouse and conventional display in ChimeraX. For example, when you show a molecular surface, the VR display will likely black out because the surface computation takes a while and halts the graphics. For big structures the VR will stutter and should not be used unless you like being nauseous. Also keep in mind I am changing the VR behavior every day -- today if I find time I will change it so clicking on mouse modes with any of the hand-controller buttons assigns the button you pressed to that mode.
Tom
> On Mar 13, 2018, at 12:51 AM, Sebastian Poelsterl wrote:
>
> Hi Tom,
>
> thanks for your help, the latest nightly build works perfectly.
>
> Is it possible to modify the key bindings of the Oculus controller, e.g. to enable/disable rendering the protein's surface?
>
> Best regards,
> Sebastian
>
>
> ________________________________________
> From: Tom Goddard
> Sent: 09 March 2018 19:14
> To: Sebastian Poelsterl
> Cc: chimerax-users at cgl.ucsf.edu
> Subject: Re: [chimerax-users] VR mode not working
>
> Hi Sebastian,
>
> This is fixed in current ChimeraX nightly builds.
>
> This ChimeraX VR error was caused by an automatic SteamVR update a week or two ago. Unfortunately SteamVR now generates a harmless OpenGL "invalid operation" error when ChimeraX hands it two eye images. It does not clear the error state and then ChimeraX sees the OpenGL error and gives the traceback you saw. I have worked around this SteamVR problem by clearing the OpenGL error after handing the images to SteamVR -- the error actually only happens when ChimeraX gives SteamVR the images the first time. SteamVR code is proprietary so I have no easy way to debug what is giving the error in the SteamVR runtime.
>
> Tom
>
>
>> On Mar 9, 2018, at 10:50 AM, Sebastian Poelsterl wrote:
>>
>> Hi,
>>
>> I'm trying to view a PDB structure (2fha) in vr mode, but get the following error after executing 'vr on':
>>
>> An error occurred in drawing the scene. Redrawing graphics is now stopped to avoid a continuous stream of error messages. To restart graphics use the command "graphics restart" after changing the settings that caused the error.
>>
>> Traceback (most recent call last):
>> File "C:\Program Files\ChimeraX-0.5\bin\lib\site-packages\chimerax\core\updateloop.py", line 61, in draw_new_frame
>> view.draw(check_for_changes = False)
>> File "C:\Program Files\ChimeraX-0.5\bin\lib\site-packages\chimerax\core\graphics\view.py", line 178, in draw
>> r.draw_background()
>> File "C:\Program Files\ChimeraX-0.5\bin\lib\site-packages\chimerax\core\graphics\opengl.py", line 677, in draw_background
>> GL.glClear(flags)
>> File "zr\accelerate\src\errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src\errorchecker.c:1270)
>> OpenGL.error.GLError: GLError(
>> err = 1282,
>> description = b'invalid operation',
>> baseOperation = glClear,
>> cArguments = (16640,)
>> )
>>
>> I'm using ChimeraX 0.5 with an Oculus Rift (1.24.0.545657), NVIDIA GeForce GTX 1060 (driver version 391.01) and SteamVR Version 2018-02-10 (1518226924) under Windows 10 (10.0.0.14393).
>>
>> Any suggestions would be appreciated.
>>
>> Thank you.
>>
>> Sebastian
>>
>> The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.
>>
>> This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.
>>
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>>
>
>
> The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.
>
> This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
More information about the ChimeraX-users
mailing list