Login  Register

Port to JOGL2 questions

Posted by Martin on Nov 05, 2010; 12:47am
URL: https://forum.jogamp.org/Port-to-JOGL2-questions-tp1845722.html

Hi guys,

I'm almost done with the "raw" porting of Jzy3d, but I can't find a few things such as:
com.sun.opengl.util.BufferUtil
TextureIO.newTexture(BufferedImage, boolean) seams away. Can I load a buffered image?

In the jogl demo I still can't find on my classpath:
@Root(name="curve") / @Element
com.jogamp.opengl.impl.io.StreamUtil
com.jogamp.opengl.util.glut.gl2.GLUTgl2
NativeSurface
CGcontext

Also, following lines of code don't build in the demos:
this.nurbs = glu.gluNewNurbsRenderer();
glu.gluBeginCurve(nurbs);
glu.gluEndCurve(nurbs);
using javax.media.opengl.glu.GLU

If you think you know the missing jars, just tell me :)
Regards,
Martin