Hi guys, Imagining below steps:
1. u draw a cube on the screen 2. the cube can be rotated per x/y axis 3. then we can picked up the nearest face with the classic method of a pick ray 4. Now imagine there is a hole at the cube's visible face, and u clicked the hole 5. The classic pick ray method will then return u the cube's back face, which is not expected by me What I really want in this scenrio is not to pick up anything. I guessed one possible solution is to write a method to know the intersected point direction(positive face or negative face) of the face. I wonder if current Android openGL provides such mathimatical functions? Or is there a shared coding to achieve this?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en