Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试剪辑3D 模型。它适用于阴影模式,但仅在某些设备中处于线框模式时应用程序崩溃。使用有什么问题glClipPlanef and GL_LINES吗?
glClipPlanef and GL_LINES
我glDrawElements(GL10.GL_LINES, 6*numberOfFaces, GL_UNSIGNED_SHORT,shortBuffer )用来画线框。
glDrawElements(GL10.GL_LINES, 6*numberOfFaces, GL_UNSIGNED_SHORT,shortBuffer )
问题出在 glEnable(GL_TEXTURE2D) 上。当它被删除时,一切正常。