论坛

由用户创建的信息 hsab
04 June 2016 04:19
Hi all,

I've been trying to use 16.05 for a project I did in 16.04 that used the HMD module.
After replacing blend4web and uranium scripts with the latest 16.05 version my screen becomes black after the scene loads whenever HMD is set to stereo. However on 16.04 it works as expected.
For some reason navigator.getVRDevices is undefined in Chromium on May 21st build. Thus hmd_conf.check() always returns false. Possibly a bug? navigator.getVRDisplays is however defined.

I was wondering if someone could be kind enough to provide an example of using the configurator.
Another problem I have is that I register my b4w after some interaction of user with DOM (link with onclick event calling load_b4w() ). So seems like configurator can only be accessed once b4w is registered?

Thank you in advance.

PS. here is a link for the project: http://bit.ly/1XqcRLP
Source code can be found here: http://bit.ly/28a06rV
Would love to get some feedback or some suggestions on improvements and better implementation/development.