|
hi all!!!!!
I am trying to create a BackgroundSound using the following
code:
MediaContainer song = new
MediaContainer("Jungle.wav");
BackgroundSound sound = new BackgroundSound(song,
20.0f);
sound.setSchedulingBounds(new BoundingSphere(new Point3d(0.0,
0.0, 0.0), 100.0));
Jungle.wav is in my current directory.
When i run it, i get the following execption:
"Exception in thread "main" javax.media.j3d.SoundException:
MediaContainer: setURL - bad URL".
Where am i going wrong???
I've tried specifying the full path, still it doesn't
work.
any help will be appreciated.....
Ajit
|
- [JAVA3D] [JAVA 3D] for Ajit. Ajit Dharmik
- [JAVA3D] [JAVA 3D] for Ajit. Ulrich Staudinger
- Re: [JAVA3D] [JAVA 3D] for Ajit. Ajit Dharmik
- Re: [JAVA3D] [JAVA 3D] for Ajit / bad sound... Ulrich Staudinger
- [JAVA3D] How to change the default event for ... Ashish Tayal
- Re: [JAVA3D] bad Sound URL Warren Dale
