A very simple 3D world in an applet

Hello,



I am developing a voice-chat java applet and I am now looking into adding a simple 3D window where users can move around and then their voice will be propagated differently depending on the relative distance/direction/etc of each avatar.



The main work lies in the actual sound rendering; I want the 3D world to be very simple. Like some 80x80x80 world or something and avatars as cubes or whatever :stuck_out_tongue:



I got suggestions that this engine was worth looking into, so I have some questions:


  1. For the enduser, is there any additional install required? I want to have as little installation as possible for the enduser.


  2. How big will the extra added content for the 3D engine be? Is there any lightweight version available? Size matters!


  3. lastly, is there any simple tutorial for an applet available?



    Thanks!

I’m relatively new here too, so you’ll have to wait for someone else for a more thorough answer, but I can answer some of it for now.



I just typed a bunch of stuff up, then when I Googled “jmonkeyengine applet tutorial” the first hit discussed it better than I did. Oh well, I’ll just post the link to that instead.



http://www.streamhead.com/tutorial-jmonkeyengine-applet-hardware-3d-in-the-browser/

loduwijk said:
I'm relatively new here too, so you'll have to wait for someone else for a more thorough answer, but I can answer some of it for now.

I just typed a bunch of stuff up, then when I Googled "jmonkeyengine applet tutorial" the first hit discussed it better than I did. Oh well, I'll just post the link to that instead.

http://www.streamhead.com/tutorial-jmonkeyengine-applet-hardware-3d-in-the-browser/

The manual process of creating an applet is gone with jME3.
All you do is just tick a check box in jMonkeyPlatform project deployment settings and it converts your desktop application to an applet.
Also the certificate used is from LWJGL, so its more official and slightly less scary :)

Can it be easly integrated into an existing applet? What about size? Does it require the user to install libraries?

loduwijk said:
http://www.streamhead.com/tutorial-jmonkeyengine-applet-hardware-3d-in-the-browser/


I'd avoid the above link, its seriously out of date and LWJGL applets are deployed in a much more different way these days.

You should use the checkbox method suggested by Momoko_Fan.

If you must know a bit more about how LWJGL applets work you should have a read on the tutorial about the LWJGL Appletloader found here http://ninjacave.com/appletloader its quite detailed but should explain how LWJGL deployment in the browser works, configured and tweaked to run better.

lwjgl + native libs are < 1mb.



jme is around 4mb, but you can strip it down by removing stuff you don’t need (for example bullet, water textures (which are around 1mb) ).



The user would have to download lwjgl + native libs once, and jme each time the archives change (lwjgl keeps track of that).



Edit: and by “download” i mean they download it automatically through their browser. no installation or additional clicking required, past accepting the certificate.