bumpatten

所属分类:OpenGL
开发工具:Visual Basic
文件大小:292KB
下载次数:5
上传日期:2012-08-31 21:26:24
上 传 者legendsoft
说明:  介绍如何使用OPENGL渲染凹凸纹理.是学习OPENGL的纹理贴图的好例子.
(Describes how to use the OPENGL rendering bump texture. Is a good example learning the OPENGL of texture mapping.)

文件列表:
Per Pixel Lighting (0, 2006-08-29)
Per Pixel Lighting\atten1D.tga (2066, 2006-08-29)
Per Pixel Lighting\atten2D.tga (669411, 2006-08-29)
Per Pixel Lighting\extensions (0, 2006-08-29)
Per Pixel Lighting\extensions\ARB_multitexture_extension.cpp (7638, 2006-08-29)
Per Pixel Lighting\extensions\ARB_multitexture_extension.h (2802, 2006-08-29)
Per Pixel Lighting\extensions\EXT_compiled_vertex_array_extension.cpp (2151, 2006-08-29)
Per Pixel Lighting\extensions\EXT_compiled_vertex_array_extension.h (853, 2006-08-29)
Per Pixel Lighting\extensions\EXT_texture_edge_clamp_extension.cpp (1802, 2006-08-29)
Per Pixel Lighting\extensions\EXT_texture_edge_clamp_extension.h (727, 2006-08-29)
Per Pixel Lighting\extensions\NV_register_combiners_extension.cpp (4479, 2006-08-29)
Per Pixel Lighting\extensions\NV_register_combiners_extension.h (1685, 2006-08-29)
Per Pixel Lighting\extensions\NV_vertex_program_extension.cpp (13015, 2006-08-29)
Per Pixel Lighting\extensions\NV_vertex_program_extension.h (4650, 2006-08-29)
Per Pixel Lighting\FPS_COUNTER.cpp (1020, 2006-08-29)
Per Pixel Lighting\FPS_COUNTER.h (949, 2006-08-29)
Per Pixel Lighting\IMAGE.cpp (25703, 2006-08-29)
Per Pixel Lighting\IMAGE.h (1620, 2006-08-29)
Per Pixel Lighting\License.txt (1494, 2006-08-29)
Per Pixel Lighting\light.tga (9877, 2006-08-29)
Per Pixel Lighting\LOG.cpp (2103, 2006-08-29)
Per Pixel Lighting\LOG.h (840, 2006-08-29)
Per Pixel Lighting\Main.cpp (16948, 2006-08-29)
Per Pixel Lighting\Main.h (993, 2006-08-29)
Per Pixel Lighting\Maths (0, 2006-08-29)
Per Pixel Lighting\Maths\COLOR.cpp (1284, 2006-08-29)
Per Pixel Lighting\Maths\COLOR.h (3935, 2006-08-29)
Per Pixel Lighting\Maths\Maths.h (876, 2006-08-29)
Per Pixel Lighting\Maths\MATRIX4X4.cpp (25021, 2006-08-29)
Per Pixel Lighting\Maths\MATRIX4X4.h (4884, 2006-08-29)
Per Pixel Lighting\Maths\PLANE.cpp (2446, 2006-08-29)
Per Pixel Lighting\Maths\PLANE.h (2166, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR2D.cpp (1106, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR2D.h (3111, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR3D.cpp (3746, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR3D.h (4499, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR4D.cpp (2097, 2006-08-29)
Per Pixel Lighting\Maths\VECTOR4D.h (4136, 2006-08-29)
Per Pixel Lighting\Normal Map.bmp (196662, 2006-08-29)
Per Pixel Lighting\Normalisation Cube Map.cpp (4559, 2006-08-29)
... ...

************************************************************************** ** Per Pixel Lighting ** ** www.paulsprojects.net ** ** paul@paulsprojects.net ************************************************************************** Description: This demo draws a torus lit by four colored lights. One pass is performed for each light, which is attenuated per-pixel using 2 textures. Diffuse tangent space bump mapping is also performed per light, using NV_register_combiners. Requirements: EXT_compiled_vertex_array EXT_texture_edge_clamp ARB_multitexture with at least 4 texture units NV_register_combiners NV_vertex_program References: "Per-Pixel Lighting", Philip Taylor. From msdn.microsoft.com "Texture Compositing with Register Combiners", John Spitzer. From developer.nvidia.com "Real-Time Per-Pixel Point Lights and Spot Lights", Ron Frazier. From www.ronfrazier.net/apparition Also see demo at: www.cfxweb.net/~delphigl/projects.htm Keys: F1 - Take a screenshot Escape - Quit Space - Draw sphere of influence for each light. 1 - Disable light 1 2 - Disable light 2 3 - Disable light 3 Note: Light 0 cannot be disabled.

近期下载者

相关文件


收藏者