Forum

User posts Mentalist
14 December 2015 11:47
Thank you.
I am using Firefox 42.0 also - OS X 10.6. It may be because that computer is an old MacBook Air and doesn't perform well. I will test on my iMac later and let you know if I still get the error.

Update: I only get the error on my MacBook Air. On my iMac running OS X 10.10.1 it runs fine.
13 December 2015 09:17
Thank you for all the helpful info!

I didn't know about the 'interactivity' directory. It looks like there are many helpful example files in here, so I will study them all.

I looked through the documentation for the list of allowed animation names, but I didn't see it. Could you please tell me what section it's in?

So for now if I need more than one animation to play at a time on an object I will use the Play Timeline node.

P.S.
iq_test.blend had an unresponsive script when I opened it in Firefox.
Script: http://localhost:6687/src/renderer.js:502

Also, node_play_anim.blend has a missing asset, it seems. When I open the .blend I get:
…/Documents/blend4web_sdk_free/blender/capri/props/sunglasses/sunglasses.blend': No such file or directory

These interactivity demos are great though! I'm already learning some new things from them.
13 December 2015 04:40
While I, as a beginner myself, am not the most qualified person to answer your question, I will since nobody else has.

- From the tests I have done, Blender's modifiers are only applicable within Blender. There is no standard implementation of modifiers across different 3D software packages, nor are they even called 'modifiers' in other software. Each modeling program has its own way of dealing with such tasks. So it is no surprise that when exporting Blender data for the web that modifiers must be applied before exporting, just as if you were exporting to another piece of 3D software.

- While I'm not sure what "custom properties" you may have in your armature, Blend4Web does support shape keys.

- I don't know if curve data is supported in Blend4Web, and I don't have B4W installed on the machine I'm typing this from. If I have time I will test this later and get back to you. But remember, you can always convert curve data to mesh data.

- Yes, camera movement can be restricted in Blend4Web, and it is quite simple to do.

- Yes, you can play idle action while waiting for user input.

- Yes, you can change to another scene or have a URL redirect triggered by user interaction. And yes, this can be programmed visually in the Logic Editor. Here's a tutorial to get you started with that.
12 December 2015 16:16

If you an artist Blend4Web much more easier to use, but libraries not compalible with three.js, its a different engines.

This is why I am so excited for Blend4Web! It seems artist-friendly, powerful, and familiar because I already know Blender. I still have a lot of studying to do before reaching proficiency in B4W, but I am optimistic.
12 December 2015 03:49
Thanks, Alexander!

Sorry about the broken link. It should be okay now. I had renamed it in Dropbox, but that change hadn't taken effect.

I basically get the concept of what you mean. I don't have those .blend files in my SDK - are they only in the pro version?

I will show a few of the setups I have tried that didn't work. Some of them may be valid connection types but I'm doing something else wrong. Others may not be valid connection types. I'm hoping to receive some feedback from the forum community on what I've got right or wrong.

1. (Two 'Entry Point' nodes in the same node tree)

.blend file

2-A. (Cone has its own node tree)


2-B. (Cube has its own node tree)

.blend file

3. (One 'Switch Select' node for both objects)

.blend file

As you can see, I've tried various approaches, and I'm curious to know what's possible. But I still haven't had success.
11 December 2015 20:14
When should we use Play Timeline, and when should we use Play Animation instead?

They are described in the manual, but I'm not sure how to decide which one to use.

One reason I ask is that I haven't been able to get Play Animation to work.
Here's a .blend demonstrating Play Timeline working on a tetrahedron, and Play Animation not working on a cube (nothing happens when you click the cube). Each has its own node tree. I probably just overlooked something.
11 December 2015 19:14
Update:

(1) Removing and re-adding the SDK fixed the issue of the wrong version number being shown. I didn't change the file path at all, but it seems that this refreshed it and now it is displaying correctly.

(3) Thank you Alexander! It's working for me now.
10 December 2015 17:13
Thank you, Alexander.

(1) I will continue looking into this.

(2) I uninstalled the old version of the SDK on my home computer (15.10) and installed the new one (15.11). Now the nodes are fool-proof! It won't let me fork two connections from one output.

(3 - new) While the .blend you sent me is working fine, this one I made is not. Would you mind pointing out what I did wrong?

I really appreciate the help!
10 December 2015 05:02
Thank you!

(1) I will check my B4W version on that computer (I'm not in front of it now). On the computer I am using at the moment B4W 15.11 is installed (I know this because I still have the zipped SDK: blend4web_sdk_free_15_11.zip), however when I look in Blender's Preferences in the Add-ons section, the Blend4Web version reads 15.4.0 - is this a bug/typo?

(2) Is there ever a case when having two connections from one output is allowed in the Logic Editor, or should I always avoid it?

(3) Got it!

I appreciate you attaching the .blend as well. That was very helpful!
09 December 2015 16:10
I have an animation accompanied by a sound that is supposed to be triggered when an object is clicked.

I am following this tutorial, but I think Blend4Web's nodes have changed since this video was made, because I don't see the option to add a Select & Jump node. So what is the current way of setting this up?

Here is a screen shot of the node setup I tried instead, but it's not working. I get a "No path from Entry Point!" error message, and I don't understand why.



If anyone can explain how to make an object animate and play a sound when it is selected, I would be very grateful.