Hi,
A bug is fixed for this :
4347519 - BackgroundSound did not check for scheduling Bounds
Thanks for your bug report.
- Kelvin
-----------
Java 3D Team
Sun Microsystems Inc.
>X-Unix-From: [EMAIL PROTECTED] Fri Jun 16 06:34:04 2000
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Importance: Normal
>Date: Fri, 16 Jun 2000 09:16:30 -0400
>From: "J. Lee Dixon" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] PointSound HELP!
>To: [EMAIL PROTECTED]
>
>Okay, I must be losing it. Using PointSound seems very simple, but I cannot
>get the sound to eminate from anywhere but the origin (0,0,0). I place the
>sound at (75,0,0), and set an attenuation curve that makes it so that you
>must be within 5 units to hear the noise.
>
>But no matter how I change the position of the PointSound, it ALWAYS plays
>at the origin. Can someone see anything from my code snippets that I am
>doing wrong?
>
> static Point2f[] distanceGain = new Point2f[]
> {
> new Point2f(0.0f, 1.0f),
> new Point2f(5.0f, 0.0f)
> };
> ...
> soundNode.setPosition(new Point3f(75.0f, 0.0f, 0.0f));
> soundNode.setLoop(-1);
> soundNode.setSchedulingBounds(
> new BoundingSphere(new Point3d(0, 0, 0), 50000.0));
> soundNode.setDistanceGain(distanceGain);
>
>This is VERY disturbing because I CANNOT have owl and rattlesnake noises in
>the same spot. :^)
>
>(JDK 1.3, Java3D 1.2)
>
>J. Lee Dixon
>Software Engineer
>SAIC - Celebration, FL
>[EMAIL PROTECTED]
>
>===========================================================================
>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".
===========================================================================
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".