Introduction to blend4web Scripting

Note: Before doing these tutorials you need to download and install the blend4web CE SDK from – https://www.blend4web.com/en/

First Example Hello World ‘App’ Explained

Click here for finished file (right click, save link as…) – hello1.html

Loading a 3D Scene & Making It Interactive

  • Click here for finished file (right click, save link as…) – hello2.html
  • Click here for finished file (right click, save link as…) – hello3.html
  • Blender file – redCube.blend

Basic Debugging Using A Browser’s Web Console

Change a 3D Model’s Texture Dynamically

Using The JS Callback Node To Mix Logic Nodes And JavaScript

Setting Up a Code Snippet So the Code Can Be Edited and Run – Instancing Part 1

Snippet Explained & Making a Pyramid From a Cube Duplicated – Instancing Part 2

Anchor Annotations, Creating Labels for 3D Objects

Custom Anchors Code Snippet