Welcome![Sign In][Sign Up]
Location:
Search - light mapping

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:

[OpenGL program3Ddemo演示程序

Description: 自己写的空间三维点的opengl演示程序,包括delunary三角化、光照、纹理映射、arcball控制等。-write his point of the three-dimensional space opengl demo program, including delunary Triangle, light, texture mapping, arcball control.
Platform: | Size: 480217 | 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:

[OpenGL programopengl-tutor

Description: It is a demo of how to learn OpenGl of light, materials, texture mapping.
Platform: | Size: 948208 | Author: mangoee | Hits:

[DirextXVS_Light_Texture

Description: 利用Direct3D中的顶点渲染,光照合纹理映射,实现一架直升机动态旋转,光与影较好的结合。-use Direct3D the vertex exaggerated, a light texture mapping, achieving a helicopter dynamic rotation, the combination of light and shadow better.
Platform: | Size: 778670 | Author: 胡斌 | Hits:

[CSharp3dmodel

Description: 计算机图形学算法 3D立方体模型 带贴图,纹理,点光源-3D computer graphics algorithms cube model with mapping, texture, light source
Platform: | Size: 32406 | Author: 陈晓炜 | Hits:

[Other resourcedraw123

Description: 对VC下绘图进行了模拟,对光照,模型,宽度,样式都做了分析实现-right VC mapping of simulation of light, model, width, pattern analysis is done to achieve
Platform: | Size: 74193 | Author: chenpeng | Hits:

[Special Effectsfishinwater

Description: 模拟了一条鱼在水池中游弋的状态,以及激起的水波纹,运用光照和纹理映射-simulated in a pool, fish cruising the state, and make the water ripple, the use of light and texture mapping
Platform: | Size: 8264149 | Author: 丁绍洁 | Hits:

[OpenGL programflagsimulation

Description: 用openGL编写的旗帜的飘动的代码,运用了纹理映射技术,运用光照及材质,效果很好-prepared using openGL wafted the banner of the code, the use of texture mapping technology, and the use of light materials with good results,
Platform: | Size: 112805 | Author: 丁绍洁 | Hits:

[OpenGL programEmbossBumpMapping

Description: Emboss bump mapping采用height map(高度图),它不计算逐像素扰动的法向量,而是直接计算光照亮度。 用OpenGL实现-Emboss bump mapping using height map (height map), it does not calculate pixel-by-vector perturbation method, but a direct calculation of light brightness. Realize with OpenGL
Platform: | Size: 1747968 | Author: maolimin | Hits:

[OpenGL program1.6

Description: OPENGL实践 纹理贴图的示例 教你如何创建纹理,载入纹理,实现一个纹理金字塔-OPENGL practice examples of texture mapping teach you how to create texture, loading texture, the realization of a texture pyramid
Platform: | Size: 126976 | Author: 连连 | Hits:

[OpenGL program3D_Cube

Description: 这是我的毕业设计。一个3D的魔方。用VC6.0+OpenGL开发的,主要技术是纹理贴图。实现魔方旋转、光照、透明等功能。里面有论文和源码。-This is my graduation project. Of a 3D cube. With VC6.0+ OpenGL development, the main technology is the texture mapping. The realization of Rubik s cube rotation, light, transparent and other functions. There are papers and source code.
Platform: | Size: 698368 | Author: | Hits:

[DirextX03.LightMap

Description: 利用DirectX实现光影贴图的D3D应用代码-Light and shadow mapping using DirectX implementation of the D3D application code
Platform: | Size: 261120 | Author: Summer | Hits:

[J2MElight

Description: 手机电筒的应用实例,用了J2ME的底层绘制机制,下载打包后可直接在NOKIA上用-Mobile flashlight application, using the J2ME underlying mapping mechanism, after the download package can be directly used on NOKIA
Platform: | Size: 67584 | Author: jessie | Hits:

[Special Effectslight

Description: 实现了光照控制,纹理映射,透明物体,弹簧制作、三维旋转等诸多功能-The realization of the light control, texture mapping, transparent object, the spring production, and many other features of three-dimensional rotation
Platform: | Size: 1024 | Author: 云翼 | Hits:

[Game EngineUltimaX

Description: UltimaX ——完全由DX8编译的引擎,程序包括 - 2D声音,3D声音,SoundFX,透明对象( .x files),流动的水,环境,对象贴图(Dark Mapping, light mapping, gloss mapping, detail mapping,)等等。-UltimaX- compiled entirely by DX8 engine, the program, including- 2D Sound, 3D Sound, SoundFX, transparent objects (. X files), flowing water, the environment, the object map (Dark Mapping, light mapping, gloss mapping, detail mapping ,) and so on.
Platform: | Size: 953344 | Author: 张皓 | Hits:

[3D GraphicD3D9NormalMapping

Description: // This demo implements tangent space normal mapping using a series of Direct3D // High Level Shading Language (HLSL) shaders. A single D3DX Effect file (.fx) // is provided with three techniques that implements normal mapping for each // of the three Direct3D light types: direction, point, and spot lights. -// This demo implements tangent space normal mapping using a series of Direct3D // High Level Shading Language (HLSL) shaders. A single D3DX Effect file (.fx) // is provided with three techniques that implements normal mapping for each // of the three Direct3D light types: direction, point, and spot lights. //
Platform: | Size: 424960 | Author: dirx4 | Hits:

[3D GraphicD3D9ParallaxNormalMapping

Description: // This demo implements tangent space parallax normal mapping with offset // limiting using a series of Direct3D High Level Shading Language (HLSL) // shaders. A single D3DX Effect file (.fx) is provided with three techniques // that implements parallax normal mapping for each of the three Direct3D light // types: direction, point, and spot lights.
Platform: | Size: 403456 | Author: dirx4 | Hits:

[OpenGL programlight

Description: opengl程序关于纹理映射和光照的效果,可直接运行!-opengl procedures for texture mapping and lighting effects, can be directly run!
Platform: | Size: 1658880 | Author: 王涛 | Hits:

[OpenGL program鼠标控制正方体下拉菜单

Description: 可实现鼠标控制正方体菜单的贴图和鼠标键盘控制旋转。(Mapping and mouse keyboard control can realize the mouse to control the rotating cube menu.)
Platform: | Size: 9463808 | Author: 加加加++ | Hits:
« 12 3 4 5 6 »

CodeBus www.codebus.net