OgreSDK_PLSM2_source

所属分类:游戏引擎
开发工具:Visual C++
文件大小:1811KB
下载次数:182
上传日期:2008-02-24 03:57:42
上 传 者zgledu
说明:  OGRE游戏引擎的支持分页地形的源代码,对开发大型网络游戏有很好的参考价值
(Ogre game engine support terrain paging source code, on the development of large-scale online games have a good reference value)

文件列表:
plsm2.sln (2632, 2006-01-18)
plsm2_vc8.sln (2034, 2006-01-18)
plsm2_vc8_CVS.sln (10403, 2006-09-05)
plsm2_vc8_SDK.sln (2046, 2006-05-31)
PlugIns\PagingLandScape2\include\CVS (0, 2006-09-05)
PlugIns\PagingLandScape2\include\CVS\Entries (5607, 2006-09-05)
PlugIns\PagingLandScape2\include\CVS\Entries.Extra (3747, 2006-09-05)
PlugIns\PagingLandScape2\include\CVS\Entries.Extra.Old (3747, 2006-09-05)
PlugIns\PagingLandScape2\include\CVS\Entries.Old (5607, 2006-09-05)
PlugIns\PagingLandScape2\include\CVS\Repository (61, 2006-05-31)
PlugIns\PagingLandScape2\include\CVS\Root (53, 2006-05-31)
PlugIns\PagingLandScape2\include\DRGNURBSSurface.h (4149, 2005-09-24)
PlugIns\PagingLandScape2\include\fileutils.h (1380, 2006-01-18)
PlugIns\PagingLandScape2\include\Makefile.am (3200, 2006-03-23)
PlugIns\PagingLandScape2\include\OgreDebugRectangle2D.h (3257, 2006-05-12)
PlugIns\PagingLandScape2\include\OgreOcclusionBoundingBox.h (2645, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeCallback.h (99501, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeCallBackEvent.h (925, 2006-08-22)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeCamera.h (3172, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D.h (8097, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2DManager.h (6648, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightField.h (2441, 2006-09-05)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldBlendNeighbor.h (2319, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldN.h (2398, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldNTC.h (2507, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldRaw.h (2239, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldRawTC.h (2537, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_HeightFieldTC.h (2430, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeData2D_Spline.h (2054, 2006-05-26)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeHorizon.h (3251, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeIndexBuffer.h (4061, 2006-05-12)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeIntersectionSceneQuery.h (2239, 2006-05-19)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeListener.h (3633, 2005-10-14)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeListenerManager.h (8252, 2006-03-15)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusion.h (4077, 2006-03-15)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusionCameraTraversal.h (1157, 2005-10-05)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusionCHCTraversal.h (985, 2005-10-18)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusionDebugTraversal.h (888, 2005-10-05)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusionElement.h (2256, 2006-01-18)
PlugIns\PagingLandScape2\include\OgrePagingLandScapeOcclusionQuerySet.h (2081, 2006-05-12)
... ...

Author: Clay Larabie, June 22, 2006 You're probably wondering what all these shaders do? I'm currently only documenting the shaders that I've added recently to the paging landscape system, which are currently the only ones prefixed with "PL". The various shaders are used for different types of lights (directional and point lights implemented so far, spotlights not yet implemented) as well as vertex programs that support compressed terrain, ambient passes, and unlit terrain. As far as naming conventions go, I think it's important that shaders that are used by the paging landscape scene manager are prefixed with something so that they can be easily identified when debugging, as well as keeping separate from application specific shaders and materials. In this case I adopted PL for Paging Landscape because these shaders specifically have to do with landscape. The other conventions used are - the postfix "2" denotes a shader that was written with Shader Model 2.0 support required, or has not been tested with earlier shader models. Since I expect most if not all of the shaders will need to be rewritten if you want them to work with earlier shader models, this naming convention was in anticipation of that fact. The naming convention is as follows: Vertex programs: PL + [Decompress if performs decompression] + [Light Type or Ambient or Unlit] + VP + [Shader Model].cg Fragment programs: PL + [Splat if performs splatting] + [LightType] + FP + [Shader Model] + [Lighting quality if provided in multiple qualities such as Med or High] .cg

近期下载者

相关文件


收藏者