Questions tagged [objloader]
75 questions
0
votes
1 answer
import LOCAL .obj to load with Three.js OBJLoader using React
I'm trying to import a local .obj to be loaded with THREE.OBJLoader().load() function, I know it works because when I pass a non-local URL (for example 'http://downloadOBJfromHere.com') it loads it perfectly, my main problem is that that way…

LuisEgan
- 952
- 2
- 13
- 28
0
votes
1 answer
Error in OBJFileLoader
There's error in OBJFILELOADER.py file from the link - https://www.pygame.org/wiki/OBJFileLoader .
I think there's python2 to python3 version error, however I tried changing the raise ValueError thing and used obj as obj=(filename)
But still…

Warlord
- 33
- 1
- 6
0
votes
1 answer
Multiple material on single obj file with three.js
I'm using three.js to load an obj file, a ring with some pearls. I haven't got an mtl file, as the software we use to export the obj (rhinoceros(?)) won't generate it with an obj file (this is what I was told by the graphic designer).
I need to set…

gattass69
- 101
- 1
- 12
0
votes
0 answers
OBJLoader 404 error
var loader = new THREE.OBJLoader();
loader.load(
'/Models/mi.obj',function (object) {
scene.add(object);
}
);
error message
three.min.js:639 GET http://localhost:55127/Models/mi.obj 404 (Not Found)
current situation
The obj…

오수빈
- 17
- 3
0
votes
3 answers
OBJLoader and MTLLoader aren't rendering png/texture in ThreeJS
I imported the 3D model that contains .obj .mtl and bunch of jpeg and pngs
trying to load the model with /images like this
But, I'm getting is only a black model like his
I wonder what I have missed as I followed the guidelines for using the…

Nawar Tamawi
- 3
- 2
0
votes
0 answers
OBJLoader not loading Structure.IO model files in Three.JS
I have the Structure.IO sensor which generates OBJ+MTL models that are correctly loaded into 3D editors (Blender, Cinema4D), but they are not showing in three.js. I've checked the loaded object and it has geometry and material that seems to be…

fanguitocoder
- 13
- 9
0
votes
0 answers
THREE.js OBJLoader not working properly
I have this file, I can display it in Blender, Cinema4D and Photoshop, but can´t import it successfully with Three.js OBJLoader.
https://drive.google.com/file/d/0B8Hv0HwLV830VDZqVVlseFhEMkk/view?usp=sharing
I see the loaded model in black, but with…

fanguitocoder
- 13
- 9
0
votes
1 answer
Can't render obj using objloader.js
I can't load my object. The screen is blank. The code to load is:
var mtlLoader = new THREE.MTLLoader();
mtlLoader.setBaseUrl('assets/');
mtlLoader.setPath('assets/');
mtlLoader.load('Gita.mtl', function (materials)…
0
votes
2 answers
THREE.OBJLoader can not display obj file?
This is my code ... and I searched a lot about it ... but I couldn't find where is the problem that nothing will show !! also there is not any errors ! I also can send you my files if u can help me ... thank you