Mojtaba wrote:
> Excuse my ignorance but let me see if I understand this right. If I have
> only ONE viewplatform and I define a behavior with
> WakeupOnViewPlatformEntry as its criterion and have a bounding box
> associated with this behavior, then my behavior will wake up when the
> box is visible?

Should do, yes. Unfortunately, VRML is not that simple :)

>  Will the behavior wake up if the box is close to the viewplatform but
> it is occluded by another object (a wall for instance between the
> viewplatform and the box)? (ie. the box is close to viewplatform but not
> visible)

Yes. That's the problem. AFAICT, there is no "visibility" wakeup condition.
You have to mash a bunch of different code together to get something
roughly representing visibility detection. There is nothing to do it
directly.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
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