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, Dec 8, 2015 at 8:04 PM, Robert Hanson  wrote:

> 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 from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


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 from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


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 your parameters are
translatable into that.




On Tue, Dec 8, 2015 at 6:51 AM, Zhezheng Chen 
wrote:

> 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, Dec 8, 2015 at 8:04 PM, Robert Hanson  wrote:
>
>> 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 from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>> ___
>> Jmol-developers mailing list
>> Jmol-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers