Hi,

It sounds like there should be a much more efficient way of picking than
shooting a ray in the scene -- at least for bounds picking. Since
rendering maps the 3d world onto the screen, why not just remember which
polygon generated each pixel (and somehow taking into account the objects
that are "unpickable"), and when the user clicks on a pixel, voila!, you
get your polygon in constant time by looking in a 2-dimensional array
where each cell contains a ptr to a scene graph. If this were to add too
much time to the rendering time, it could even only be performed after the
user clicks the mouse.

Anything wrong with the above reasoning? I know this has been implemented
in OpenGL, is there anything stopping one from doing the same thing in
Java3D?

Jimmy

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