saitoobjloader texture loading issue
in
Contributed Library Questions
•
8 months ago
I'm trying to import a simple block object with a texture on one face and I can't get the texture to load. I'm getting the following debug message in the output window.. I'm assuming that the texture load is being skipped for some reason, but I'm not sure why. The model itself works fine, and the color appears on its face, but not the texture diffuse.
If anyone has used the OBJLoader library before, do you know if the .mtl file needs to include anything specific in order to import correctly?
- Loading this = ../data/block.obj
Loading this = block.mtl
material: 'Default_Material'
material: 'Brick_Antique'
diffuse: 'Brick_Antique.jpg'
found group
group 'block-SKP-Default_Material'
found group
group 'block-SKP-Brick_Antique'
Obj Name: default
V Size: 8
Vt Size: 24
Vn Size: 6
G Size: 3
S Size: 2
objloader version 021
18 August 2010
http://code.google.com/p/saitoobjloader/
OBJBoundingBox - Getting the Bounding Box
texture: false
texture: true
texture: false
texture: true
If anyone has used the OBJLoader library before, do you know if the .mtl file needs to include anything specific in order to import correctly?
1