- 博客(8)
- 资源 (1)
- 收藏
- 关注
翻译 拾取之检查颜色
Picking Tutorial拾取教程Cheking the Color检查颜色Checking the color of the pixel where the mouse was clicked involves reading that same pixel from the back buffer. This can be accomplished u
2013-04-18 09:55:30 1027
翻译 拾取之颜色编码
Picking Tutorial拾取教程Color Coding颜色编码The Red Book describes an interesting approach to picking based on color coding. This is a very simple approach that can be used instead of using
2013-04-18 09:53:57 1019
翻译 拾取之处理命中
Picking Tutorial拾取教程Processing the Hit Records处理命中记录In order to process the hit records the application must first return to the normal rendering mode. This is done calling glRende
2013-04-18 09:52:22 901
翻译 拾取之选择模式
Picking Tutorial拾取教程The Selection Mode选择模式So far the OpenGL naming scheme has been presented. This section will show you how to enter the selection mode for picking purposes. The fir
2013-04-18 09:51:30 834
翻译 拾取之名字栈
Picking Tutorial拾取教程The Name Stack名字栈The OpenGL API provides a mechanism for picking objects in a 3D scene. This tutorial will show you how to detect which objects are bellow the mou
2013-04-18 09:43:49 2246 1
转载 C++: Custom memory allocation
C++: Custom memory allocationFast memory allocations along with memory leak detection can have a big impact on games performance.C++ provides two well known functions to allocate dynamic (heap
2013-04-17 13:49:46 1652
转载 Android位图颜色模式的问题
最近开始了android上的编程之旅,在了解2D图形编程时,令人蛋疼的发觉android上仅支持ARGB8888、ARGB4444、RGB565以及Alpha 8这么几种颜色模式,而不支持RGB888这种格式。原本以为即使不支持RGB888我用ARGB8888总行吧,但后来了解到,即使我在内存中用ARGB888颜色模型表示图像,在该图像拷贝到屏幕帧缓冲区的过程中,它也会变成RGB565颜色模式。我
2013-04-16 23:43:13 1292
原创 OpenGL的库的安装
安装OpenGL及glut库 安装freeglut及freeglut-dev库安装libglew-dev库查看OpenGL的版本方法很简单,只需要打开终端。输入以下命令:glxinfo | grep OpenGL安装ImageMagick-6.7.5-0库从主页下载,然后照着文档的方法安装但是要注意,它不提供具体图片类型的解析,如jpeg
2013-04-13 23:50:42 1894
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人