Closed landonsilla closed 12 years ago
I've dropped the file into the GUI in the dev
branch (which uses OBJLoader
) and seems like something loads:
http://twitpic.com/actutw/full
Blender seems to be doing a better job at loading this:
http://twitpic.com/actwrg/full
Seems to be something about the normals.
I'll study the file...
Ah, I see. Blender does doubleSided by default. So it's just a problem of the model itself.
However, I'm pretty sure that your problem is that the object is not in the center and that's why you don't see it. Try loading it in Blender.
I am nearing the completion of my three.js viewer, it has turned out great! I have perhaps 400 different 3d objects that all converted and look good. But I have one obj that just won't work. View it here: http://archive.cyark.org/3dviewer.php?id=media_EXP_20120720_104027
View the original obj here: http://archive.cyark.org/projects/EXP/area_07-11-12-15-58-12__1905/media_EXP_20120720_104027_med.obj
And view the js the convertor created here: http://archive.cyark.org/projects/EXP/area_07-11-12-15-58-12__1905/media_EXP_20120720_104027/file-0.js
I just got a new download this morning and used the convertor there, as well as the new Three.js (r49). I also did a build of it without minify and pointed my viewer to that, so the errors in my browser could be tracked a little bit better.
Some info about the model. It's just a mesh with vertices (with apparently color values at the end of the line which, I think, the converter is ignoring, but that's a very very low priority issue for me now) and a list of faces. There are no normals, there are no materials, there are no textures. Is this the problem?
What information do you require to be in your obj's for this to work correctly?