>X-Unix-From: [EMAIL PROTECTED] Tue Jun 19 18:14:07 2001
>Date: Wed, 20 Jun 2001 11:15:06 +1000
>From: Justin Couch <[EMAIL PROTECTED]>
>X-Accept-Language: en
>MIME-Version: 1.0
>To: Kelvin Chung <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] Multiple ViewingPlatforms
>Content-Transfer-Encoding: 7bit
>
>Kelvin Chung wrote:
>
>> >So is this behavior checking all viewing platforms for intersection or
>> >just the one currently attached to a view?
>> >
>>
>> public WakeupOnViewPlatformEntry(Bounds region)
>>
>> It checks for all viewingPlaforms currently attach to the
>> same scene graph as the behavior. It wakeup when ANY
>> ViewPlatform enters the specified region.
>
>Darn. Just as we expected.
>
>Ok, what we need is some form of behaviour or set of conditions that
>when the currently attached viewplatform intersects. Our scene can
>contain potentially hundreds of viewplatforms, but only one of them is
>actually active and attached to the canvas. We have proximity sensors
>that detect when the view enters, but unfortunately, we are firing when
>any prox sensor enters. Ideally we'd like Java3D to do the filtering for
>us. Do you have any suggestions on a good way to do this?
>
We may need to explicitly check all the viewPlatform Bounds for
intersection with the one specific in WakeupOnViewPlatformEntry
to see which one trigger the event. We're currently
discussing the possibility of adding new API in 1.3.
Thanks.
- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.
===========================================================================
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".