Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Porting Picking Functions

Porting Picking Functions

All IRIS GL picking functions have OpenGL equivalents, with the exception of clearhitcode. The following table lists the IRIS GL picking functions and their equivalent OpenGL functions.

IRIS GL functionOpenGL functionMeaning
clearhitcodeNot supported.Clears global variable and hitcode.
pick

select

glRenderMode ( GL_SELECT )Switches to selection or picking mode.
endpick

endselect

glRenderMode ( GL_RENDER )Switches to rendering mode.
picksize gluPickMatrix

glSelectBuffer

Sets the return array.
initnames glInitNames
pushname

popname

glPushName

glPopName

loadname glLoadName

 

For more information on picking, see gluPickMatrix.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft