Forum

How to use an HTML element in the Select node?

26 January 2021 22:41
I am developing a virtual environment with Blend4Web and I managed to create and arrange all the buttons of the interface through HTML and CSS.
I chose to create the interface with HTML and CSS so that I can better control the position of the buttons to suit the screen with the browser in full screen or not. And also because their visual quality is much higher compared to a button as a 2D object in the scene parented to the camera.

Now I need to make these buttons clickable through the Select node in Blender's Node Editor.
I know I could go on building the interaction in JS, but my knowledge of programming is not enough for the rest of the work. So I would like to continue with the visual programming of Blend4Web.

I would like to know if and how I can use the HTML elements in the editor's nodes.
Or how to arrange the buttons as objects parented to the camera to suit the browser screen in full screen or not and in different screen proportions, at least 16: 9 and 16:10.

I would appreciate it if someone could help me.
 
Please register or log in to leave a reply.