自定义博客皮肤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)
  • 收藏
  • 关注

原创 随机返回一个指定向量的垂直向量

粒子系统里粒子角度的控制麻烦又简单,所以随机数总是发挥这重要的作用,随机数产生器代码:随机数头文件/////////////////////////////////////////////////////////////////// EOMrandomMaker.h // 随机数产生器// // 高国文 @2013-11-22////////////////////////

2014-01-09 19:40:30 2152

原创 球面细分(下)

继上篇之后本文给出将点数据导出为三角形图元的方法,分配随机颜色并渲染后如图一:《图一》因为上篇给出了源代码下载地址,所以这里就只贴出本篇需要修改的两处源文件:首先是CSphere类的头文件:////////////////////////////////////////////////////////////// GLsphere.h/////////////////

2014-01-03 21:15:42 1780

原创 球面的细分(上)

指定细分复杂度之后,通过三角形建模方式不断对球面进行细分实现以下效果:

2014-01-02 14:08:26 2375 4

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关注的人

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