我想知道如何将 glEvalCoord() 与 gluLookAt() 一起使用。我已经阅读了编程指南中的两个命令,但看起来我做不到。这是真的?我希望创建一条样条曲线并将生成的顶点用作 gluLookAt() 中的顶点。
有没有人试过这个或知道这是否可能?
我想知道如何将 glEvalCoord() 与 gluLookAt() 一起使用。我已经阅读了编程指南中的两个命令,但看起来我做不到。这是真的?我希望创建一条样条曲线并将生成的顶点用作 gluLookAt() 中的顶点。
有没有人试过这个或知道这是否可能?
You can use the OpenGL feedback mechanism to slurp out the vertices generated by the GL evaluators.
Though in the long run you're better off generating the spline geometry yourself.