Forum

User posts MK
15 December 2016 13:12
MK
Hello,

I use a json-based scene file in a custom PHP based page that loads the scene using the B4W api and provides some basic scene configuration settings. Everything works fine but there are some Javascript errors I do not understand:



Any help would be very appreciative.
12 December 2016 12:35
MK
Hello Will,

thank you! I did not do it that way but I'll definitely adopt it.
08 December 2016 17:46
MK
Excellent, thx for clarification! :)
08 December 2016 16:21
MK
Thx a lot - I switched to planes instead on cubes for buttons and this makes things a lot easier.

My first attempt to reproduce your scenario resultet in the scaling issue first mentioned. After having applied the scale of the object with Ctrl+A everything looked exactly like in Blender. What does this "apply scale" exactly do? The internet blogs/forums are a bit misleading sometimes.
08 December 2016 13:20
MK
Hello Pavel,

thx for the welcome and tips. :)

I could build a small menu by inserting an empty object, parenting it to the camera and add the menu buttons to the empty object as child elements. Now the buttons are always at the same position.

Is it possible to easily align my navigation buttons to the cameras view direction? I'm struggling the correct position/rotation.
06 December 2016 18:30
MK
Hello,

I'm new to blend4web and would like to know best practices for the creation of scene menu panels for scene interaction. I've created a mathematical model for demonstration purposes and would like to let the scene user switch components on and off preferably with a menu panel (html-based or rendered).

Can I achieve this without digging deeper into the coding mechanics by using Blender only? I created a button by parenting it to a camera, set "Viewport Align" and added some logic nodes. This does not really work as the button seems to be way to large (nearly fills screen) even if it's small in the Blender viewport.

Any help would be very appreciative.
- Marcel