We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Texture problems with SAITO .obj
Page Index Toggle Pages: 1
Texture problems with SAITO .obj (Read 849 times)
Texture problems with SAITO .obj
May 24th, 2007, 5:22am
 
Hello,

I'm having a problem with the .obj loader by SAITO.  When I import an .obj file into my program and draw it, the OBJModel disables texture mapping on all the polygons I've made in code (beginShape(); vertex(); etc. ).  Polygons made in code without a texture display fine, but those with the texture(img) command, display light gray and translucent, without any texture.

I have tried disabling the texture on the OBJModel, exporting the .obj without material definitions, switching between P3D and OPENGL, and displaying the OBJModel as points.

Again, only after the OBJModel draws does it disable all other textures, they work fine before.

Thanks for any suggestions.
Re: Texture problems with SAITO .obj
Reply #1 - Jun 1st, 2007, 10:20am
 
Could you give me the source code you are working on??
Page Index Toggle Pages: 1