Michael Bien's Weblog don't panic http://michael-bien.com/mbien/feed/entries/atom 2011-01-08T23:19:58+01:00 Apache Roller (incubating) http://michael-bien.com/mbien/entry/netbeans_opengl_pack_0_51 NetBeans OpenGL Pack 0.5.5 released mbien 2009-06-29T18:58:43+02:00 2009-06-29T19:09:55+02:00 <a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260"><img vspace="0" hspace="10" border="0" align="left" src="https://netbeans-opengl-pack.dev.java.net/resources/NetBeansOpenGLPackLogo.png" alt="NetBeans OpenGL Pack logo" /></a> The NetBeans 6.7 compatible OpenGL Pack has been updated to version 0.5.5 and is now available on the <a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260">plugin portal</a> also. The current release is feature compatible with 0.5.4 (<a href="http://michael-bien.blogdns.com/mbien/entry/gl_pack_0_5_4">release notes</a>) only JOGL and project webstart extensions have been updated to JOGL 1.1.1a security update. http://michael-bien.com/mbien/entry/gl_pack_0_5_4 OpenGL Pack 0.5.4 now ready for NetBeans 6.7 mbien 2009-06-14T20:38:23+02:00 2009-06-14T20:38:23+02:00 <p><a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260"><img vspace="0" hspace="10" border="0" align="left" src="https://netbeans-opengl-pack.dev.java.net/resources/NetBeansOpenGLPackLogo.png" alt="NetBeans OpenGL Pack logo" /></a>NetBeans OpenGL Pack 0.5.4 is now ready to be used in the upcoming NetBeans 6.7 release, currently as rc2 available.</p> <p>It wasn't sure if we would be able to ship the GLSL editor in this release since NetBeans 6.7 changed the editor APIs once again. But fortunately the P1 bug was <a href="http://www.netbeans.org/issues/show_bug.cgi?id=161517">fixed in time</a> and we (and apparently many others, thanks for voting!) can keep using the Generic Language Framework (GLF aka Schlieman) - at least for now since GLF it is now a deprecated/unsupported module.<br /></p> <p>Build 0.5.4 will break compatibility with NB 6.5. The latest and also all other releases can be downloaded on the <a href="https://netbeans-opengl-pack.dev.java.net/servlets/ProjectDocumentList?folderID=11496&expandFolder=11496&folderID=8522">project page</a>. I will wait with the upload to the plugin portal until NetBeans 6.7 final is released.</p> <h4>Features/Enhancements:<br /></h4><p>Anyway. Not much changed since the <a href="http://michael-bien.blogdns.com/mbien/entry/netbeans_opengl_pack_2_in">last release</a>. The most important point is probably that the GLWorker used internally for tasks like shader compilation or capabilities viewer is now more stable on systems which do software rendering (e.g Mesa GL).</p><p>I added also an experimental feature which lets you define GLSL shader dependencies similar to java imports.</p><p>It is very common in GLSL to reuse code by simple concatenation of files. For example a set of independent shaders can reuse a code fragment defining some generic mathematical functions if the fragment has been concatenated to the top of all shaders which make use of the functions. Editing those kind of shaders would produce compilation errors without a way to inform the editor about those dependencies. </p><p>For example the following shader uses the function <em>light()</em> of <em>PerPixelLight.frag</em> by inserting the file <em>./PerPixelLight.frag</em> at the position of the <em>//import</em> statement.<br /></p> <h4>PerPixelLight.frag</h4> <pre class="brush: GLSL;"> vec4 light(void) { // insert fancy light calculation here } </pre> <h4>PlanetShader.frag</h4> <pre class="brush: GLSL;"> //import PerPixelLight.frag uniform samplerCube cubemap; varying vec3 vertex; void main (void) { //Cubemap gl_FragColor = vec4(textureCube(cubemap, vertex)) * light(); } </pre> <p>When you compile a shader with dependencies you should see something like that in the output window:<br /><img vspace="0" hspace="0" border="0" align="baseline" src="https://netbeans-opengl-pack.dev.java.net/resources/dependencyOutput.png" /><br /><br />All dependencies are listed in the compiler log and even the line numbers of the compiler warnings are translated back to the code fragments, which lets you jump via hyperlink directly to the annotated files. <br /></p><p>Just a warning: Please don't define cyclic dependencies, however double imports should work in theory (have I mentioned it is experimental? ;))<br /></p> <p>Happy coding!<br /></p> http://michael-bien.com/mbien/entry/netbeans_opengl_pack_2_in NetBeans OpenGL Pack #2 in most popular plugins ranking mbien 2009-05-19T20:50:12+02:00 2009-06-12T12:09:39+02:00 <p><a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260"><img vspace="0" hspace="10" border="0" align="left" alt="NetBeans OpenGL Pack logo" src="https://netbeans-opengl-pack.dev.java.net/resources/NetBeansOpenGLPackLogo.png" /></a>Since I haven't bloged for a long time about the OpenGL Pack, here are some notes for the last two update releases.</p><p>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.</p><p><br /><strong><br />currently are five resources available for search:</strong><br /></p><ul><li><a href="http://opengl.org/sdk/docs/man/">OpenGL SDK</a><br /></li><li><a href="http://www.opengl.org/registry/">OpenGL SDK Extension Registry</a></li><li><a href="http://developer.nvidia.com/object/nvidia_opengl_specs.html">Nvidia Extensions</a></li><li><a href="http://ati.amd.com/developer/sdk/radeonSDK/html/info/Prog3D.html">ATI/AMD Extensions</a></li><li>JOGL sources (only when JOGL module installed and used in at least one opened project)</li></ul><p>power users can restrict the search to a category with the following prefixes ([prefix&nbsp; space] searchstring&nbsp; (space searchstring)*):<br /><strong>gl</strong> for GL SDK, <strong>ext</strong> for GL extensions, <strong>nv</strong> for Nvidia extensions, <strong>ati</strong> for ATI/AMD Extensions.<br /></p> <p><br /> <a href="https://netbeans-opengl-pack.dev.java.net/resources/JOGL_FormDesigner_Integration2.png"> <img width="319" height="200" alt="JOGL component in NetBeans Formdesigner" src="https://netbeans-opengl-pack.dev.java.net/resources/JOGL_FormDesigner_Integration2_small.png" /> </a> <a href="https://netbeans-opengl-pack.dev.java.net/resources/OpenGL_QuickSearch.png"> <img width="106" height="200" alt="OpenGL quicksearch" src="https://netbeans-opengl-pack.dev.java.net/resources/OpenGL_QuickSearch_small.png" /> </a> <a href="https://netbeans-opengl-pack.dev.java.net/resources/compilerErrorAnnotations.PNG"> <img width="274" height="200" alt="GLSL editor" src="https://netbeans-opengl-pack.dev.java.net/resources/compilerErrorAnnotations_small.png" /> </a> </p> <p>Pictures featuring: Form Designer sample project, GL Quicksearch, updated GLSL 1.3 editor<br /></p><p><strong>Changes in 0.5.3: </strong><br /></p><ul><li>Java Applet and Webstart support</li><li>OpenGL Quicksearch</li><li>GLSL editor updated to support GLSL 1.3 (OpenGL 3.0 spec)</li><li>two new NetBeans Form Designer sample JOGL projects</li><li>NetBeans 6.5 and JDK6 are the new minimum requirements<br /></li></ul><p><strong>Changes in 0.5.2 since <a href="http://michael-bien.blogdns.com/mbien/entry/netbeans_opengl_pack_0_5">last release</a>:</strong></p><ul><li>JOGL distribution has been updated to version 1.1.1</li><li>GLSL linker now does not stop linking shaders on compiler warnings</li><li>the pack should now correctly deploy JOGL and GlueGen's native libraries on all supported platforms (64bit bug)</li></ul><p>To download the pack, please visit the <a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260">plugin portal</a>. </p><p>As always, please use the <a href="https://netbeans-opengl-pack.dev.java.net/servlets/ProjectMailingListList">user mailing list</a> for feedback and the <a href="https://netbeans-opengl-pack.dev.java.net/servlets/ProjectIssues">issue tracker</a> for bug reports on the <a href="https://netbeans-opengl-pack.dev.java.net/">project page</a>.</p><p>- - - - -<br /></p><p>BTW the pack recenty reached the <strong>36k downloads</strong> milestone which makes it to the #2 in the most popular plugins category of the plugin portal ;) </p> http://michael-bien.com/mbien/entry/netbeans_opengl_pack_0_5 NetBeans OpenGL Pack 0.5.1 released mbien 2008-04-12T15:31:45+02:00 2008-04-12T15:42:46+02:00 <p><p>The NetBeans OpenGL Pack 0.5.1 has been released. This is a small bugfix release with no major features added.<br /></p><p>Changes since <a href="http://www.michael-bien.com/roller/mbien/entry/netbeans_opengl_pack_is_growing">last release</a>:<br /></p><ul><li>updated JOGL distribution to v1.1.1rc8</li><li> updated JOGL demos (added gears Applet demo)</li><li>added JOGL API support module for doc and source integration<br /></li><li> webstart support for JOGL project templates (just enable it in the project properties)</li><li>improved JOGL deployment code (fixed some issues on 64bit systems)</li><li>bug fixes</li></ul><p>To download the pack please visit the <a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260">plugin portal page</a>. </p><p>The OpenGL pack will be soon available via plugin portal update center (Tools | Plugins). This will make our old&nbsp; &quot;NetBeans OpenGL Pack update center&quot; obsolete (and improve the download speed!). However, we will use the old update center for experimental not final releases in future. </p><p>As always, please use the <a href="https://netbeans-opengl-pack.dev.java.net/servlets/ProjectMailingListList">user mailing list</a> for feedback and the <a href="https://netbeans-opengl-pack.dev.java.net/servlets/ProjectIssues">issue tracker</a> for bug reports on the <a href="https://netbeans-opengl-pack.dev.java.net/">project page</a>.<br /></p><p>-------</p><p>Write once run everywhere [<a href="http://blogs.sun.com/jonasdias/entry/developing_opengl_with_netbeans_6">1</a>][<a href="http://journal.mycom.co.jp/column/jsr/046/index.html">2</a>][<a href="http://www.java2.pl/index.php/java/jogl-instalacja-w-netbeans/">3</a>][<a href="http://d.hatena.ne.jp/shin/20080407/p1">4</a>][<a href="http://blogs.sun.com/thaniwa/entry/ja_netbeans_openglpack">5</a>][<a href="http://blog.csdn.net/bigbear73/archive/2007/11/28/1905214.aspx">6</a>] - seems like the platform agnostic JOGL deployment is working ;)<br /></p></p> http://michael-bien.com/mbien/entry/netbeans_opengl_pack_is_growing NetBeans OpenGL Pack is evolving mbien 2007-12-11T18:43:21+01:00 2009-02-11T23:31:41+01:00 <p><p>The <a target="_blank" href="https://netbeans-opengl-pack.dev.java.net/">NetBeans OpenGL Pack</a> is slowly evolving to a set of useful integrated tools, demo applications and editors for Java OpenGL development.</p><p>The features currently included are:</p><ul><li><a href="https://netbeans-opengl-pack.dev.java.net/resources/compilerErrorAnnotations.PNG" target="_blank">Editor</a> for the OpenGL Shading Language (GLSL) with compiler error annotation, code folding, syntax highlighting, auto completion and documentation.<br /></li><li>Easy access to the GLSL <a target="_blank" href="https://netbeans-opengl-pack.dev.java.net/resources/compileAndLink.PNG">compiler and linker</a> of your graphics driver integrated in the editor<br /></li><li>OpenGL Capabilities Viewer</li><li>Integration of <a target="_blank" href="https://netbeans-opengl-pack.dev.java.net/resources/JOGL_FormDesigner_Integration.PNG">JOGL GUI components</a> into the Matisse GUI builder</li><li>JOGL project templates</li><li>Ready to run<a target="_blank" href="https://netbeans-opengl-pack.dev.java.net/resources/demoProjects.PNG"> JOGL demos and examples</a> of the OpenGL Programming Guide (also known as Red Book)&nbsp;</li></ul><p>We are currently fixing the last bugs and hope to build the first release soon. The early access version is available via Update Center in the download section of the <a href="https://netbeans-opengl-pack.dev.java.net/" target="_blank">project page</a>.<br /></p><p>------------<br />The project has also been recently mentioned in the <a target="_blank" href="http://www.netbeans.org/community/magazine/">NetBeans Magazine</a> [<a href="http://www.netbeans.org/download/magazine/04/nb04.pdf" target="_blank">issue four</a>] covering NetBeans 6 features. Geertjan Wielenga interviewed me about the GLSL editor in the Schliemann section of the magazine.<br /><br /></p></p>