Re: [Jmol-developers] Interfacing Jmol with Oculus Rift VR

2015-12-08 Thread Zhezheng Chen
I've already tried the navigation mode. I put the position 3d vector from Oculus to TransformManager.navX, TransformManager.navY and TransformManager.navZ but it didn't work. So I doubt if it's right to just use functions like TranformManager.setNavigationXYZ. Any other ways to navigate? On Tue,

Re: [Jmol-developers] Interfacing Jmol with Oculus Rift VR

2015-12-08 Thread Robert Hanson
First thing you should think about is using set navigationMode This gives an "immersion" perspective that may be closest to your needs. See http://chemapps.stolaf.edu/jmol/docs/misc/navigation.pdf for ideas. ​ -- Go

Re: [Jmol-developers] Interfacing Jmol with Oculus Rift VR

2015-12-08 Thread Robert Hanson
You probably should be interacting via a port using the SYNC command. However, I don't think navigation mode was ever set up for that. In lieu of that, you should use script commands. Otherwise your asynchronous calls will not be thread safe, I think. Take a close look at that document and see if