Forum

User posts trepaning
10 December 2014 21:18
this file

http://www.pestnoproblem.ca/x3d/hr211-homeSentinel-b4w-lights-packed.blend

makes this page

http://www.pestnoproblem.ca/x3d/homeSentinel-b4w.html

When the PET FRIENDLY button is clicked, I would like the switch to move up to ON and i would like the Ultrasonic LED to stop flashing. When I click the button again, it reverts to flashing in a loop again and the button moves back to OFF position.

I could set two LEDs, one flashing and one not, and just swap them, but is there a way to actually turn off and on the flashing loop?
10 December 2014 20:43
How can a selected animation be made to loop? as it is, SELECT AND PLAY only achieves one loop, but it is not cyclic. As an example, making a light sequence flash using VALUE animations, and when a button is pressed, a different animated loop happens, replacing the first, and back again when the button is again clicked (or another button is fine also).
10 December 2014 20:38
thanks, I will do that.
10 December 2014 10:00
I would like the animated frames to be available as large JPGs. As it is, there are a few images within this tutorial that I cannot decipher because of my poor old eyes. What I can see, I can make use of. I would like to see it all thanks!
09 December 2014 20:57
Good to know about the strip length, and it makes sense. However, having just looked at the Blend file I posted, I don't see where to set the length for a sound file or NLA strip. <edit: Just realized there is an N to show options in the NLA.>

I assumed the node layout for the watch and sunglasses were made in and exported from Cycles. I am just a little over a year using Blender, so the good bits still elude me somewhat. I do know how to bake, and did that to create textures for B4W already with all the instruments from Junk, but thought there was a way to work with Cycles that I had not figured out. Baking is easy.
09 December 2014 20:02
One thing to note: I originally had the sound files cut so they started tight against the audio waveform. However, when I clicked a tube, I would get a double shot, like "bang ba". I then added a few frames a silence in front and behind the audio clips, then I got just "bang". I assume it is because when the loop resets, it plays a few frames again.\

And a request: I cannot get cycles materials to work, they always turn out pink. If someone could set up a cycles material with this blend file, either a black plastic tube with ridges, and/or wood planks, and/or the white tubing (which is supposed to be silver duct tubing), I would definitely study the file to learn.
09 December 2014 18:14

Ответ на сообщение пользователя Yuri Kovelenov
Could you please post here the source files for your test case (including sounds). That would speed up the bug fixing process much. Thanks!

Here you go http://www.trepaning.com/b4w/glube-b4w-musical-01.blend
09 December 2014 11:03
more important than random selection is both Chrome and FireFox to handle the audio properly. IE would also be nice.

cannon.js is not being updated, so far as I can tell, and has not been for awhile.

I look forward to reading what the team comes up with!


offtopic: Here is a paper towel rack my dad had made, I made it as b4w for a quick test
http://www.trepaning.com/b4w/susieTowel.html


09 December 2014 08:33
When I first decided to do an animation project with the Junk musical set, it was just going to be an animation. However, because I had previous experience with ThreeJS, I started testing in that environment. It came to the point where I was ready to bring in characters
http://www.trepaning.com/3js/elvisWalls/2014-10-15-instruments.html

However, Sea3d was the character file format I was familiar with for ThreeJS
http://www.trepaning.com/3js/SEA3d/elvisJUNK.html .

Using Blender exclusively now, Sea3D was no longer an option, as it is only for 3D$ Max. Thus, I found Blend4Web. I mention this little history to demonstrate I could find alternate ways to make my project work, but I like this B4W effort, so am tossing out some ideas that may be handy for development. That said, I am not taken aback being told to shut up.

Here is a page that when you shoot the ball and it hits the floating plank, it switches to another page. Give the world that in B4W!
http://www.trepaning.com/3js/elvisWalls/pageChange-eventTriggered.html
09 December 2014 03:10
random selection of multiple speakers assigned per tube would be awesome. This is just a test, not a "serious" project, but something I would build upon if it was readily available. And by "it". I mean working audio in at least Chrome and FF, and a random selector of audio sources.