- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 Corporation of cuda and openGL Texture( Source Code sample)
Notice that those important functions in corporation hava been distinguished with blue color. The compute capability of the cuda file .cu should be changed to 2.0 or higher version, otherwise the
2012-07-17 14:51:55
1555
原创 OpenGL: Render to Texture
An example:glewInit(); ///generate a textureglGenTextures(1,&tex);glBindTexture(GL_TEXTURE_2D,tex); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_WRAP_S,GL_CLAMP_TO_EDGE);glTexParameter
2012-07-06 15:32:39
2007
原创 关于openGl与CUDA协作的具体实现
关于openGl与CUDA协作的具体实现共享缓冲区的使用: 一个在空白openGL屏幕中绘制的例子: 先声明两个全局变量://缓冲区对象的ID, 另一个用于保存GL_PIXEL_UNPACK_BUFFER(传递给openGL的)数据GLuintbuffer;//接下来是CUDA对共享缓冲区的“名字”cudaGraphicsResource*resource;
2012-05-22 20:02:35
1128
原创 VS2010下配置使用OpenGL(Also for CUDA Developer)
A 曾经为了运行一个openGL写的程序,搞了我一个晚上,所以决定总结一下我当时找的资料,让大家少浪费一些宝贵的时间。>> 首先说明一下,接下来讲到的那些用到的 dll, lib, .h 文件在我的资源里面有(openGL库文件),大家可以去下载。 glut.h 复制到 C:\Program Files (x86)\Mic
2012-05-17 00:15:05
445
转载 BMP文件结构
【转自网络】BMP文件存储结构的格式可以在Windows中的WINGDI.h文件中找到定义。BMP文件总体上由4部分组成,分别是位图文件头、位图信息头、调色板和图像数据,如表5-1所示。表5-1 BMP文件的组成结构位图文件头(bitmap-file header)位图信息头(bitmap-information header)
2012-05-13 10:11:14
294
openGL库文件
2012-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人