-
Image Selection
Hi, I am displaying some images on the Screen. The images are displayed with the help of texture mapping. The images also contains transparent color. My aim is to select the images. The condition is, when I click on the transparent color it won't be select. How is it possible?
-
Junior Member
Regular Contributor
Re: Image Selection
I think selection buffer works only for graphics primitives not for specified colors. You can do this that way: find the coordinates of mouse cursor on the image and determine if that image pixel is transparent or not.
-
Re: Image Selection
When i hit on the transparent area of the top image; there are possiblities that the image may be displayed on several images. In this case how can i select the image?
[This message has been edited by Balu (edited 11-09-2003).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules