The ability to trigger a behavior on ViewFrustumEntry/Exit is not possible in 
Java3D 1.1.  It is being considered for Java3D 1.2.  Stay tuned.

Doug Gehringer
Sun Microsystems


> From: "Mike Wiese" <[EMAIL PROTECTED]>
> 
> No, WakeupOnViewPlatformEntry triggers when "the center of a ViewPlatform
> enters a specified region" (API Specification). It provides functionality
> similar to the VRML ProximitySensor.
> 
> I can't believe the Java 3D team just forget this one. I would have thought
> that visibility-triggered behavior would be important to many applications.
> 
> Mike Wiese
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tachio
> Terauchi
> Sent: Tuesday, February 23, 1999 3:48 AM
> To: Mike Wiese
> Cc: [EMAIL PROTECTED]
> Subject: Re: [java3d] How to implement a visibility sensor
> 
> 
> Won't WakeupOnViewPlatformEntry do this?
> 
> -Tachio
> 
> On Tue, 23 Feb 1999, Mike Wiese wrote:
> 
> > Hi all,
> >
> > I'm trying to figure out how to implement something like the VRML
> > VisibilitySensor node.
> >
> > This would be a WakeupCriterion which triggers when an object swings
> > into/out of view i.e. when the scheduling region of the object is visible
> > whilst the activation volume of the ViewPlatform intersects with the
> > scheduling region of the object. The WakeupOnActivation class is no good,
> > because it triggers on proximity to the ViewPlatform, even if the object
> of
> > interest is 180 degrees behind the ViewPlatform.
> >
> > Have I missed something (v. likely)? If not, why did Sun not include this
> > with the other WakeupCriterions?
> >
> > Is it possible to hack this together by moving a (roughly) frustum-shaped
> > object with the ViewPlatform and pick up the CollisionEntry/CollisionExit
> > events (yuk!)?
> >
> >
> > Mike Wiese
> >
> > =====================================================================
> > To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> > Java 3D Home Page: http://java.sun.com/products/java-media/3D/
> >
> 
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
> 
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to