dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
755 stars 299 forks source link

How to do picking in Shader+VBO? #108

Closed bitzhuwei closed 9 years ago

bitzhuwei commented 9 years ago

I'm looking for a mechanism to do picking when using shader and VBO. There's no way I can find to pick a primitive in a VBO. The 'HitTestSample' is great, but it's not in modern opengl way.