|
Replies:
3
-
Last Post:
Jan 10, 2008 4:09 PM
by: Kirk Turner
|
|
|
|
|
|
|
Run Wonderland in browser applet
Posted:
Jan 9, 2008 11:57 AM
|
|
|
Hey!
I am currently evaluating Wonderland for a project and one of the requirements is that the 3D Virtual World runs in a web browser. Would it be possible to run Wonderland in an applet inside a web browser? I did not find any definite information on this tpic so far, maybe someone in here can help me?
thanks
|
|
|
|
|
|
|
Re: Run Wonderland in browser applet
Posted:
Jan 9, 2008 4:13 PM
in response to: iseidel
|
|
|
I know that the user 'Wedware' is running it with java webstart, so maybe this is an good alternative. So I think it's also running in an applet, but I never tried.
|
|
|
|
|
|
|
|
Re: Run Wonderland in browser applet
Posted:
Jan 10, 2008 3:58 PM
in response to: huam
|
|
|
It's been a long time since I wrote applets, so remind me do they have any access to temporary disk storage ? It would certainly be possible to port the client code to run as an applet, however you will need to arrange for the AssetManager and Config system to read and write to the local disk in order to cache all the art assets. Java 3D has some applet examples so the 3D rendering can be done.
If writing to local disk is not possible and you still want to go down the applet path, you could create a new version of the AssetManager that caches everything in memory, but you'll have to be careful to only deploy small worlds.
|
|
|
|
|
|
|
|
Re: Run Wonderland in browser applet
Posted:
Jan 10, 2008 4:09 PM
in response to: paulby
|
|
|
On Jan 11, 2008 8:58 AM, <wonderland@javadesktop.org> wrote: > It's been a long time since I wrote applets, so remind me do they have any access to temporary disk storage ? It would certainly be possible to port the client code to run as an applet, however you will need to arrange for the AssetManager and Config system to read and write to the local disk in order to cache all the art assets. Java 3D has some applet examples so the 3D rendering can be done.
Pretty much anything can be done from an applet but either the permissions need to be set in the java security file (I forget its exact location), or the applet needs to be signed (they can be self-signed, but there are steps for acceptance). The other problem will be that by default applet security only allows network access back to the same server on the same port, so again this needs to be catered for in the java security file. That is why Java Web Start is in many respects easier to work with - but as Paul said it should be possible from the Java3D perspective - I don't know about voicebridge (are there security steps to stop applets accessing sound input devices?).
Otherwise it should just be a case of wrapping the main canvas in an applet and going from there.
Kirk
|
|
|
|
|