论坛

由用户创建的信息 WillWelker
21 October 2015 08:10
Here is a demo that uses buttons in a UI type overlay. The source files for this are in your SDK (blend4web\deploy\tutorials\examples\cartoon_interior).
With a little programming, I'm sure it can be done.
20 October 2015 02:44
POT means Power of Two dimensions. NPOT is Not Power of Two.
To convert an image that has dimensions that are NPOT, use your favorite image editor to re-size it.
For example an image the was 500 X 500 would be NPOT, you could change the dimensions to 512 X 512 and it would be POT.
The power of two numbers can be found by starting with 2 and doubling it. 2, 4, 8, 16, 32, 64, 128, 512, 1028 etc.
So an image that was 512 X 1028 would be good.
19 October 2015 19:19
There is also a great example in your SDK.
In you Blend4Web root folder, go to blender > interactivity > node_play_anim.blend
When you first open the file it may be set on Material Nodes, so you can switch to Logic Nodes.
It has an open-close type animation that will apply nicely to your scroll.
Also in your NLA view, don't forget to hit that little down arrow to convert you animations into a NLA track (this can bee seen in the video).
17 October 2015 04:47
Thats great! A sprinting croissant in 30 seconds flat.
16 October 2015 10:45
Now you've got me trying to figure out how to mask in the Blend4Web engine. I suspect it can be done with layer masking and/or material masking (using material nodes?). I hope to see your project when you get it done!
16 October 2015 09:54
You are correct, non uniform scaling is not currently supported however I think they have it in the works. I was thinking that with your scroll, if you planed on having any texture, you might want to mask it rather than scale it? Vertex animation is also possible. As for the modifier, that is above my pay grade, one of the Blend4Web guys will have to address that one. I am sure one will be along shortly
16 October 2015 08:08
Hi seb, nice to meet you.
Can you attach your .blend file? You can use the "Attach" button in the lower right corner.
15 October 2015 18:32
Hey I got it working. I just needed to get Java added to the path, do a restart and it works. See attached Project Report.
I believe, you can create a project without Java but if you try to compile it or make a bundled project (pre-compiled?), it won't work without Java being on the path.
15 October 2015 16:26
Okay, awesome. Amazing what happens when you read the documentation
For the record, I did a test with all the check boxes left at default and it worked great.
After reading the documentation, I see there is a path for exporting your project out of the SDK. I feel another video coming lol.
15 October 2015 16:02
Long ago when Flash was cool, my first exposure to programming was Action Script. I learned to code specifically so I could make Flash websites. I think we will see people learning Blender and coding because of Blend4Web.