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/