由用户创建的信息 WillWelker
21 October 2015 08:10
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.
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).
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).
16 October 2015 10:45
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
15 October 2015 18:32
15 October 2015 16:26
15 October 2015 16:02