Hi, i’m newbie in jogl. I would try some examples with convolution filters.
I try example from this http://www.java-tips.org/other-api-tips/jogl/how-to-use-various-2d-convolutions-filters-to-find-edges-in-an-2.html source, but the example will result into:
Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: Method “glConvolutionFilter2D” not available
at com.sun.opengl.impl.GLImpl.glConvolutionFilter2D(GLImpl.java:2492)
at cz.uhk.pgrf.conv.conv.JoglConvolution$Renderer.init(JoglConvolution.java:178)
at com.sun.opengl.impl.GLDrawableHelper.init(GLDrawableHelper.java:72)
at javax.media.opengl.GLCanvas$InitAction.run(GLCanvas.java:418)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:189)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
at sun.awt.RepaintArea.paint(RepaintArea.java:224)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:306)
at java.awt.Component.dispatchEventImpl(Component.java:4659)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
this exception. I try other examples with function glConvolutionFilter2D, but with the same result. I will very appreciate your help.