exporting to .HTML scales object wrong
23 April 2015 12:10
23 April 2015 12:57
Hello and welcome!
If you press f12, and see the console you may see some warnings and errors. So here we see:
1. B4W EXPORT ERROR: Incomplete mesh "Circle" No UV in mesh with UV-textured material. Material: "Arterie".
"Circle" is an arterie and the material uses empty texture, but this texture has UV mapping. So the engine tries to find UV coordinates and fails - because there aren't any. And it makes it pinkish "errorish" material instead of existed one - to show that here are some errors. So I recommend just to delete this texture because it doesn't seem to do anything
2. B4W EXPORT ERROR: The "Armature" armature modifier has no armature object or it is not exported. Modifier removed.
Arterie has an empty armature modifier - just delete this modifier.
3. B4W EXPORT WARNING: Missing active camera or wrong active camera object
You doesn't have any cam in the scene - so the engine just makes default one. I recommend to add a camera because you can control its parameters and position in that case)
4.
B4W WARN: non-uniform scale for object Sphere.001
B4W WARN: non-uniform scale for object Circle.003
B4W WARN: non-uniform scale for object Circle.002
B4W WARN: non-uniform scale for object Circle.001
Aand this is it, As said here (Transform > Scale), all 3 components (x, y, z) should be the same. You can select those objects, press Ctrl+A ->Apply scale, or you can select "Apply scale" in Blend4Web part of Object settings. Also select here "Apply Modifiers" too because now everything exports without subsurf
One more thing: I strongly recommend deleting all those lamps exept one. Lamps are very heavy things and you can do it all just using one sun lamp and adding some environment lighting.
Here I made everything said above :)
NIERE-MC010_A_BRender_test.blend
NIERE-MC010_A_BRender_test.html
If you press f12, and see the console you may see some warnings and errors. So here we see:
1. B4W EXPORT ERROR: Incomplete mesh "Circle" No UV in mesh with UV-textured material. Material: "Arterie".
"Circle" is an arterie and the material uses empty texture, but this texture has UV mapping. So the engine tries to find UV coordinates and fails - because there aren't any. And it makes it pinkish "errorish" material instead of existed one - to show that here are some errors. So I recommend just to delete this texture because it doesn't seem to do anything
2. B4W EXPORT ERROR: The "Armature" armature modifier has no armature object or it is not exported. Modifier removed.
Arterie has an empty armature modifier - just delete this modifier.
3. B4W EXPORT WARNING: Missing active camera or wrong active camera object
You doesn't have any cam in the scene - so the engine just makes default one. I recommend to add a camera because you can control its parameters and position in that case)
4.
B4W WARN: non-uniform scale for object Sphere.001
B4W WARN: non-uniform scale for object Circle.003
B4W WARN: non-uniform scale for object Circle.002
B4W WARN: non-uniform scale for object Circle.001
Aand this is it, As said here (Transform > Scale), all 3 components (x, y, z) should be the same. You can select those objects, press Ctrl+A ->Apply scale, or you can select "Apply scale" in Blend4Web part of Object settings. Also select here "Apply Modifiers" too because now everything exports without subsurf
One more thing: I strongly recommend deleting all those lamps exept one. Lamps are very heavy things and you can do it all just using one sun lamp and adding some environment lighting.
Here I made everything said above :)
NIERE-MC010_A_BRender_test.blend
NIERE-MC010_A_BRender_test.html
23 April 2015 13:13
26 April 2015 09:14
26 April 2015 12:40
Hi,
Can you open https://get.webgl.org/ with iphones?
Note that Apple turned on WebGL support by default only starting from IOS8. If you use earlier version, you won't be able to watch any WebGL content.
…it is not working on iphone 4 or iphone 6. Do you have any simple solution?
Can you open https://get.webgl.org/ with iphones?
Note that Apple turned on WebGL support by default only starting from IOS8. If you use earlier version, you won't be able to watch any WebGL content.