Hi Hari Edo,

Thanks for your suggestion and finally I managed to adjust the size of
getHitRect() in accordance with z-distance and I get precise hit from
corresponding image.

Regards,
argongold

On Jan 21, 12:52 am, Streets Of Boston <[email protected]>
wrote:
> I'm not sure if this would help, but you could take a list at
> SonyEricsson's implementation of a 3D list, where contents of list-
> items are transformed as well:
>
>  http://blogs.sonyericsson.com/developerworld/?s=3d+list
>
> And click on the three "Android Tutorial: Making your own 3D list"
> parts for the info you may need.
>
> On Jan 20, 10:37 am, argon gold <[email protected]> wrote:
>
> > Deck of cards is on the RIGHT side , sorry my mistake.
>
> > On Thu, Jan 20, 2011 at 11:28 PM, argon gold <[email protected]> wrote:
> > > Hi Hari Edo,
>
> > > You can view the effect I am doing in movie at following youtube link.
>
> > >http://www.youtube.com/watch?v=TMaMpp8eg4s
>
> > > It is on the left side a deck of cards when slide up or a fling action
> > > happen they moves upward  at different angles and finally at one stage 
> > > each
> > > card gets straighten and at this point I have implemented a touch on that
> > > specific card.
>
> > > I'll study your suggestion and test it if it works.
>
> > > Thanks & regards,
> > > argongold
>
> > > On Thu, Jan 20, 2011 at 8:22 PM, Hari Edo <[email protected]> wrote:
>
> > >> It's not clear what effect you're doing, but you will probably need
> > >> the inverse of the drawing transformation to determine the hits.
> > >> That is, if the drawing transformation is dividing by Z for depth
> > >> and perspective, the hit testing function should be multiplying by
> > >> Z to put the touch coordinates back into the button's coordinate
> > >> space.
>
> > >> On Jan 20, 2:45 am, argongold <[email protected]> wrote:
> > >> > Hi,
>
> > >> > I have developed a custom list with images and these images are
> > >> > displayed with different Z distance ( in 3D) as well as custom x,y and
> > >> > z angles for each image item.
>
> > >> > My problem is that when I hit an image on screen , the getHitRect()
> > >> > returns a different image hit and not the actual on which I hit on
> > >> > screen. Even though Images are not overlapping each other.
>
> > >> > Can any one suggest me how can I precisely get the hit of
> > >> > corresponding image.
>
> > >> > Note. I am using Camera and Matrix classes and
> > >> > getChildStaticTransformation() function to display the images.
>
> > >> > Thanks in advance .
>
> > >> > Regards,
> > >> > argongold
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > >> Groups "Android Developers" group.
> > >> To post to this group, send email to [email protected]
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<android-developers%2Bunsubs­[email protected]>
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-developers?hl=en-Hide quoted text -
>
> > - Show quoted text -
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to