Login  Register

Re: problem with "glu.gluBuild2DMipmaps"

Posted by gouessej on Apr 19, 2012; 10:24pm
URL: https://forum.jogamp.org/problem-with-glu-gluBuild2DMipmaps-tp3923928p3924615.html

Hi

At first, please switch to JOGL 2.0 as JOGL 1 is no more maintained. Secondly, don't forget to use GLUgl2 instead of GLU. Thirdly, create a TextureData with TextureIO, then create a Texture with this TextureData and use TextureData.getBuffer() with gluBuild2DMipmaps. Look at the Java documentation if you don't see what I mean.
Julien Gouesse | Personal blog | Website