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.
IndexProcessing DevelopmentLibraries,  Tool Development › Looking for GLUtessellatorCallback
Page Index Toggle Pages: 1
Looking for GLUtessellatorCallback (Read 864 times)
Looking for GLUtessellatorCallback
Nov 27th, 2008, 4:38pm
 
Hello,

I am updating the NextText library and am using the GLU tessellator to build the glyphs, similar to what is done in PGraphicsOpenGL.textCharShapeImpl(...). I am doing this in my text renderer class just to get shape points, so the user does not need to be using OpenGL for this to work.

For some reason, when I try running a sketch that does not use OpenGL, I get a "ClassNotFoundException: javax.media.opengl.glu.GLUtessellatorCallback". If I just add the "import processing.opengl.*" statement at the top of the sketch file, I don't get this error, even though my renderer class imports the OpenGL stuff itself anyway.

Now the kicker is that I'm pretty sure I never use a class called GLUtessellatorCallback. I use a GLUtessellator and my class extends GLUtessellatorCallbackAdapter, but that's it.

Any ideas on what's going on?

Thanks!
Re: Looking for GLUtessellatorCallback
Reply #1 - Dec 22nd, 2008, 10:07pm
 
Bump...

I also tried compiling and running the .java file that is made when I export the applet and that runs fine.

Any help is appreciated!

Cheers,
-Elie
Page Index Toggle Pages: 1