Forum

"Scaling" the output of Blend4Web

19 November 2014 08:16 #466
If this belongs in a different section, please move.

I would like to know how to "resize" the output of Blend4Web so that it can be made an element of a webpage rather than the entire page. Does this involve coding? Thanks.
19 November 2014 10:57 #469
Hi,

As described in this tutorial you can do it with an iframe html element.
It should look like this:
<iframe width="800" height="500" allowfullscreen src="path_to_exported_file.html"></iframe>

Width and heigth are desired size in pixels.
allowfullscreen is optional.
Blend4Web developer
 
Please register or log in to leave a reply.