http://code.google.com/p/ogre-paged/
What is PagedGeometry?The PagedGeometry engine is an add-on to Ogre which provides highly optimized methods for rendering massive amounts of small meshes, covering a possibly infinite area. This is especially well suited for dense forests and outdoor scenes, with millions of trees, bushes, grass, rocks, etc., etc. Paged geometry gives you many advantages over plain entities, the main one being speed: With proper usage of detail levels, outdoor scenes managed by PagedGeometry can be >100x faster than plain entities. Another advantage is that the geometry is paged; in other words, only entities which are immediately needed (to be displayed) are loaded. This allows you to expand the boundaries of your virtual world almost infinitely (only limited by floating point precision), providing the player with a more realistically scaled game area. FeaturesComplete API documentation included, describing every feature in detail 4 tutorials included to teach you how to get PagedGeometry set up and optimized in your project 7 examples included to demonstrate the actual use of various selected features Dynamic geometry paging system, which enables infinite worlds Batched rendering [LOD] for optimized rendering of near-by trees Impostor rendering LOD for extremely fast rendering of distant trees Flexible LOD display system, which can be expanded to display geometry with any technique you can implement Flexible LOD configuration system, which allows you to configure any combination of supported LODs in any way you want Optional cross-LOD fade transitions, and far LOD fade-out, fully configurable Flexible PageLoader system, allowing you to dynamically load geometry from any source you can imagine Easy addition / removal of trees with bit packing, allowing millions of trees to be stored in RAM using only a few MBs Color-map support for trees, which enables you to apply terrain lightmaps to your trees with one simple function call Animated, optimized grass rendering system. Supports density maps, color maps, wind animations, height range restriction, and much more. Download PagedGeometrysee the "Downloads" Tab: http://code.google.com/p/ogre-paged/downloads/list Includes tutorials, examples, and API documentation. After downloading PagedGeometry, read "GettingStarted.txt", which will help you make sure everything is set up properly for PagedGeometry to run. Note: If you want to get the absolute latest "development" release of PagedGeometry, you can find it in the ogreaddon SVN under "forests", or use the following SVN root: Screenshots & VideosRecent ScreenshotsExpansive jungle scene with 240,000 trees and animated vegetation, running at 100 - 150 FPS on a GeForce 7800 GT:
Note: More screenshots from this scene can be seen in Ogre's Featured Project Gallery. Detailed forest scene with trees, ferns, mushrooms, flowers, etc., running at ~100 FPS on a GeForce 7800 GT:
Videos (Slightly Outdated)Jungle Video (5.53 MB, WMV Format) Vast Forest Video (5.62 MB, WMV Format) Grass Shadows Video (3.72 MB, WMV Format) Old ScreenshotsOld VideosTree Demo Video (5.27 MB, WMV Format) Grass Demo Video (4.49 MB, WMV Format) |