Hi,
Here it is the reply from the user:
"We are using the addon for Blender to export our models. You can see the
current state at: http://annacarreras.com/toonaville/vc/Guia.html.
We have the textures at the same folder of the json model.
You can find the code at:
https://www.dropbox.com/s/clednaxsfwzt20l/vc.zip?dl=0
Inside the VC folder you will find the Guia.html page and the model inside
the models folder.
Tha problem is that some textures doesn't render well.
The model normlas are ok because if we use:
var material = new THREE.MeshNormalMaterial( materials );
the browser renders all the surfaces.
We are using:
var material = new THREE.MeshFaceMaterial( materials );
model = new THREE.SkinnedMesh( geometry, material );
If we use:
enableSkinning(model);
All the model disapears.
Currently the textures that were created using a UV modificator are
correctly rendered (the character arms and legs).
On the other hand the textures that uses an Unwrap modificator (body and
helmet) are not rendering well or even they become transparent and disapear.
Could you please help us. We are attaching also images to show you how the
character should look like."
Thanks in advance.
Kr, Xavier Carol.
2015-06-15 13:10 GMT+02:00 Xavier Carol Rossell <xavier.carol@i2cat.net>:
> Hi,
>
> A user is having problemas with WebTundraGFX. Here it is her report:
>
> "We are using the WebTundraGFX example to load a 3D static model.
> Everything works fine, we can use the mouse controls to zoom, rotate and
> move the character.
> We can even change, by code the lights of the 3D environment and camera
> position.
> However the character is not well iluminated. There are some parts that
> appear dark black.
> We've tested it with red, blue and white lights (see attached images) an
> it always apper some dark areas.
> Any suggestions on how to solve it? Why is this caused?"
>
> Thanks in advance.
> Kr, Xavi Carol.
>
_______________________________________________
Fiware-creatifi-coaching mailing list
Fiware-creatifi-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching
Hi - looks like a problem with your model / geometry I think. And a generic three.js usage problem.
Can you share the model file? Or even put up a live demo that demonstrates the problem?
Is it exported from a modeling application? You could check about normals there. Also the version of the exporter would be good to know.
Recalculating the normals may help too.
Also, what code are you using to load? You refer to WebTundraGFX – if it's with that code the loading there is for the animated & normal + light mapped texturing iirc. If that's the case, you could test what happens with your model & the webtundra examples (i mean WebTundra repo, not the WebTundraGFX one), or – depending on the export you are using – with a suitable version of plain three.js and one of the loading examples there to match your file format / export.