.obj reader

Started by
2 comments, last by dpadam450 16 years, 4 months ago
Hi I am using Nate Robbins glm package to read a .obj file in my opengl program.I am exporting the .obj files from blender.I keep getting a error message"unable to read material file" even though I have included the material file in my program.Is the problem with blender's .obj exporter or am I doing something wrong? Thanks
Advertisement
probably you dont have *.mtl file, where should be.
if you dont have any *.mtl file, try edit, *.obj file, and delete line
mtl with filename.
if you have *.mtl file, please check directories, where should be this file.
thanks for the quick reply,but I have included the .mtl file.If I download .obj files from the net and use them in my program it works fine.The problem occurs only when I try to export my models from blender
Open them up and look at differences. THey are text format and just briefly see if theres anything wrong. .obj works fine for me when loading into blender, i dont know about the the thing your using though.

NBA2K, Madden, Maneater, Killing Floor, Sims http://www.pawlowskipinball.com/pinballeternal

This topic is closed to new replies.

Advertisement