Dear all,
I was wondering if it was at all possible in to obtain the co-ordinates
of a collision between two objects (assuming one object is a pointed shape),
as opposed to just knowing that two objects have collided.
I have a Sphere object, with a Texture mapped onto it (by using
ImageLoader and Appearance).. The trouble is that I can't see any way of
knowing how to pick out co-odrinates on the Texture (it is distorted by the
texture mapping algorithm in some way, but I'm not sure how this works...?).
I thought I could use another "pointer" object to fire an invisible ray
from the Locale of the "pointer" to the Sphere (which is a Node..). This
would only tell me whether the ray fired intersected with the Sphere /at/
/all/, not whereabouts on the surface of the Sphere.
Any thoughts on how to approach interactive 3D Textures would be
appreciated. Is this feasible? Am I missing the point of Textures entirely?
Surely there must be some provision for collision detection on a surface
(c.w. an object).(?)
I would also like to know if mapping an ordinary awt.Canvas onto an
arbitrary Shape3D is possible under the Java3D API.
many thanks ...
Graham
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/