On 08/23/2011 12:24 AM, Amit Agarwal wrote: > Hi Patrick, > > Thanks for the explanation. Though I didn't understand most of the > stuff you discussed but I want to do it the same way you did in the > last link you gave. Are you doing that using WebGl or using SVG? > > It being tough for me to figure out where did I click. I am trying > using readPixels method given in WebGl but thats also making some > noise which I am trying to sort out. > > Can you explain me in short that how exactly did you identify shapes > in your last link. This is to remind you again that I am doing > complete movement with my shapes like tilting, translating and > rotating. So no pixel hardcoding will work for me. Each shape would have to supply a hit() routine and it would get an (x,y) pair and decide for itself if it was hit().
-- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
