-
作者: junglesong
这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移...
作者: junglesong
这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移,缩放和旋转等,使用相关函数还可以实现两向量的叉乘,得到一个向量的绝对长度,将一个向量单位化,得到一个三点决定的平面的垂直向量(经过单位化),得到空间中两点的距离,得到两向量的点积,得到两向量的夹角等操作,为方便用户的使用,每个函数都有详细的注释,特别重要的向量计算如点积,叉乘还有相关说明,希望对大家有所用处.
由于源程序涉及到保密问题不能和盘托出,请见谅.
junglesong@etang.com-Author : junglesong This is my last OpenGL for a project to use the "three-dimensional vector space/point "and related functions, they can use a definition of space vector/points, for the vector translation, zooming and rotation, using correlation function can also achieve two fork by Vector, a vector to be the absolute length of a vector unit, 3:00 been a decision of the vertical plane of Vector (those units), a space to be the distance between two points, Vector to be the two plot points, to be the angle between two vectors such operations, as a user-use, Each function has detailed notes, a particularly important point if the calculation vector plot, fork also took note, we hope to have use
- 2023-01-23 15:20:04下载
- 积分:1
-
OPengl handbook是一本opengl入门的好书,英文原文,不像翻译版对某些概念解释模糊,该资料清晰明了,简单易懂。...
OPengl handbook是一本opengl入门的好书,英文原文,不像翻译版对某些概念解释模糊,该资料清晰明了,简单易懂。-OPengl handbook is a good book opengl entry, English text, unlike translations of certain concepts are ambiguous, the data are clear, easy to understand.
- 2022-12-19 19:55:08下载
- 积分:1
-
自己编的三次非均匀B样条曲线反求:给定数据点列,反求控制点,节点向量,按照给定精度,等分参数区间,离散B样条曲线,输出离散点列,模拟真实曲线.此算法包括德布尔...
自己编的三次非均匀B样条曲线反求:给定数据点列,反求控制点,节点向量,按照给定精度,等分参数区间,离散B样条曲线,输出离散点列,模拟真实曲线.此算法包括德布尔-考格斯算法,节点向量算法,反求控制点,以及节点插入技术.对搞图形学的朋友比较有参考作用.-own series of the three non-uniform B-spline curves Reverse : Given a data set, reverse control, vector nodes, according to a given accuracy, sub-parameters range, discrete B-spline curves, the output discrete points out, a virtual reality curve. This algorithm including Chandpur-examination Riggs algorithm, nodes vector algorithm, Reverse control points, and the insertion technology nodes. right engaging graphics friends comparison as a useful reference.
- 2022-05-15 15:39:13下载
- 积分:1
-
绘制加光照的彩色四棱锥
绘制一个彩色的四棱锥并添加光照效果:四棱锥边长为2;四棱锥各个顶点颜色不同;四棱锥的中心为(1,2,3);要求使用多种光,包括环境光、镜面光和散射光等,可以通过控制物体对光的反射材质因子和不同光的因子达到不同的光照效果。
- 2022-06-12 18:34:41下载
- 积分:1
-
Little Red Book OpenGL (third edition) example code: Select code
OpenGL红宝书(第三版)例子代码:选择代码-Little Red Book OpenGL (third edition) example code: Select code
- 2022-05-12 11:29:24下载
- 积分:1
-
Opengl中实现给不同物体添加光照实现不同的光照效果
Opengl中实现给不同物体添加光照实现不同的光照效果
- 2022-08-22 21:35:59下载
- 积分:1
-
y 轴旋转对象 (Extrude, Sweep)
你可以从这个源代码看到,y 轴旋转。
它将派生旋转曲面。(离散,一个对象放沿 y 轴的舍入方式)
C + + 源代码文件附件。
- 2022-03-15 13:30:11下载
- 积分:1
-
一个OpenGL漫游演示,展示了如何使用相机的导航
A opengl flythrough demo, which shows how to use the camera navigation-A opengl flythrough demo. which shows how to use the camera navigation
- 2022-01-22 01:46:47下载
- 积分:1
-
用opengl编写而成,点击左上角的图标,可以看到模拟水面涟漪的效果,已调试!...
用opengl编写而成,点击左上角的图标,可以看到模拟水面涟漪的效果,已调试!-prepared using opengl Click the upper left corner of the icon, we can see the simulation of surface ripple effect Debugging has!
- 2022-03-18 06:47:23下载
- 积分:1
-
一个刽子手游戏(大学外号版)
A Hangman Game (College Nickname Edition)
- 2022-03-18 11:37:40下载
- 积分:1