html menu to link with camera moves
25 February 2020 13:28
Hi,
I'm loving playing with Blend4Web.
If anyone can point me in the right direction for my currently problem I would be very grateful.
If you look at this demo I created, you will see a menu on the left which when clicked makes the camera move to each box in the 3d scene. However this menu fails when viewed on mobiles and tablets because it shrinks and becomes impossible to view.
http://www.pixelperfect.co.uk/Misc/blend4webmenu/menu-test-01.html
What I would like to achieve is a menu at the bottom, just like the SketchFab annotations menu, where each menu item is displayed between two arrows either side. Then with each click of the arrows, the menu name changes as it cycles through the list and the camera moves to each relevant box as each menu name appears.
If there is a tutorial or guide somewhere I would be very grateful.
Many thanks,
Jas
I'm loving playing with Blend4Web.
If anyone can point me in the right direction for my currently problem I would be very grateful.
If you look at this demo I created, you will see a menu on the left which when clicked makes the camera move to each box in the 3d scene. However this menu fails when viewed on mobiles and tablets because it shrinks and becomes impossible to view.
http://www.pixelperfect.co.uk/Misc/blend4webmenu/menu-test-01.html
What I would like to achieve is a menu at the bottom, just like the SketchFab annotations menu, where each menu item is displayed between two arrows either side. Then with each click of the arrows, the menu name changes as it cycles through the list and the camera moves to each relevant box as each menu name appears.
If there is a tutorial or guide somewhere I would be very grateful.
Many thanks,
Jas