论坛

由用户创建的信息 WillWelker
20 September 2015 06:14
I understand what you mean. I think we are reaching the limits of the node logic. With Javascript working on a JSON export, it would be no problem. I haven't gotten into that much at this point. I want to cover the basics before I move on to the programming side of things. I think once we establish an asset sharing site or assets store for Blend4Web we will see templates that have all the JS programming done allowing an artists to re-skin and customize.

I think what you are asking is basically multithreading with the node logic. If that can be done, I don't know about it yet.
20 September 2015 02:28
The animation blocks in your NLA can by duplicated (Shift D) and moved around. So I duplicated the sphere animation block and moved it into the same frames as the cube animation. See attached blend.
19 September 2015 16:15
Yes, we can do that with no programming.
Here is a working example.
And the blend file.
So one object plays certain frames on the NLA that contain an aninmation block for the other object.

Also here is a video that goes in to more detail on the NLA panel.
19 September 2015 12:23
This will help advance my logic node understanding, thanks for the .blend.
Nice effect on your logo to.
19 September 2015 10:54
Where is the autorotate setting? I see the button in the player after it loads, but is there an export setting to make it rotate automatically?
*EDIT*
Found it, you put ?autorotate after the URL:
http://williamwelker.com/b4w/sphere/sphere.html?autorotate
19 September 2015 02:47
Hey, very nice. I will follow your progress on this. I want to make a spherical image viewer that changes the environment picture dynamically. Looks like you have it working.
18 September 2015 16:32
I finished this one today, Animation, Nodes and Sound.
https://www.youtube.com/watch?v=LhZr89Xyo6s

It shows how to use node logic for animation sound and page redirects.
Project page
Direct link

I am getting some erratic behavior on the page redirect. I have traced it to a DNS issue. The redirect does not work if the player is loaded in an iframe.

*EDIT* Okay, I have my DNS issues sorted out. Should be good now.
18 September 2015 10:35
Xsippo, it is my understanding that all the rendering occurs through the Blend4Web renderer rather than Blender Render or Cycles. The effects that you can achieve in Cycles won't render to WebGL using Blend4Web. If you have a scene in Blender, you can certainly render that into an HTML or JSON file that is viewable online. You will just need to take advantage of the Blend4Web render effects rather than Cycles effects.

If you haven't seen this video, it might be worth a look.
https://www.youtube.com/watch?v=nsQPI7YM-LE

I am still new to this myself so please elaborate on your question if I missed your point.
18 September 2015 10:23
I have noticed that when I show Blend4Web apps to people who have never seen them, they do not realize at first that they can scroll their view around. Everybody is used to a static 2D picture. Maybe you could take advantage of the player loading time to display an instructive image that lets users know they can interact with their mouse. Similar to the one that shows when you click on the "?" inside the player. Maybe there could be several options on which image to display depending on what camera setting are used.
I have been able to replace the image manually in the exported HTML file. I was wondering, does this loading image exist somewhere in the SDK so you could customize it to be part of every HTML export?
18 September 2015 09:47
Gersin, take a look at this app: https://www.blend4web.com/en/demo/tut_playroom/

The buttons are not inside the player but rather they are part of the HTML page. You can find this project inside you SDK folder and look at all the code. The location inside your SDK is: blend4web/deploy/tutorials/examples/cartoon_interior/cartoon_interior.html

Hopefully this addresses at least part of your question.