[Source] Sound in Xj3D via webstart
Norbraten, Terry
tdnorbra at nps.edu
Sun Mar 28 23:02:35 PDT 2010
Appears a reference to joal.jar is missing. (Java binding to OpenAL)
On 3/28/10 9:34 AM, "Daniel Garland" <dan at dangarland.co.uk> wrote:
> Hi all,
>
> I'm trying to bring up to date some Xj3D content I had running using the
> newer Java Web Start support in Java 6. I'm having trouble with any
> scene that has audio content, which immediately crashes Java, with no
> explanation of what is happening.
>
> If I use this scene with the offline, standalone browser, I hear a
> looping sound
>
> <?xml version="1.0" encoding="UTF-8"?>
> <X3D xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
> profile="Immersive" version="3.1"
> xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.1.xsd
> ">
> <Scene>
> <Sound minBack="100000" minFront="100000">
> <AudioClip DEF="sound" loop="true" url='"sound.wav"'/>
> </Sound>
> </Scene>
> </X3D>
>
> But when I try to launch it via webstart, using these .jnlp files, it
> crashes. I've tried other geometry and they seem to work fine, so its
> seems to be isolated to audio content. Any ideas what it could be? Am I
> missing anything from the resources of these jnlps?
>
> Thanks in advance
> Dan Garland
>
> --- my jnlp ---
>
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp>
> <information>
> ...
> </information>
>
> <security>
> <all-permissions/>
> </security>
>
> <resources>
> <j2se version="1.6+" initial-heap-size="128m" max-heap-size="512m"/>
>
> <extension name="jogl"
> href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-curr
> ent/jogl.jnlp"
> />
> <extension name="joal"
> href="http://download.java.net/media/joal/webstart/joal.jnlp" />
> <extension name="xj3d" href="xj3d.jnlp" />
>
> <jar href="lib/myapplet.jar" />
> </resources>
>
> <applet-desc name="My Applet" main-class="my.applet.XJ3DApplet"
> width="800" height="600">
> </applet-desc>
> </jnlp>
>
> --- xj3d.jnlp ---
>
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp>
> <information>
> <title>Xj3D</title>
> <vendor>Yumetch Inc.</vendor>
> </information>
>
> <resources>
> <jar href="lib/vecmath.jar"/>
> <jar href="lib/j3d-org-all_0.9.0.jar" />
> <jar href="lib/xj3d-immersive-applet-av3d_2.0.0.jar" />
> <jar href="lib/js.jar" />
> <jar href="lib/vlc_uri.jar" />
> <jar href="lib/xj3d-sai_2.0.0.jar" />
> <jar href="lib/xj3d-external-sai_2.0.0.jar" />
> <jar href="lib/xj3d-sai-concrete_2.0.0.jar" />
> <jar href="lib/httpclient.jar" />
> <jar href="lib/aviatrix3d-all_2.0.0.jar" />
> <jar href="lib/xj3d-script-base_2.0.0.jar" />
> </resources>
>
> <component-desc />
>
> </jnlp>
>
> _______________________________________________
> Source mailing list
> Source at web3d.org
> http://web3d.org/mailman/listinfo/source_web3d.org
More information about the Source
mailing list