Shadow_Volumes

所属分类:3D图形编程
开发工具:C/C++
文件大小:4335KB
下载次数:99
上传日期:2006-10-20 22:48:29
上 传 者david_shar
说明:  体积阴影例子程序和源代码,包括Quake3等文件的加载代码。
(shadow volume procedures and examples of source code, including Quake and other documents loading code.)

文件列表:
Shadow_Volumes (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12 (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\g3d.txt (1683, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\lib\G3D-debug.lib (1842168, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib\G3D.lib (1288942, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib\GLG3D-debug.lib (3620536, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib\GLG3D.lib (2430086, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib\glut32.lib (28728, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\lib\zdll.lib (10814, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\include\G3DAll.h (677, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D.h (1562, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\graphics3D.h (1874, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\zlib (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\include\zlib\zconf.h (9306, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\zlib\zlib.h (58939, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\include\glh\NVEBGlutAPI.c (6924, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\NVEBGlutAPI.h (5939, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_glut.h (20797, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_glut2.h (16965, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_glut_callfunc.h (2445, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_glut_replay.h (7841, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_glut_text.h (4331, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_interactors.h (4761, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_linear.h (37554, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_mipmaps.h (4259, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_nveb.h (2377, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_obs.h (12249, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glh_text.h (4594, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\glh\glut.h (21503, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D (0, 2006-04-14)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\Draw.h (4458, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\GApp.h (8817, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\GFont.h (5768, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\GPUProgram.h (6754, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\IFSModel.h (3504, 2005-10-31)
Shadow_Volumes\g3d-6_00-b12\include\GLG3D\LightingParameters.h (2085, 2005-10-31)
... ...

There are two demos, with source, for the Shadow Volume chapter of GPU Gems. Double-click the .exe file in the appropriate sub-directory to run them. The Full demo is from the NVIDIA site. It gives detailed, raw OpenGL code for a full implementation of the shadowing method (with almost all optimizations) that appears in the chatper. The Simple demo uses the G3D library to abstract most of the rendering and greatly simplify the code so that the algorithm is more clear. The Simple demo only implements shadow casting from directional lights and does not have any optimizations. Both demos require the contents of the SDL-1.2.5 and g3d-6_00-b12 directories to compile. These are two Open Source libraries. Although limited versions are installed in the g3d and SDL directories, you can download the full releases of these libraries from: http://www.libsdl.org http://g3d-cpp.sf.net

近期下载者

相关文件


收藏者