The Blend4Web team have further improved their impressive .blend file embedding for webpages.
We proudly present the community with the new release of Blend4Web - the open source Blender-based framework for creating interactive 3D web applications.In this version: new photo-realistic demo, dynamic loading feature, Lamp Data node, and image-based lighting.
We've created a new demo scene - “The Fountain”. To implement interior illumination a set of multiple light sources has been used. The combination of particle systems, node materials and a sound source perfectly simulates the water flow. The scene features realistic bronze and marble materials. The texture of the environment simulates the DOF effect and seamlessly blends with the scene objects.
Now we have the possibility to load and unload additional scenes at runtime (aka dynamic loading). This feature allows web applications to work with an unlimited amount of resources being loaded. For example, sales configurators, product catalogues, game levels can be now built effectively.
Added support for the visual shader editor's Lamp Data node, that has been implemented in Blender 2.70. The node provides some light source parameters which can be useful for creating various interesting effects (e.g. to simulate subsurface scattering).
The engine's ambient model has been extended for environment maps to make much more realistic local scenes possible (this is also known as image-based lighting).
9 Comments
Looking forward, if cautious of data.
Does anyone else have a problem with Blend4Web freezing when it loads? Like it'll load to a certain percent, and then never go any higher.
Hey, what's your browser, operating system and video card?
It stuck at 97% for me, but the sound was playing but the sound controls weren't responding, which confused me at first. I reloaded and waited and it did the same thing, but after waiting another 20s or so, it finished loading.
Cool! works great for me :-)
Awesome!
Two very easy to implement things are IMHO missing: A fullscreen button (element.requestFullscreen in all vendor prefix versions) and pointer lock so you can pan like here: http://panzi.github.io/mandelbrot/#!31668,7987,6
Hi!
The fullscreen button is actually present in the standalone player http://www.blend4web.com/en/demo/fountain/ - we just remove it when inside iframe. Pointerlock is used in the Farm demo for FPS controls.
If the iframe has allowfullscreen="true" you can open fullscreen from within the iframe. You can check if you can trigger fullscreen by checkeing document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.fullscreenEnabled (not the different spelling for Mozilla).
Thanks for the tip! We'll look at this!