I'm stuck. For once I can't work out how to convince Java3D to do
something that I would really like to be able to do. Hopefully someone
has some bright idea that I've missed.

VRML defines a node called Collision which allows a user to either turn
off collision avoidance/terrain following (it is on by default in VRML)
and/or to provide proxy objects for collision handling. The proxy would
be used to simplify a complex object like a mesh into something simple,
like a box.

My basic problem is that in Xj3D we do everything through picking.
Navigation is performed using a pick on the rendering scene graph each
frame. This is great when you have real geometry, but when you want to
not use real geometry, but instead use the proxy geometry, things get
complex. I can't seem to find a way of putting the proxy geometry into
the scene and have it be used as the target for picking and not have it
render. From what I can determine, picking only works on objects that
are rendered. For example, if I put in geometry as a proxy and set the
rendering attributes to be not rendered (which is a real pain as the
appearance may be many levels down from the top of the proxy) the
picking seems to fail to find the proxy object. It's hard to tell from
the documentation whether or not this is a good thing.

Anyone have some insights or pontifications about how to go about this?

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