hi all!!!!! I am trying to create a PointSound using the following code:

MediaContainer song = new MediaContainer("roar.au");
PointSound sound = new PointSound(song, 20.0f);
sound.setSchedulingBounds(new BoundingSphere(new Point3d(0.0, 0.0, 0.0),
100.0)); roar.au 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.....

*************************************
*      Leandro Lorenzett Dihl       *
* HOME - www.urisan.tche.br/~ldihl  *
*   EMAIL - [EMAIL PROTECTED]    *
* COMPUTER SCIENCE - URI University *
*     Santo Ângelo - RS - Brazil    *
*************************************


-------------------------------------------------
URI - Campus de Santo Angelo-RS
http://www.urisan.tche.br

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to