CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - light mapping
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - light mapping - List
[
OpenGL program
]
二维图像三维显示
DL : 0
本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是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
Update
: 2008-10-13
Size
: 104.08kb
Publisher
:
张立强
[
OpenGL program
]
3Ddemo演示程序
DL : 1
自己写的空间三维点的opengl演示程序,包括delunary三角化、光照、纹理映射、arcball控制等。-write his point of the three-dimensional space opengl demo program, including delunary Triangle, light, texture mapping, arcball control.
Update
: 2008-10-13
Size
: 468.96kb
Publisher
:
屈磊
[
OpenGL program
]
threedmesh
DL : 0
为了实现图像处理的需要,实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是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
Update
: 2008-10-13
Size
: 103.38kb
Publisher
:
周立
[
OpenGL program
]
opengl-tutor
DL : 0
It is a demo of how to learn OpenGl of light, materials, texture mapping.
Update
: 2008-10-13
Size
: 925.98kb
Publisher
:
mangoee
[
DirextX
]
VS_Light_Texture
DL : 0
利用Direct3D中的顶点渲染,光照合纹理映射,实现一架直升机动态旋转,光与影较好的结合。-use Direct3D the vertex exaggerated, a light texture mapping, achieving a helicopter dynamic rotation, the combination of light and shadow better.
Update
: 2008-10-13
Size
: 760.42kb
Publisher
:
胡斌
[
CSharp
]
3dmodel
DL : 1
计算机图形学算法 3D立方体模型 带贴图,纹理,点光源-3D computer graphics algorithms cube model with mapping, texture, light source
Update
: 2008-10-13
Size
: 31.65kb
Publisher
:
陈晓炜
[
Other resource
]
draw123
DL : 0
对VC下绘图进行了模拟,对光照,模型,宽度,样式都做了分析实现-right VC mapping of simulation of light, model, width, pattern analysis is done to achieve
Update
: 2008-10-13
Size
: 72.45kb
Publisher
:
chenpeng
[
Special Effects
]
fishinwater
DL : 0
模拟了一条鱼在水池中游弋的状态,以及激起的水波纹,运用光照和纹理映射-simulated in a pool, fish cruising the state, and make the water ripple, the use of light and texture mapping
Update
: 2008-10-13
Size
: 7.88mb
Publisher
:
丁绍洁
[
OpenGL program
]
flagsimulation
DL : 0
用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,
Update
: 2008-10-13
Size
: 110.16kb
Publisher
:
丁绍洁
[
OpenGL program
]
EmbossBumpMapping
DL : 0
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
Update
: 2025-02-19
Size
: 1.67mb
Publisher
:
maolimin
[
OpenGL program
]
1.6
DL : 0
OPENGL实践 纹理贴图的示例 教你如何创建纹理,载入纹理,实现一个纹理金字塔-OPENGL practice examples of texture mapping teach you how to create texture, loading texture, the realization of a texture pyramid
Update
: 2025-02-19
Size
: 124kb
Publisher
:
连连
[
OpenGL program
]
3D_Cube
DL : 0
这是我的毕业设计。一个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.
Update
: 2025-02-19
Size
: 682kb
Publisher
:
[
DirextX
]
03.LightMap
DL : 0
利用DirectX实现光影贴图的D3D应用代码-Light and shadow mapping using DirectX implementation of the D3D application code
Update
: 2025-02-19
Size
: 255kb
Publisher
:
Summer
[
J2ME
]
light
DL : 1
手机电筒的应用实例,用了J2ME的底层绘制机制,下载打包后可直接在NOKIA上用-Mobile flashlight application, using the J2ME underlying mapping mechanism, after the download package can be directly used on NOKIA
Update
: 2025-02-19
Size
: 66kb
Publisher
:
jessie
[
Special Effects
]
light
DL : 0
实现了光照控制,纹理映射,透明物体,弹簧制作、三维旋转等诸多功能-The realization of the light control, texture mapping, transparent object, the spring production, and many other features of three-dimensional rotation
Update
: 2025-02-19
Size
: 1kb
Publisher
:
云翼
[
Game Engine
]
UltimaX
DL : 0
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.
Update
: 2025-02-19
Size
: 931kb
Publisher
:
张皓
[
3D Graphic
]
D3D9NormalMapping
DL : 0
// 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. //
Update
: 2025-02-19
Size
: 415kb
Publisher
:
dirx4
[
3D Graphic
]
D3D9ParallaxNormalMapping
DL : 0
// 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.
Update
: 2025-02-19
Size
: 394kb
Publisher
:
dirx4
[
OpenGL program
]
light
DL : 0
opengl程序关于纹理映射和光照的效果,可直接运行!-opengl procedures for texture mapping and lighting effects, can be directly run!
Update
: 2025-02-19
Size
: 1.58mb
Publisher
:
王涛
[
OpenGL program
]
鼠标控制正方体下拉菜单
DL : 0
可实现鼠标控制正方体菜单的贴图和鼠标键盘控制旋转。(Mapping and mouse keyboard control can realize the mouse to control the rotating cube menu.)
Update
: 2025-02-19
Size
: 9.03mb
Publisher
:
加加加++
«
1
2
3
4
5
6
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.