Opengl 3ds 如何解决三角形数量太多造成cpu占用率过高?

来源:百度知道 编辑:UC知道 时间:2024/05/22 02:41:05
vc中加载3ds模型,如果是一个简单的模型运行还可以,一旦运行复杂模型,就有可能要绘制上千个三角形,cpu占用率会很高,如何解决这一问题?

glBegin(GL_TRIANGLE_STRIP);

use that to draw triangle. thats the fastest way.

only thousands of triangles shouldnt be slow btw.

another thing is not to define material parameter to each vertex. it would kill the scene. hope you didn't do that:)

b