Basic VR app
21 March 2017 21:34
How to set up very basic and simple VR app that can be viewed through simple google cardboard. Or this at the moment not possible?
I want to test a simple .json 3D-scene exported by Blend4web. Can someone guide me?
Can we also use our smartphones (gyroscope) to control the camera movements (zoom in/out, rotation, etc) for non VR (normal web based 3D app).
I want to test a simple .json 3D-scene exported by Blend4web. Can someone guide me?
Can we also use our smartphones (gyroscope) to control the camera movements (zoom in/out, rotation, etc) for non VR (normal web based 3D app).
22 March 2017 13:21
Hello.
A simple VR application you can see here.
And here is documentation about stereo rendering.
You can use our webplayer, there is the 'load' attribute for loading a .json-file.
Yes you can. If you are programmer, there are 3 ways to using gyroscope in you application. They are ordered from easy to hard:
It is preferable to use the sensor system. An example you can see here.
A simple VR application you can see here.
And here is documentation about stereo rendering.
I want to test a simple .json 3D-scene exported by Blend4web. Can someone guide me?
You can use our webplayer, there is the 'load' attribute for loading a .json-file.
Can we also use our smartphones (gyroscope) to control the camera movements (zoom in/out, rotation, etc) for non VR (normal web based 3D app).
Yes you can. If you are programmer, there are 3 ways to using gyroscope in you application. They are ordered from easy to hard:
- use the gyroscope addon,
- use gyroscope sensors (see more about the sensor system),
- use use a gyroscope device from the device system.
It is preferable to use the sensor system. An example you can see here.
Blend4Web Team
kirill@blend4web.com
kirill@blend4web.com
30 March 2017 10:41
10 April 2017 23:44
11 April 2017 01:36
@Kirill Osipov
Thanks for your guidance. I have some more question if you could please put some more light on :
1. I made a simple scene with camera type Eye. I exported it in .html format. Then I transfer it to my mobile through USB. When I try to run it, it simply doesn't load it.
2. So, how can I establish a connection with a smartphone, so that I can see that exported .html file simultaneously in my google cardboard as well as in my computer. (so that others can see where I am looking through cardboard).
3. For controlling a 3D object using smartphone Gyroscope, where do I put the code you mentioned with the gyroscope addon. I mean, I exported the blender file to .json and then I used 'app' method to load .json file. With this I also inserted the code of this addon. And in the end, it simply doesn't work .
Thanks for your guidance. I have some more question if you could please put some more light on :
1. I made a simple scene with camera type Eye. I exported it in .html format. Then I transfer it to my mobile through USB. When I try to run it, it simply doesn't load it.
2. So, how can I establish a connection with a smartphone, so that I can see that exported .html file simultaneously in my google cardboard as well as in my computer. (so that others can see where I am looking through cardboard).
3. For controlling a 3D object using smartphone Gyroscope, where do I put the code you mentioned with the gyroscope addon. I mean, I exported the blender file to .json and then I used 'app' method to load .json file. With this I also inserted the code of this addon. And in the end, it simply doesn't work .