.obj files in Opengl with Textures -


so trying load .obj file c program using opengl graphics library. works fine, until add textures. image renders in black , barely visible, , because there white axis in center of window blocked object.

i've narrowed down , think has .mtl file. if delete it, object @ least renders in white, normals lighting, , work fine. there no textures.

i have been told meddle .mtl file, double check lighting numbers , such, don't know how or know reasonable numbers like.

what problem/how fix it?
thanks!

opengl has no concept of .obj or .mtl, in fact has no idea file is. using separate third party library this, , problem lies there (or forgot add lights , texture coordinates)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -