This component defines nodes to detect some changes in the environment.
ProximitySensor, the only currently implemented node,
alows to detect when user is inside a defined 3D space.
For demos and tests of these features,
sensors_environmental subdirectory inside our VRML/X3D demo models.
are not generated. Rest works Ok, according to spec. Timestamps
for isActive, enter/exitTime are not interpolated (they are simply
timestamps when this was detected), this shouldn't be a problem in
For now, visibility is determined only by whether
the box fits within a view frustum. We don't use
occlusion query yet for this, which means that visibility is not
as conservative as it could be. For example, box hidden behind a wall
within frustum will still be visible (according to this sensor).
We have occlusion query (even two approaches for it) implemented in our engine,
so integration of
VisibilitySensor with it will
definitely happen one day (please report if you badly need this :).
TODO: TransformSensor missing.
Copyright Michalis Kamburelis. Thanks go to Paweł Wojciechowicz from Cat-astrophe Games for various graphics. Even this documentation is open-source, you can redistribute it on terms of the GNU General Public License.