JOGL2 NetBeans project templates

Hi,

i ported most of the NetBeans OpenGL Pack to JOGL2 but it isn’t yet ready for a release. However those who are only interested in the JOGL2 project templates (i guess 90% of all GL Pack user :wink: ) can give an early access build a try:
http://kenai.com/projects/netbeans-opengl-pack/downloads/directory/early-access

it is work in progress - only a nightly build…

i did a quick test:

  • all 3 “SimpleJOGLApplication” templates work with JOGL2 and create a standalone ANT based NetBeans and platform independent project
  • most JOGL2 demo projects work
  • GLSL compiler integration seems to work
  • GL Capabilities viewer causes sometimes deadlocks (use it only to close your IDE :wink: ) fixed
  • i don’t think webstart deployment will work fixed
  • GUI builder integration doesn’t work yet for JOGL2 (JOGL1 works)

have fun

Great Job! eclipse next??? :wink: Actually I’ve been looking for an excuse to have another play with NB.

I already had part of the NB JOGL ‘1’ bundle from my experiments a few weeks ago, so I had a few clashes trying to install the new bundle. In the end it seemed easier to delete the old plugin files and start again with the JOGL2 bundle. Once again I tripped over some parts requiring Java 6 (default JVM is still Java 5 on OSX). So I deselected those files, and then I had some more parts that had dependencies on the parts I’d just deselected… so in the end I just went for the core Simple JOGL examples bit.

Worked perfectly!! And by taking the jars and natives from that project, back into my eclipse project I got my game code migration a bit further too. Thanks for your efforts!

btw I noticed you generate:

GL2 gl = (GL2) drawable.getGL();

whereas I’ve been porting my code to use

GL2 gl = drawable.getGL().getGL2();

any real difference?

hehe, not from me :wink: The NB Pack is a freetime project… and I don’t use eclipse in my freetime

thanks - will change that!

thank you for the feedback Cork - I will upload another build this evening

PS I trimmed the following files out of my project and things are still working fine.

libjogl_cg.jnilib
libjogl_es1.jnilib
libjogl_es2.jnilib
libjogl_gl2es12.jnilib

uploaded a newer build: http://kenai.com/projects/netbeans-opengl-pack/downloads/directory/early-access
changeset: http://kenai.com/projects/netbeans-opengl-pack/lists/commits/archive/2009-08/message/3

the following JOGL2 demos are now available as ready-to-run projects (TODO add missing projects)


GearsDemo
MultisampleDemo
InfiniteShadowVolumesDemo
ProceduralTexturePhysicsDemo
VertexProgRefractDemo
ParticlesDemo
TextFlowDemo
HardwareShadowMappingDemo
HDRDemo
Java2D_JOGLInteroperabilityDemo
TextRendererDemo
FlyingTextDemo
CustomTextDemo
TextCubeDemo
VertexProgramWarpDemo
VertexBufferObjectDemo
SubImageDemo
TextureDemo
TextureConvertDemo
ContextSharingDemo
TessDemo
GLCapsTableDemo
PickingDemo
GearsAppletDemo

added NEHE tutorials (thanks to eddiebro3 who ported them to JOGL2), fixed some bugs, uploaded fresh build to the downloads section.

requirements: NetBeans 6.7.1, JDK6, some modules (JOGL2 templates, demos etc.) will install on JDK5 too

TODO: webstart support, redesign GL Capabilities viewer, fix JOGL2 form designer integration
Nice to have: add GLSL 1.5 changes into GLSL editor grammar/doc

fixed JOGL2 project webstart support, fixed GLSL compiler integration (GLSL editor works now on GL2.x and GL3.x)
http://kenai.com/projects/netbeans-opengl-pack/downloads/directory/early-access
happy coding/testing :wink:

thanks to Claudio E. Goes [link] who ported all 95 Red Book sample projects to JOGL 2 we can now provide the red book module again.


accanti
accnot
accpersp
accum
aim
alpha
alpha3D
anti
antipoint
antipoly
bezcurve
bezmesh
bezsurf
blendeqn
checker
checker2
chess
clip
colormat
colormatrix
colortable
combiner
cone
convolution
cube
cubemap
depthcue
disk
dof
dofnot
doublebuf
drawf
feedback
fog
fogcoord
font
aargb
hello
histogram
image
jfont
jitter
jitter.jitter_point
light
linelist
lines
list
list2
maplight
material
minmax
mipmap
model
movelight
multisamp
multitex
mvarray
pickdepth
pickline
picksquare
plane
planet
planetup
pointp
polyoff
polys
quadric
robot
sccolorlight
scene
scenebamb
sceneflat
select
shadowmap
simple
smooth
sphere
stencil
stroke
tea
teaambient
teapots
tess
tesswind
texbind
texgen
texgen
texprox
texsub
texture3d
texturesurf
torus
unproject
varray
wrap