+ Reply to Thread
Results 1 to 4 of 4

Thread: Java Applets with accelerated 3D gfx

  1. #1
    Member
    Join Date
    May 2005
    Location
    France (south)
    Posts
    72

    Thumbs up Java Applets with accelerated 3D gfx

    Hi,

    For those of you not often going to javagaming.org (java games forum), I just wanted you to know I've created a small Applet that allows downloading and installation of native libraries required to use JOGL (open gl java bindings). Before that, one had to rely on preinstalling that stuff at the risk or breaking other applications (like the "dll hell").

    The code should also work with JWJGL with a little more work and I expect Cas os someone else from that team to grab and enhance my code...

    Basically, that means you can now have a Java Applet embedded in any web browser, runnning open gl programs at near full hardware speed...

    If you're interested, the demo and more explanations are here.

    The code is licensed under BSD, so you can freely use it in any of your developments.

    System requirements :
    * java 1.4.2 or more (1.5 should be better), windows 98 to XP, Mac OS X 10.3 or 10.4, or a recent Linux distro.
    * The applet must also be signed with a certificate (the one of the demo is temporary and not to be used outside that context : it also shows a scary warning at first execution which is not as scary when using a valid certificate).
    * the download size of the JOGL part is around 1Mb, I haven't tried yet the java 1.5 pack200 format that should reduce the size by 3 at least (for 1.5 users).
    [edit] * also requires a recent OpenGL driver !!

    The component hasn't yet be fully tested , so I expect some glitches to appear (any comments are welcome) !

    Waiting for your feedback.

    Lilian

  2. #2
    Senior Member
    Join Date
    Jan 2005
    Location
    Ottawa, Canada
    Posts
    349

    Default

    That's sweet! Now I can make on online version of my game with a simple applet wrapper! Of course, as luck would have it I am using LWJGL - but it shouldn't be much to convert.

    Good stuff!

  3. #3
    Member
    Join Date
    May 2005
    Location
    France (south)
    Posts
    72

    Default

    Quote Originally Posted by Vorax
    That's sweet! Now I can make on online version of my game with a simple applet wrapper! Of course, as luck would have it I am using LWJGL - but it shouldn't be much to convert.

    Good stuff!

    Thanks !

    the JOGL part of the applet is just 10 lines... but you'll have to check how LWJGL loads its native libs and disable this feature to do it from the applet installer.

    Lilian

  4. #4
    Senior Member
    Join Date
    Jul 2004
    Location
    Durham, UK
    Posts
    4,873

    Default

    I will be making tweaks to LWJGL so that it can load its natives from any location. Or something Expect to see Ultratron in a teeny 320x320 applet page soonish!

    Cas

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts