macbearchen
03-05-2003, 11:52 PM
Hi,
Here I have a problem about selection picking.
While drawing a primitive(triangle), the triangle has
alpha texture map, like a tree texture.
There are opacity and transparency part in the texture map.
I wish to do correct selection picking while user click on
transparency part, the selection should not be pick.
But it seems OpenGL selection behavior ignore texture state.
It return selection by whole primitive(triangle).
Am I wrong? Or anything solution to solve my problem.
Thanks.
Here I have a problem about selection picking.
While drawing a primitive(triangle), the triangle has
alpha texture map, like a tree texture.
There are opacity and transparency part in the texture map.
I wish to do correct selection picking while user click on
transparency part, the selection should not be pick.
But it seems OpenGL selection behavior ignore texture state.
It return selection by whole primitive(triangle).
Am I wrong? Or anything solution to solve my problem.
Thanks.