-
作者: 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
-
在vc++6.0环境下,调用opengl函数建立光照模型,实现旋转的立方体...
在vc++6.0环境下,调用opengl函数建立光照模型,实现旋转的立方体-in vc++ 6.0 environment, the establishment of function called opengl illumination model, the rotating cube
- 2022-01-25 19:17:44下载
- 积分:1
-
这个是老师留的作业,用OpenGL方针一个机械手开/关一个灯泡
这个是老师留的作业,用OpenGL方针一个机械手开/关一个灯泡-the teachers to stay the operation of a principle with OpenGL manipulator on/off a light bulb
- 2022-03-24 10:06:26下载
- 积分:1
-
VC中OpenGL编程实现虚拟现实的源代码
VC中OpenGL编程实现虚拟现实的源代码-VC in Virtual Reality Programming OpenGL source code
- 2022-08-14 14:56:06下载
- 积分:1
-
上传的是三维方腔自然对流过程的最后…
上次上载的是二维的方腔自然对流的程序,这次上传个三维的,希望对大家有用哦-Upload the last of the threedimensional square cavity natural convection process, the upload of three-dimensional, and I hope useful for all of us, oh
- 2022-08-06 13:23:33下载
- 积分:1
-
This demo implements the marching cubes algorithm for constructing a polygonal m...
This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2 / ((ball.x - x)2 + (ball.y - y)2 + (ball.z - z)2) for all balls. The surface is defined to be where the sum is one.-This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2/((ball.x- x)2+ (ball.y- y)2+ (ball.z- z)2) for all balls. The surface is defined to be where the sum is one.
- 2022-03-03 15:18:22下载
- 积分:1
-
这是一个教你如何在vc+OpenGL中读取.obj文件的程序
这是一个教你如何在vc+OpenGL中读取.obj文件的程序-teach you how to read vc OpenGL. Obj documentation procedures
- 2022-12-20 19:30:09下载
- 积分:1
-
Visual OpenGL三维图象多个编程源码,对于三维图象编程有一定的帮助,注明为转载...
Visual OpenGL三维图象多个编程源码,对于三维图象编程有一定的帮助,注明为转载-Visual OpenGL 3D images more programming source, Programming for 3D images will help annotated reproduced
- 2022-08-17 11:32:04下载
- 积分:1
-
OpenGL图像编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习...
OpenGL图像编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习-OpenGL graphics programming code, a good book" s source code, unfortunately did not download the book. Hope that the code for them to learn from
- 2022-03-13 21:52:15下载
- 积分:1
-
利用opengl,利用基于中点偏移算法来实现云的模型
利用opengl,利用基于中点偏移算法来实现云的模型-Use opengl, offset-based algorithm to achieve the mid-point of the model cloud
- 2022-05-29 08:26:26下载
- 积分:1