How can I perform pick highlighting the way PHIGS and PEX provided?
There’s no elegant way to do this, and that’s why many former PHIGS and PEX implementers are now happy as OpenGL implementers. OpenGL leaves this up to the application. After you’ve identified the primitive you need to highlight with selection, how you highlight it is up to your application. You might render the primitive into the displayed image in the front buffer with a different color set. You may need to use polygon offset to make this work, or at least set glDepthFunc(GL_EQUAL). You might only render the outline or render the primitive consecutive times in different colors to create a flashing effect.
Related Questions
- If someone cannot perform or complete the required coursework, no matter what accommodations are provided, can I give the student a failing grade?
- I will need a strong support structure to enable me to perform up to my ability. What is provided through the department?
- How Do You Perform The Pick And Roll?