Login  Register

Re: method not implemented: gluScaleImage

Posted by Wade Walker on Jan 24, 2011; 5:41pm
URL: https://forum.jogamp.org/method-not-implemented-gluScaleImage-tp2304656p2321315.html

Interesting. I get the same error when I try this (i.e. it uses all 8 GB on my machine, then starts paging while I frantically try to kill it).

But when I step through the insides of gluScaleImage() in the debugger, it completes without a problem (though Image.fill_image() and Image.empty_image() do take a few seconds each.

The source code seems pretty much identical between JOGL 1.1.1a and JOGL 2. Maybe you were using the C path in JOGL 1 somehow? You might try setting jogl.glu.nojava=true, which seems to bypass the Java scaling method in favor of a C method (which I can't see any source code for, so it may not work).

I'll look at the Java method some more to see what's going on there.