Forum

User posts pakirrote
22 November 2016 13:16
Hi guys!!

I'm using chromium Versión 56.0.2902.0 (64-bit) in windows 10 with oculus rift + blend4web 16.10.0

old Question 1:
Is it possible in the webbrowser view the same thing you are seeing through the glasses?.

old Question 2:
Can you see inside the glasses in stereoscopic and in the webbrowser only one camera?.

Thank you.
22 November 2016 13:01
Hi guys!.

Is strictly necesary insert a 3d modals in 3d scene vr?, or is possible insert a 2d library (for example bootstrap)?….

Thanks.
21 November 2016 16:17
Reply to post of user Evgeny Rodygin
Hi!
Of course, this can be done. But this functionality is not really related to Blend4Web itself. The example above also just uses a custom format to remember transformations of particular objects.

Say, you've placed a chair to a position with coordinates: X: 12.5, Y: 10, Z: 0.
When you press the "Save" button you need to get its position with corresponding API and write it to a text file which can be later used to restore the state.
It might look like this:
"Chair: Position: [12.5, 10, 0]"
You can use this information and assign this transformation to the Chair object with this method.
Thanks.
21 November 2016 12:53
What is the forecast for vulkan? Have you thought about doing b4w/vulkanweb ?. Thank you.
19 November 2016 13:54
Hi guys!

Is it possible to save the scene status to a file for later reload?.

Example in three.js:
http://furnishup.github.io/blueprint3d/example/

Thanks.
18 November 2016 21:29
Hi guys!!
¿Any tutorial for create your first VR experience? Thanks.
14 November 2016 23:24
Reply to post of user Mike
you can use the check modules in the project manager and click the update modules button.

Thanks, This work well, and is more easy!! :D
14 November 2016 14:46
I have solved, my solution:
I created a new test project and I copied and pasted(overwritten) the:

<script type="text/javascript" src="../../src/b4w.js"></script>
<script type="text/javascript" src="…….></script>
<script type="text/javascript" src="…….></script>
<script type="text/javascript" src="…….></script>
<script type="text/javascript" src="…….></script>
<script type="text/javascript" src="…….></script>
…….

In your main.html.
And now its works well.
14 November 2016 13:05
Hi guys!.
when import proyects from 16.09 to 16.10 get these two errors:
Uncaught Error: Module "__texcomp" not found()
b4w.js:198 Uncaught Error: Module "__navmesh" not found()

Only have these modules:
// import modules used by the app
var m_app = require("app");
var m_cfg = require("config");
var m_data = require("data");
var m_preloader = require("preloader");
var m_ver = require("version");
var m_scn = require("scenes");
var m_mat = require("material");
var m_sfx = require("sfx");
var m_objs = require("objects");

Any help? Thanks.
11 November 2016 15:10
Reply to post of user Evgeny Rodygin
Hi!
You can make a node structure like this one:


Having this, you can control the Value node through API in the following manner:
set_nodemat_value(obj, ["My_cool_material","Value" ], 0.1)

Thanks!! :D this work fine.