Login  Register

Re: OBJ Model Texturing Problems

Posted by Pixelapp on Nov 16, 2011; 7:17pm
URL: https://forum.jogamp.org/OBJ-Model-Texturing-Problems-tp3513440p3513650.html

At a glance I see you only have two of these:

                                tex[count].setTexParameterf(gl, GL2.GL_TEXTURE_MIN_FILTER,
                                                GL2.GL_NEAREST);
                                tex[count].setTexParameterf(gl, GL2.GL_TEXTURE_MAG_FILTER,
                                                GL2.GL_NEAREST);
                                tex[count].setTexParameterf(gl, GL2.GL_TEXTURE_WRAP_S,
                                                GL2.GL_REPEAT);
                                tex[count].setTexParameterf(gl, GL2.GL_TEXTURE_WRAP_T,
                                                GL2.GL_REPEAT);

Add the last to methods. Then check back.