www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: acorn98 on September 20, 2004, 11:32:15 pm

Title: openGL and a browser
Post by: acorn98 on September 20, 2004, 11:32:15 pm
I was wondering if the openGL implementation would run inside an applet, in a browser?
Title: openGL and a browser
Post by: EgonOlsen on September 21, 2004, 05:50:36 pm
No, the used OpenGL binding (LWJGL) doesn't support that. However, a system that is capable of using OpenGL via LWJGL is also capable of using webstart, which is a good alternative to an applet.
Title: openGL and a browser
Post by: acorn98 on September 22, 2004, 01:00:08 am
Thanks.
Title: Applet with HW 3d support
Post by: rolz on October 01, 2004, 12:55:49 pm
Quote

No, the used OpenGL binding (LWJGL) doesn't support that. However, a system that is capable of using OpenGL via LWJGL is also capable of using webstart, which is a good alternative to an applet


Isn't there a way to do the trick with signed applets ?
I am not sure tho ;) but still looking for a possibility to use hardware acceleration in applet.
Title: Re: Applet with HW 3d support
Post by: EgonOlsen on October 01, 2004, 03:58:57 pm
Quote from: "rolz"
Isn't there a way to do the trick with signed applets ?
According to the LWJGL-guys: no. Personally, i never tried it. But anyway: Even if signing the applet would do the trick, LWJGL will still render into its own window and not into the applet. because it can't render into Java2d components directly. That given, there's no point anymore to use an applet in combination with LWJGL: Java 1.1 can't use LWJGL anyway and everything that can (1.3+), can do webstart too.