自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (6)
  • 收藏
  • 关注

原创 c++数组引用一二

本文是关于今天遇到的问题的经验之谈,不成系统,没有娓娓道来,只是留个印象免得日后重蹈覆辙。C++可以使用数组引用来对数组参数进行安全检查,但是在类的内部使用数组的引用的时候经常会犯这样的问题:typedef int (&DV3)[3];class directionVector{public: directionVector(DV3 param); DV3 dv;}对,如你

2013-11-23 12:28:35 847

原创 查询OPENGL和WGL是否支持指定扩展

使用Opengl开发时如果没有配置glee是件头疼事,或者某些扩展glee里边如果也找不到怎么办,那就需要自己动手了。自定义两个函数用于查询OpenGL和wgl是否支持指定扩展名:

2013-11-16 13:35:50 1831

原创 读写TGA文件

偶尔会遇到处理TGA文件的需求,封装成类以后再用到会很方便。     类的名字叫做myTGA,提供以下功能:     1:读取文件;     2:保存文件到指定目录;     3:获取图像信息(宽,高,深度/像素占用比特数,像素通道数);     4:访问像素;     5:转换到 AUX_RGBImageRec 格式;     6:设计优良的结构易于扩展(目前只支

2013-11-05 18:31:14 2336

USB资料.zip(紫薯布丁略略略)

自己收集的学习USB开发资料.包括协议,UVC官方文档和我整理的原子触控鼠标实验代码解析(紫薯布丁略略略紫薯布丁略略略).

2015-04-03

USB_wabcam.zip

STM32 USB摄像头代码驱动,发送一帧JPG图像到主机(https://pan.baidu.com/s/1qzYggBDbR7lRQCtHrmK8hg, 密码 1234)

2015-04-03

glew-1.8.0-win64

OPENGL扩张库1.8版本,支持WIN64bit

2013-08-26

glu 1.3 specification

The GL Utilities (GLU) library is a set of routines designed to comple- ment the OpenGL graphics system by providing support for mipmapping, matrix manipulation, polygon tessellation, quadrics, NURBS, and error han- dling. Mipmapping routines include image scaling and automatic mipmap generation. A variety of matrix manipulation functions build projection and viewing matrices, or project vertices from one coordinate system to another. Polygon tessellation routines convert concave polygons into triangles for easy rendering. Quadrics support renders a few basic quadrics such as spheres and cones. NURBS code maps complicated NURBS curves and trimmed surfaces into simpler OpenGL evaluators. Lastly, an error lookup routine translates OpenGL and GLU error codes into strings. GLU library rou- tines may call OpenGL library routines. Thus, an OpenGL context should be made current before calling any GLU functions. Otherwise an OpenGL error may occur. All GLU routines, except for the initialization routines listed in Section 2, may be called during display list creation. This will cause any OpenGL com- mands that are issued as a result of the call to be stored in the display list. The result of calling the intialization routines after glNewList is unde ned.

2013-08-26

windows核心编程(五版)英文版

看完后个人感觉不错,尽量看英文原版的,翻译过来后意思偏差较大

2012-04-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除