The Simpler Solution may be the Better Solution.
If you want to do 3d in a browser ( as you said you did ) … and using OpenGL creates problems …
then maybe it would be better to avoid using OpenGL.
I’ve done it the simpler way, and it works great.
[quote]I’m in the process of setting up my website and would really like to have available some 3d demos / mini-games online, that is inside the browser. …
I’ve got some jogl demo applications running but when I try to turn them into applets I get noclassdeffound (some word) error when compiling.
Therefor I ask … Is it possible to run jogl in a java applet and/or
should I be looking into something else?
appreciate any feedback.
[/quote]
Just Java 1.1 is more than enough to solve your problem:
[tr][td] 3d & 3d Animation with Just Java 1.1
The 3 human figures center & clockwise around ( face, girl standing, human hand ) … all use nothing but Java 1.1, it works, it’s simple.
[/td][/tr][tr][td]
http://www.frontiernet.net/~imaging/sc_java_human_animation.jpg
[/tr][/td]
[quote]The problem is getting the JOGL native libraries into your browsers classpath which has always been a complete pain in the ass - even with the Java Plugin …
[/quote]
If it hurts when you do that … don’t do that.
[quote]I think the original question from Eggert was about applets as opposed to web start. …
How do you use native libraries in an applet?
Kev
[/quote]
Right, and the applet by itself is all he needs.
Forcing someone on modem to download 4+ Megs ( the Java 1.3.1 JRE )
is not very web friendly.
The original poster didn’t suggest he needed the most wiz-bang-fancy graphics.
The “Best Solution” for the given problem may be to
live with the installed VM and not require & force OpenGL
and the latest VM.
You can do 3d in a browser with Java without JOGL / OpenGL.
And expecting relative newbies to learn Java and the OpenGL binding
may scare away the newbies, and overburden them.
The simpler solution may be the better solution.
Java does 3d without JOGL / Webstart / OpenGL
http://java.sun.com/applets/
http://java.sun.com/applets/jdk/1.1/demo/MoleculeViewer/example3.html
http://java.sun.com/applets/jdk/1.1/demo/MoleculeViewer/XYZApp.java
http://java.sun.com/applets/jdk/1.1/demo/WireFrame/example3.html
http://java.sun.com/applets/jdk/1.1/demo/WireFrame/ThreeD.java
From the new Sun site: Java.net
3d applet from dev.java.net ( press: [ Run GUI Shell ] )
https://raytracershell.dev.java.net/
Java & Games & Human Animation & Commercial Products
http://www.mascotcapsule.com/top_ev.html
Easy 3d in your browser with Java w/o Webstart or OpenGL
http://www.frontiernet.net/~imaging/java3dviewer.html
http://www.frontiernet.net/~imaging/H-Anim_Avatars.html
| Download Java 3D™ API 1.3.1 …
|
| You have chosen to download Java 3D™ API 1.3.1
|
| * Download java3d-1_3_1-windows-i586-opengl-rt.exe .
|
| Filesize = 4,335,289 bytes.
|
| [ ( 4+ Meg ) ]
| ~~~~~~~~~~~~~
|
http://java.sun.com/webapps/download/Display
Gosling was able to do some pretty neat Java without OpenGL.
I’m not against OpenGL and accelerated 3d graphics
( the other 3 3d images shown above were created with OpenGL,
Java3d on Linux, and the more complicated two used VRML & the Sun VRML Loaders ).
Use what’s best for the task.
The combination of Webstart & OpenGL is an overkill for the problem
described by the original poster.
Perhaps the original post should have gone to, or follow up in:
[b]
General Game Topics / Newless Clewbies
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=newbies
[/b]
– Paul, Java Developer & Web Animator.