PDA

View Full Version : problem with glm.c (nate robins wavefront)



in_crisis
02-08-2005, 02:33 AM
hello!!
I am using Nate Robis code for viewing obj files. I am working with windows (project requirement..) but the textures are not pasted.. I can just watch the model in white. Does anyone know why?. Thank you in advance!!.

crusheye
02-08-2005, 03:54 AM
Hi!
While Nates glm Routine does load the Model with texture coordinates (if you activate the modeflag GLM_TEXTURE) it does not load or setup the textures for you. You have to use a texture loader, setup the right OpenGL textures and then draw the OBJ Model with texcoords activated.