View Full Version : 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?
11-09-2003, 03:09 AM
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.
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).]
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.