Welcome![Sign In][Sign Up]
Location:
Search - 三维空间

Search list

[OpenGL program二维图像三维显示

Description: 本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。 编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。 本代码在Windows2000下编译通过。-image processing to the needs and would like to achieve th ree-dimensional two-dimensional images, then wrote the code, with the readers are interested in sharing. Image Access First bmp image files, two from the clipboard. The MFC code Calling OpenGL library functions to achieve the three-dimensional two-dimensional image display, image width, height and pixel brightness of the three-dimensional space x, z, y coordinates. Main initialization procedures, mapping, the release of resources and operation, the function of these documents OGL_MFCView.cpp achieve. OpenGL library initialization of the documents, the OnCreate, InitScene DrawScene function and the realization of the main initialization OpenGL runtime environment variables, 3D objects light, material, and as such introduced OpenG
Platform: | Size: 106574 | Author: 张立强 | Hits:

[Fractal programfenxing

Description: 分形算法C++程序:内含三维空间中的分形插值算法源代码-fractal algorithm C : 3D space containing the fractal interpolation algorithm source code
Platform: | Size: 112341 | Author: 齐松 | Hits:

[Fractal programmountain

Description: 三维空间中的分形插值算法 ① 在X-Y平面上绘制一个n×n的正方形网格,并对4个角点在Z方向上分别设置初始高度ha,hb,hc,hd,得到A,B,C,D这4点(如图10.3所示)。 ② 根据式hm=(ha+hb+hc+hd)/4+△,计算正方形网格中点的高度hm,其中△为一随机量,从而得到M点。 ③ 根据角点和中点以及虚拟点,计算边中点的高度,即 he=(ha+hb+hm+0)/4+△ hf=(hb+hc+hm+0)/4+△ hg=(hc+hd+hm+0)/4+△ hh=(hd+ha+hm+0)/4+△ 其中,△为一随机量,从而得到E,F,G,H这4点。 ④ 再根据E,B,F,M4点的高度计算小正方形EBFM中点的高度,类似地计算小正方形MFCG,HMGD,AEMH中点的高度,即 he’=(ha+hb+hm+he)/4+△1 hf ’=(hb+hc+hm+hf)/4+△1 hg’=(hc+hd+hm+hg)/4+△1 hh’=(hd+ha+hm+hh)/4+△1 以及这些正方形边中点的高度。 ⑤ 递归步骤③和步骤④使正方形网格逐步细化,直至达到预期递归深度,然后连接每个正方形网格点。
Platform: | Size: 2696 | Author: 李文选 | Hits:

[WinSock-NDISmy麻将游戏

Description: 本例实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本例主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。 -the cases to achieve a complete network of four mahjong games, the procedures set server and client functions and integration. The cases are introduced to the non-network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.
Platform: | Size: 901928 | Author: 唐堂 | Hits:

[Other resource9_01

Description: 《分形算法与程序设计VC版》<9_01>:内含三维空间中的Sierpinski地毯源代码。双击test6.exe文件,程序运行;双击test6.cpp文件,进入编辑环境。-"fractal algorithms and program design VC version of" lt; 9_01gt; : Three-dimensional space containing the source code Sierpinski carpet. Double-click test6.exe documents, operating procedures; Double-click test6.cpp documents into editing environment.
Platform: | Size: 103365 | Author: 赵翠芳 | Hits:

[OpenGL programthreedmesh

Description: 为了实现图像处理的需要,实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。 编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。 本代码在Windows2000下编译通过。-image processing in order to achieve the necessary two-dimensional realization of the three-dimensional images, then wrote the code, with the readers are interested in sharing. Image Access First bmp image files, two from the clipboard. The MFC code Calling OpenGL library functions to achieve the three-dimensional two-dimensional image display, image width, height and pixel brightness of the three-dimensional space x, z, y coordinates. Main initialization procedures, mapping, the release of resources and operation, the function of these documents OGL_MFCView.cpp achieve. OpenGL library initialization of the documents, the OnCreate, InitScene DrawScene function and the realization of the main initialization OpenGL runtime environment variables, 3D objects light, material, and as such introd
Platform: | Size: 105860 | Author: 周立 | Hits:

[Graph programtriangulation

Description: 这是一个关于曲面三角化的VC++程序,包括三角划分,图形逼近,改进曲面,选择内部点,辅助平面到三维空间,四边形等等功能。-This is a triangle on the surface of the VC procedures, including triangulation, graphics approximation, improving surface, the internal choice, supporting two-dimensional to three-dimensional space, quadrilateral and so on.
Platform: | Size: 66525 | Author: 李晓丽 | Hits:

[Other resourceqrot3d

Description: 四元数实现的三维空间的表达形式,具有表达式简单,运算精度高,占有存储空间小等优点。-quaternion achieve the three-dimensional space of expression, the expression is simple, high precision computing, possession of small storage space advantages.
Platform: | Size: 69683 | Author: sea | Hits:

[Graph programprojective-and-affine

Description: 基于三维空间三角网格的二维投影图像变换,包括3D仿射变换,基础矩阵求解及欧式空间的重构,对基于图像的三维重构有研究的朋友可以看下-triangular grid transform two-dimensional projection images, including 3D affine transformation, based Matrix Solution and European space reconstruction, based on the three-dimensional image reconstruction studies have friends in a glance
Platform: | Size: 202361 | Author: 郭震宇 | Hits:

[OpenGL programbasicvector

Description: 作者: 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 useful. Due to the confidential source involved in the issue can not completely please b
Platform: | Size: 3177 | Author: 黄景天 | Hits:

[Other resourceVirtualFlyThrough

Description: 本代码实现了在三维空间中的飞行等设计,三维空间物体种类较多,较好的实现了模拟效果。-the code achieved in the 3D space flight such as design, 3D space objects more categories. achieve a better simulation effects.
Platform: | Size: 271014 | Author: samotuo | Hits:

[Fractal programfractal7and10

Description: 《分形算法与程序设计——Visual C++实现》的第七章和第十章源码 包括一维元胞自动机生成的Sierpinski三角形、随机分布的Sierpinski三角形、二维元胞自动机小程序源代码、DLA模型源代码、用DLA模型模拟植物的生长源代码、原点演化圆形边界的DLA程序源垂直演化折线干预的DLA程序源代码、垂直演化汉字干预的DLA程序源代码。 随机中点位移法生成山源代码、三维空间中的分形插值算法源代码-"fractal algorithm and program design -- Visual C realization," Chapter VII and Chapter 10, including a peacekeeping FOSS Cellular automata generate the Sierpinski triangle, Random distribution of Sierpinski triangle, two-dimensional cellular automata small source code, DLA model source code, with DLA model plant in the source code, Origin evolution circular border DLA program source vertical evolution dogleg intervention DLA program source code, vertical evolution of the Chinese intervention DLA program source code. Random midpoint displacement method Hill source code generated, three-dimensional space of fractal interpolation algorithm source code
Platform: | Size: 491989 | Author: 郝丽丽 | Hits:

[GDI-Bitmap第二十八讲 玩转三维空间

Description: 玩转三维空间 c#实现 代码简单,赶紧下载啦-Conquers 3D space c # code simple, quickly downloaded
Platform: | Size: 51415 | Author: 丁昭雄 | Hits:

[Other Games三维空间战游戏

Description: 本实例是一个三维空间战游戏,可以实现星体的碰撞和爆炸效果等,以及音响效果,是游戏开发的一个典型实例。
Platform: | Size: 2604309 | Author: gaoyinghui4339@163.com | Hits:

[GDI-Bitmap第二十八讲 玩转三维空间

Description: 玩转三维空间 c#实现 代码简单,赶紧下载啦-Conquers 3D space c# code simple, quickly downloaded
Platform: | Size: 51200 | Author: 丁昭雄 | Hits:

[matlab3D

Description: 一个小程序,用于模拟电磁波在三维空间传播,在MATLAB平台开发。-A small program used to simulate the spread of electromagnetic waves in three-dimensional space, in the MATLAB platform.
Platform: | Size: 1024 | Author: 葛志广 | Hits:

[MPISimulateAnnealing1

Description: 用模拟退火程序在三维空间内跳跃寻找最值,适用于二次函数,全局最优(The simulated annealing program is used to jump in the three-dimensional space to find the maximum value, which is suitable for the two function, the global optimum.)
Platform: | Size: 1024 | Author: 老油田 | Hits:

[Otherrotate

Description: 简单的平面三角形在三维空间里进行角度旋转(The rotating triangle in 3D space)
Platform: | Size: 1024 | Author: 婉宝呀 | Hits:

[matlabproject

Description: 三维空间散点投影(旋转+平移)至散点所在二维平面,得到在二维平面上的对应平面坐标。(Three dimensional space scatter projection (rotation + translation) to the two-dimensional plane of the scatter point, the corresponding plane coordinates in the two-dimensional plane are obtained.)
Platform: | Size: 8192 | Author: pkene | Hits:

[Other三维空间矢量调制算法的仿真实例3D-SVPWM

Description: 三维空间矢量调制算法的仿真实例3D-SVPWM(A simulation example of three dimensional space vector modulation algorithm 3d-svpwm)
Platform: | Size: 28672 | Author: 罄余年 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 21 »

CodeBus www.codebus.net