Question

Hello everybody.
I am new in jogl, I would like to know that how fast this API works compare to C and OpenGL ?
Is it slower or faster ?
I want to simulate some physics behavior and I would like to know if this jogl is fast enough or not ?!
Also I would like to know that if i can embed and show 3D graphic inside internet explorer or Netscape ?
I have seen the demos but i couldnt find any of them embeded into IE or NE.

Thank you

The answer to this question is quite complicated and depends on many factors. To see some real world results, take a look at Jake2 (Quake 2 Java port) performance comparison:

http://www.bytonic.de/html/benchmarks.html

Thank you for your reply.
My main question was that can we embed these games, programs, visualisations or etc into Internet Explorer or Netscape or not.
I mean the same as Shockwave player where you can have your program running withing your explorer.

Thanks

Hello is there anybody who knows the answer ?
The answer is either yes or no, peaaaase somebody :-/ answer.

thanks

I can’t comment on Applets because I’m not familiar with.

However, when I install Java3d, which means my PC’s standard JRE contains the Java3d Jar and Dll files, I can run Java applets which use Java3d inside the browser.

Probably something similar is possible with Jogl. For example if on Win32 you copy the jogl.jar to your Jre/lib/ext/ folder and the jogl.dll to your Jre/bin/ folder, applets could use Jogl - provided Jogl work with Applets and provided your browser uses the system’s JRE (Opera does this, so it works for me).

But… there’s a much simpler solution: Java Webstart.

Thank you Bombadil for you great advice.
but I would like to use HTML along the side with 3D contents. so I really need something like applet.
Is there anybody who could use jogl withing an applet ? ???
This enviorment is also more user freandlier than Java webstart for normal users.
what do you think ?

thank you

Short answer: You can not use jogl within an applet.

Although if you follow bombadils advise you might get it to work. But then you either want to make a native installer that installs jogl on the computer, or get the user to copy a bunch files into a bunch of directories. Neither way is any good. It may also cause version conflicts with other java applications that use jogl.

So forget it. Other obtions are webstart, software renderer or use another plugin that fits your need.

Hi !

I use JOGL in with applets and it works. I recently made an applet that calculates fuzzy PD regulators control surface, and renders it using JOGL.

Some examples:
http://grafit.mech.pw.edu.pl/~jaz/book/JOGLBlending/JOGLBlending.html
http://grafit.mech.pw.edu.pl/~jaz/book/JOGLtextureMapping/JOGLtextureMapping.html

Sorry, GUI is in Polish.

[quote]I use JOGL in with applets and it works.
[/quote]
I’m sorry to tell the applets don’t work for me. I think that this is for the obvious reason that I haven’t got JOGL installed to my JRE. That is the main problem with applets and JOGL - how to deliver the required native libraries for the end-user? I agree 100% with tom here; applets are not that useful when combined with JOGL (or any other native binding). I you want to deliver a web startable application, it’s best to stick with Web Start.

A simple installer:
http://grafit.mech.pw.edu.pl/~jaz/book/BumpInstaller/BumpMapping.html
Once again - it’s not internationalized (lack of time).
It work fine on windows, I haven’t tested it yet on Linux. It will not be tested on Solaris nor Mac, becouse I don’t know people with this systems.
Ps. I haven’t tested it on Linux becouse :-[ I can’t get java to work on my Mandrake. And I don’t have time to battle with it.