Hello, I am a student, and I am trying to use vtk to render and select from more than one million units model.
After reading this article:
I am very interested in the feature of fast preselection. I tried to use the method of the vtkOpenGLIndexBufferObject class, and got the IndexBufferObject corresponding to the result of the HardwareSelector selection from vtkOpenGLPolyDataMapper. But I am not sure how to use this IndexBufferObject (Besides, I am not sure whether the extracted IndexBufferObject is correct). Therefore, I would like to ask how to use IndexBufferObject and VertexBufferObject to render and change the color of the rendered object.