-
八叉树的实现
功能:
1、创建八叉树。
此八叉树为满树,即所有节点/叶子全部创建。
用户可以自定义此八叉树的深度和所处的三维场景中的位置。...
八叉树的实现
功能:
1、创建八叉树。
此八叉树为满树,即所有节点/叶子全部创建。
用户可以自定义此八叉树的深度和所处的三维场景中的位置。
注a:由于创建树时为满树创建,故层数太大时创建时间可能会比较久,请耐心等待。
注b:创建顺序为(1)上层左前节点-(2)上层右前节点-(3)上层右前节点-(4)上层右后节点
-(5)下层左前节点-(6)下层右前节点-(7)下层右前节点-(8)下层右后节点-(1)-(2)……
2、先序遍历八叉树。
八叉树创建成功后用户可调用此子模块查看此八叉树,会显示每个结点的编号,值和在场景中的坐标。
3、查看八叉树的深度。
4、在场景中查找点。
用户首先输入要查找的坐标。
如果该点位于场景外则提示用户并返回,否则在场景中递归查找该点。
找到后输出该点所处的子结点的坐标和递归次数。-err
- 2022-02-04 18:51:02下载
- 积分:1
-
mfc开发的OpenGL单文本视图框架,方便进行二次开发!
mfc开发的OpenGL单文本视图框架,方便进行二次开发!-mfc development of the OpenGL version View single framework to facilitate the development of secondary!
- 2023-05-23 21:50:03下载
- 积分:1
-
VC environment opengl programming source code, including NURBS surfaces mapping.
VC环境下opengl编程源代码,包括nurbs曲面的绘制。-VC environment opengl programming source code, including NURBS surfaces mapping.
- 2022-03-14 08:00:51下载
- 积分:1
-
Inside the C++ Object Model一本学习C++的英文书籍
Inside the C++ Object Model一本学习C++的英文书籍-Inside the C++ Object Model a learning C++ English Books
- 2023-03-10 01:15:02下载
- 积分:1
-
一个模拟太阳、地球、月球的动画
一个模拟太阳、地球、月球的动画-a simulated sun, the earth, moon animation
- 2023-05-23 18:05:03下载
- 积分:1
-
OpenGL写的下雪场景
OpenGL写的下雪场景-OpenGL write snow scenes
- 2022-09-01 07:35:03下载
- 积分:1
-
5dg的Win32框架
5DG S Win32 Framework
- 2022-09-20 00:30:03下载
- 积分:1
-
对于使用OpenGL编程在VC6.0环境下,自动基因…
在VC6.0环境下使用OPenGL进行编程,根据算法自动生成三角网格!
-in VC6.0 environment for the use of OpenGL programming, under the automatic generation algorithm mesh!
- 2022-03-23 20:01:36下载
- 积分:1
-
DeMatrix: 生物分子结构pdb文件的变换矩阵提取程序的源码。pdb文件可显示三维生物分子结构,并且用其他程序显示,显示后可以随意变换,这个程序可以抽取变...
DeMatrix: 生物分子结构pdb文件的变换矩阵提取程序的源码。pdb文件可显示三维生物分子结构,并且用其他程序显示,显示后可以随意变换,这个程序可以抽取变换的数学矩阵,用于变化同类pdb.-DeMatrix: bio-molecular structure pdb file extraction program source code transformation matrix. pdb file can be displayed three-dimensional structure of biological molecules, and other programs to use a display that can be freely after the change, this program can extract the mathematical transformation matrix for the change in the same pdb.
- 2022-03-23 21:37:55下载
- 积分:1
-
这是OPENGL和VC++制作的3D文件载入演示.载入的是.ase文件,同时还做了多个贴图....
这是OPENGL和VC++制作的3D文件载入演示.载入的是.ase文件,同时还做了多个贴图.-This is the VC and OpenGL 3D production of documents included in the demonstration. Contained yes. Ase documents, also done a number of map.
- 2022-03-15 23:50:37下载
- 积分:1