[quote]After reading their notes on their sourceforge page, I’m not too sure if this is a java3D topic anymore. I get the feeling they are trying to replace Java3D with their own gaming library.
[/quote]
Yep, this is nothing to do with Java3D. Note that Java3D is not a gaming library. You can use it to write games, sure, but it’s designed to be a general 3D visualisation/render system. LWJGL is developed from the ground up to be a gaming library.
[quote]In fact, they report that you do not need any jre to run their stuff - which means you could do a game all in their library w/out any native java.
[/quote]
No, it’s not that you can use their library without writing any Java, it’s that they (a) don’t depend on any particular manufacturer’s JRE, and (b) as they don’t use AWT/Swing/whatever you should be able to compile your Java to a binary with Jet or GCJ for example.
[quote]They (the programmers of lwjgl) have focused their attention to Windows. They noted that they will be attempting linux and Mac later on; however, its primary function is windows.
[/quote]
Careful… the guy you replied to is the official LWJGL Linux programmer. ;D ;D ;D
[quote]Can you call your program a Java program and use lwjgl? What is a Java program - aka. 90% of code is written in java? or 90% of the program is running java code? or both?
[/quote]
Hrm, philosophical question ahoy…
The Sun JVM accesses native code in java.io. But maybe they’re allowed to because they’re Sun? :-/ I can write a library in 100% Java, someone else can use it and you’d be hard pressed to call their application anything but a Java program. Is it any different just because it uses JNI (which is itself part of the Java platform)?
Just consider it a 3rd party Java library that happens to use JNI. It may help to consider that if Sun hadn’t produced Java3D, they’d probably have written an OpenGL binding themselves. Also, this may eventually make it into the core platform. Who knows?
As for using nVidia’s Cg - of course you can! Check out the GL_ARB_vertex_program extension.
Personally I’m very enthusiastic about LWJGL. I love Java, and I love OpenGL.