// NetBeans OpenGL Pack #2 in most popular plugins ranking

NetBeans OpenGL Pack logoSince I haven't bloged for a long time about the OpenGL Pack, here are some notes for the last two update releases.

Beside updates and fixes the only new feature I added is the OpenGL Quicksearch. It uses the NetBeans 6.5 Quicksearch functionality (similar to ctrl + 3 in eclipse) and searches through several OpenGL resources.



currently are five resources available for search:

power users can restrict the search to a category with the following prefixes ([prefix  space] searchstring  (space searchstring)*):
gl for GL SDK, ext for GL extensions, nv for Nvidia extensions, ati for ATI/AMD Extensions.


JOGL component in NetBeans Formdesigner OpenGL quicksearch GLSL editor

Pictures featuring: Form Designer sample project, GL Quicksearch, updated GLSL 1.3 editor

Changes in 0.5.3:

  • Java Applet and Webstart support
  • OpenGL Quicksearch
  • GLSL editor updated to support GLSL 1.3 (OpenGL 3.0 spec)
  • two new NetBeans Form Designer sample JOGL projects
  • NetBeans 6.5 and JDK6 are the new minimum requirements

Changes in 0.5.2 since last release:

  • JOGL distribution has been updated to version 1.1.1
  • GLSL linker now does not stop linking shaders on compiler warnings
  • the pack should now correctly deploy JOGL and GlueGen's native libraries on all supported platforms (64bit bug)

To download the pack, please visit the plugin portal.

As always, please use the user mailing list for feedback and the issue tracker for bug reports on the project page.

- - - - -

BTW the pack recenty reached the 36k downloads milestone which makes it to the #2 in the most popular plugins category of the plugin portal ;)




Comments:

That is good news !
I'll test it right now ;)

Posted by Alessandro on May 20, 2009 at 03:10 AM CEST #

keep up the good work on open gl pack.
The installation is a total breeze.I never though configuring opengl with java is this easy.
Keep up the good job :D

Posted by john on June 02, 2009 at 11:16 AM CEST #

thank you both for the positive feedback :)

Posted by mbien on June 02, 2009 at 06:19 PM CEST #

Hello!
I'm a student and I'm trying to use NetBeans to work with jogl for the first time. I have downloaded NetBeans, and, I think, the appropriate files to go with it. But, when I try to import the library associated with openGL I get the error message: "package... does not exist". I am using code from http://pepijn.fab4.be/software/nehe-java-ports/ which should work and be java compatible.

Example:
import com.sun.opengl.util.FPSAnimator; //this has an error message:
package com.sun.opengl.util does not exit
import javax.swing.*;
import javax.media.opengl.*; //this has an error message: package
javax.media.opengl does not exist
import java.awt.*;
import java.awt.event.*;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;

The rest of the imports in the example are fine, just those two are having difficulties. However, in other programs any openGL files have a similar error message. Do you have any suggestions?

Thanks!

Posted by Lucy on June 03, 2009 at 06:16 PM CEST #

Hi Lucy, I answered your question in the mail you sent me - it is basically a missing jar file in the classpath. If you would start with a OpenGL project as template this would be managed automatically for you (library path too).

Hope that helps ;)

Posted by mbien on June 03, 2009 at 07:10 PM CEST #

Thank you so much for your answer! Now there aren’t any errors when I build the code.
Unfortunately I have a new message when I try to run the program:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\jdk1.6.0_13\jre\bin\jogl.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1695)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)

at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:83)
at lesson1.GLDisplay.<init>(GLDisplay.java:61)
at lesson1.GLDisplay.createGLDisplay(GLDisplay.java:57)
at lesson1.GLDisplay.createGLDisplay(GLDisplay.java:39)
at lesson1.Lesson01.main(Main.java:10)
Java Result: 1
Again, any insight would be appreciated
Thanks!

Posted by Lucy on June 04, 2009 at 03:16 AM CEST #

Rule #1: don't put native libs in system/jre folders they cause far to much troubles in webstart and other apps ;)

just start your app with -Djava.library.path="path/to/lib/folder" or use the projects templates we provide in the netbeans opengl pack.

Posted by mbien on June 06, 2009 at 06:35 PM CEST #

Hello,
thanks for the notes. Will test it.

Laurence

Posted by gestion de contacts on March 05, 2012 at 12:30 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed