Picking using depth buffer can be implemented as follows: Enable depth testing: glEnable(GL_DEPTH_TEST);. In the mouse down event handler, read the depth value ...
確定! 回上一頁