Closed tiansijie closed 8 years ago
Could you setup a live example and with the camera pointing to the wrong area? I tried loading the .obj into the editor and seemed to work fine.
Here is the live demo edit from three.js examples http://sijietian.com/WebGL/threejs/examples/webgl_loader_obj_mtl
Also, when I loaded the model in editor and used point light, I got some artifacts. You see some wired triangles on the model.
Could you try updating to the latest version (65)? Both three.min.js
and the loaders?
I updated and still got the same result.
Did you also updated the loaders? Here's how it looks on the editor here:
Wait, I think you're talking about dabrovic-sponza
and I'm talking about crytek-sponza
...
ya, it's the dabrovic-sponza what I am talking about...
Seems like Blender has the same problem...
My Blender on Windows seems totally fine.
That's even more puzzling now...
Is there a way to fix it?
If there is a way, I don't know it... It's really weird that the same version of Blender loads the file properly on Windows but not on OSX.
OBJMTLLoader
has been removed in r74
. #8085
I am using an sponza model from http://graphics.cs.williams.edu/data/meshes.xml and objtMtl loader from your three.js. But I got some weird result shown below. The first pic I took when using the three.js. You can see the round hole has been blocked. But when I opened this model in Maya. I got the second pic. So, I think there some problem with the mtl obj loader.