The following is taken from the 1.1.2 javadoc for the Raster object.
http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/media/j3d/Raster.html

        "The geometric extent of a Raster object is a single 3D point,
        specified by the raster position. This means that
        geometry-based picking or collision with a Raster object will
        only intersect the object at this single point; the 2D raster
        image is neither pickable nor collidable."

--
Kevin Rushforth
Java 3D Team
Sun Microsystems

[EMAIL PROTECTED]


>Date:         Thu, 26 Aug 1999 16:37:46 -0700
>From: John Sutter <[EMAIL PROTECTED]>
>Subject:      Re: [JAVA3D] A Raster Shape3D is not pickable
>To: [EMAIL PROTECTED]
>
>Did you ever hear anything back on this?  I've been playing with this as
>well lately with similar problems.  Of course we can do our own picking,
>but things SHOULD just work...
>
>I guess a workaround would be to brute force
>check each raster before using the normal picking stuff, or to put an invisible
>quad behind each raster and tweak all the coordinates on every change of
>transform. Neither is particularly appealing.
>
>Any other ideas?
>
>-j
>
>
>Eric Hawthorne wrote:
>>
>> I have a Shape3D object with a Raster as its geometry.
>> It does not appear to be pickable. I'm using the
>> com.sun.j3d.utils.behaviors.picking.PickObject.pickClosest(x, y) method,
>> which I assume is just using standard Pickray picking underneath.
>
>===========================================================================
>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".
>

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