2014年6月10日

摘要: VBO的大小一个VBO应该多大?你可以创建一个很小的VBO,但最佳方案是把很多对象放到一个VBO里面,这样的话可以减少调用gl函数的数量,比如glBindBuffer、glVertexPointer等。你也可以创建一个很大的VBO,但要注意不要超过显存的大小,否则显卡驱动会分配空间失败,返回GL_O... 阅读全文
posted @ 2014-06-10 18:43 wanzw 阅读(428) 评论(0) 推荐(0) 编辑

2013年11月7日

摘要: 阅读全文
posted @ 2013-11-07 22:20 wanzw 阅读(1290) 评论(0) 推荐(0) 编辑

2013年8月15日

摘要: 擦,代码注释里写这么多“NB!”是要闹哪样!! 阅读全文
posted @ 2013-08-15 14:40 wanzw 阅读(181) 评论(0) 推荐(0) 编辑

2013年5月3日

摘要: The old intel’s driver have many bugs and it really makes me depressed when I try to find it and avoid it. We already rewrote the shader programs, but after the modification, there are still several problems on my intel card(G41/openGL 2.1).Now I need your help and any help is appreciated. Thank you 阅读全文
posted @ 2013-05-03 14:07 wanzw 阅读(149) 评论(0) 推荐(0) 编辑

导航