shattered_ogrerb 0.5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (905) hide show
  1. data/lib/shattered_ogrerb.rb +17 -0
  2. data/lib/shattered_ogrerb/base.rb +28 -0
  3. data/lib/shattered_ogrerb/camera.rb +6 -0
  4. data/lib/shattered_ogrerb/key_manager.rb +54 -0
  5. data/lib/shattered_ogrerb/light.rb +5 -0
  6. data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
  7. data/lib/shattered_ogrerb/rmaterial.rb +86 -0
  8. data/lib/shattered_ogrerb/vector.rb +211 -0
  9. data/vendor/Ogre/OIS.dll +0 -0
  10. data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
  11. data/vendor/Ogre/OgreMain.dll +0 -0
  12. data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
  13. data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
  14. data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
  15. data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
  16. data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
  17. data/vendor/Ogre/RenderSystem_GL.dll +0 -0
  18. data/vendor/Ogre/cg.dll +0 -0
  19. data/vendor/Ogre/plugins.cfg +9 -0
  20. data/vendor/ogrerb/MIT_LICENCE +19 -0
  21. data/vendor/ogrerb/README +79 -0
  22. data/vendor/ogrerb/Rakefile +220 -0
  23. data/vendor/ogrerb/build/navi/extconf.rb +53 -0
  24. data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
  25. data/vendor/ogrerb/build/ois/extconf.rb +48 -0
  26. data/vendor/ogrerb/doc_src/ogre.rb +152 -0
  27. data/vendor/ogrerb/doc_src/ois.rb +67 -0
  28. data/vendor/ogrerb/lib/constants.rb +35 -0
  29. data/vendor/ogrerb/lib/ogre.dll +0 -0
  30. data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
  31. data/vendor/ogrerb/navi/Navi.i +5 -0
  32. data/vendor/ogrerb/navi/NaviData.i +18 -0
  33. data/vendor/ogrerb/navi/NaviManager.i +5 -0
  34. data/vendor/ogrerb/navi/NaviProxies.i +7 -0
  35. data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
  36. data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
  37. data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
  38. data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
  39. data/vendor/ogrerb/navi/navi_rb.i +53 -0
  40. data/vendor/ogrerb/navi/std_multimap.i +581 -0
  41. data/vendor/ogrerb/ogre.rb +23 -0
  42. data/vendor/ogrerb/ogre/Application.i +59 -0
  43. data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
  44. data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
  45. data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
  46. data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
  47. data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
  48. data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
  49. data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
  50. data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
  51. data/vendor/ogrerb/ogre/OgreAny.i +5 -0
  52. data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
  53. data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
  54. data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
  55. data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
  56. data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
  57. data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
  58. data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
  59. data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
  60. data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
  61. data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
  62. data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
  63. data/vendor/ogrerb/ogre/OgreBone.i +5 -0
  64. data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
  65. data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
  66. data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
  67. data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
  68. data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
  69. data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
  70. data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
  71. data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
  72. data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
  73. data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
  74. data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
  75. data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
  76. data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
  77. data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
  78. data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
  79. data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
  80. data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
  81. data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
  82. data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
  83. data/vendor/ogrerb/ogre/OgreController.i +5 -0
  84. data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
  85. data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
  86. data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
  87. data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
  88. data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
  89. data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
  90. data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
  91. data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
  92. data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
  93. data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
  94. data/vendor/ogrerb/ogre/OgreException.i +5 -0
  95. data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
  96. data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
  97. data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
  98. data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
  99. data/vendor/ogrerb/ogre/OgreFont.i +5 -0
  100. data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
  101. data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
  102. data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
  103. data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
  104. data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
  105. data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
  106. data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
  107. data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
  108. data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
  109. data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
  110. data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
  111. data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
  112. data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
  113. data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
  114. data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
  115. data/vendor/ogrerb/ogre/OgreImage.i +5 -0
  116. data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
  117. data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
  118. data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
  119. data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
  120. data/vendor/ogrerb/ogre/OgreLight.i +5 -0
  121. data/vendor/ogrerb/ogre/OgreLog.i +5 -0
  122. data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
  123. data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
  124. data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
  125. data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
  126. data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
  127. data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
  128. data/vendor/ogrerb/ogre/OgreMath.i +48 -0
  129. data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
  130. data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
  131. data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
  132. data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
  133. data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
  134. data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
  135. data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
  136. data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
  137. data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
  138. data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
  139. data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
  140. data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
  141. data/vendor/ogrerb/ogre/OgreNode.i +11 -0
  142. data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
  143. data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
  144. data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
  145. data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
  146. data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
  147. data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
  148. data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
  149. data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
  150. data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
  151. data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
  152. data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
  153. data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
  154. data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
  155. data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
  156. data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
  157. data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
  158. data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
  159. data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
  160. data/vendor/ogrerb/ogre/OgrePass.i +10 -0
  161. data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
  162. data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
  163. data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
  164. data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
  165. data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
  166. data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
  167. data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
  168. data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
  169. data/vendor/ogrerb/ogre/OgrePose.i +5 -0
  170. data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
  171. data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
  172. data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
  173. data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
  174. data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
  175. data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
  176. data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
  177. data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
  178. data/vendor/ogrerb/ogre/OgreRay.i +5 -0
  179. data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
  180. data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
  181. data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
  182. data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
  183. data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
  184. data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
  185. data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
  186. data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
  187. data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
  188. data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
  189. data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
  190. data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
  191. data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
  192. data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
  193. data/vendor/ogrerb/ogre/OgreResource.i +68 -0
  194. data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
  195. data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
  196. data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
  197. data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
  198. data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
  199. data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
  200. data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
  201. data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
  202. data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
  203. data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
  204. data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
  205. data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
  206. data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
  207. data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
  208. data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
  209. data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
  210. data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
  211. data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
  212. data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
  213. data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
  214. data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
  215. data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
  216. data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
  217. data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
  218. data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
  219. data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
  220. data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
  221. data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
  222. data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
  223. data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
  224. data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
  225. data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
  226. data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
  227. data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
  228. data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
  229. data/vendor/ogrerb/ogre/OgreString.i +5 -0
  230. data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
  231. data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
  232. data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
  233. data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
  234. data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
  235. data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
  236. data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
  237. data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
  238. data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
  239. data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
  240. data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
  241. data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
  242. data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
  243. data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
  244. data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
  245. data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
  246. data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
  247. data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
  248. data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
  249. data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
  250. data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
  251. data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
  252. data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
  253. data/vendor/ogrerb/ogre/OgreZip.i +5 -0
  254. data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
  255. data/vendor/ogrerb/ogre/std_multimap.i +581 -0
  256. data/vendor/ogrerb/ois/OISProxies.i +9 -0
  257. data/vendor/ogrerb/ois/OISRenames.i +11 -0
  258. data/vendor/ogrerb/ois/ois.i +135 -0
  259. data/vendor/ogrerb/ois/std_multimap.i +581 -0
  260. data/vendor/ogrerb/platform.rb +23 -0
  261. data/vendor/ogrerb/samples/application.rb +146 -0
  262. data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
  263. data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
  264. data/vendor/ogrerb/samples/bsp.rb +74 -0
  265. data/vendor/ogrerb/samples/cg.dll +0 -0
  266. data/vendor/ogrerb/samples/js3250.dll +0 -0
  267. data/vendor/ogrerb/samples/lighting.rb +136 -0
  268. data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
  269. data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
  270. data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
  271. data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
  272. data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
  273. data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
  274. data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
  275. data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
  276. data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
  277. data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
  278. data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
  279. data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
  280. data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
  281. data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
  282. data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
  283. data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
  284. data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
  285. data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
  286. data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
  287. data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
  288. data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
  289. data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
  290. data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
  291. data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
  292. data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
  293. data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
  294. data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
  295. data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
  296. data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
  297. data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
  298. data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
  299. data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
  300. data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
  301. data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
  302. data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
  303. data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
  304. data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
  305. data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
  306. data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
  307. data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
  308. data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
  309. data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
  310. data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
  311. data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
  312. data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
  313. data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
  314. data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
  315. data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
  316. data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
  317. data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
  318. data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
  319. data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
  320. data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
  321. data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
  322. data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
  323. data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
  324. data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
  325. data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
  326. data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
  327. data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
  328. data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
  329. data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
  330. data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
  331. data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
  332. data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
  333. data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
  334. data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
  335. data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
  336. data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
  337. data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
  338. data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
  339. data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
  340. data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
  341. data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
  342. data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
  343. data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
  344. data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
  345. data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
  346. data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
  347. data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
  348. data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
  349. data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
  350. data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
  351. data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
  352. data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
  353. data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
  354. data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
  355. data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
  356. data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
  357. data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
  358. data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
  359. data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
  360. data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
  361. data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
  362. data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
  363. data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
  364. data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
  365. data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
  366. data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
  367. data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
  368. data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
  369. data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
  370. data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
  371. data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
  372. data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
  373. data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
  374. data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
  375. data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
  376. data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
  377. data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
  378. data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
  379. data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
  380. data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
  381. data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
  382. data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
  383. data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
  384. data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
  385. data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
  386. data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
  387. data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
  388. data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
  389. data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
  390. data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
  391. data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
  392. data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
  393. data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
  394. data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
  395. data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
  396. data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
  397. data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
  398. data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
  399. data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
  400. data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
  401. data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
  402. data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
  403. data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
  404. data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
  405. data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
  406. data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
  407. data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
  408. data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
  409. data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
  410. data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
  411. data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
  412. data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
  413. data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
  414. data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
  415. data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
  416. data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
  417. data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
  418. data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
  419. data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
  420. data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
  421. data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
  422. data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
  423. data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
  424. data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
  425. data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
  426. data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
  427. data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
  428. data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
  429. data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
  430. data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
  431. data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
  432. data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
  433. data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
  434. data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
  435. data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
  436. data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
  437. data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
  438. data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
  439. data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
  440. data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
  441. data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
  442. data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
  443. data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
  444. data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
  445. data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
  446. data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
  447. data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
  448. data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
  449. data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
  450. data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
  451. data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
  452. data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
  453. data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
  454. data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
  455. data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
  456. data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
  457. data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
  458. data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
  459. data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
  460. data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
  461. data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
  462. data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
  463. data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
  464. data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
  465. data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
  466. data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
  467. data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
  468. data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
  469. data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
  470. data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
  471. data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
  472. data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
  473. data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
  474. data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
  475. data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
  476. data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
  477. data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
  478. data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
  479. data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
  480. data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
  481. data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
  482. data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
  483. data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
  484. data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
  485. data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
  486. data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
  487. data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
  488. data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
  489. data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
  490. data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
  491. data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
  492. data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
  493. data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
  494. data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
  495. data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
  496. data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
  497. data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
  498. data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
  499. data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
  500. data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
  501. data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
  502. data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
  503. data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
  504. data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
  505. data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
  506. data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
  507. data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
  508. data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
  509. data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
  510. data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
  511. data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
  512. data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
  513. data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
  514. data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
  515. data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
  516. data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
  517. data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
  518. data/vendor/ogrerb/samples/navi/res/html.css +478 -0
  519. data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
  520. data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
  521. data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
  522. data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
  523. data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
  524. data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
  525. data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
  526. data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
  527. data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
  528. data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
  529. data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
  530. data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
  531. data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
  532. data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
  533. data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
  534. data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
  535. data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
  536. data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
  537. data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
  538. data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
  539. data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
  540. data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
  541. data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
  542. data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
  543. data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
  544. data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
  545. data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
  546. data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
  547. data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
  548. data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
  549. data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
  550. data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
  551. data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
  552. data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
  553. data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
  554. data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
  555. data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
  556. data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
  557. data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
  558. data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
  559. data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
  560. data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
  561. data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
  562. data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
  563. data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
  564. data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
  565. data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
  566. data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
  567. data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
  568. data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
  569. data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
  570. data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
  571. data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
  572. data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
  573. data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
  574. data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
  575. data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
  576. data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
  577. data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
  578. data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
  579. data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
  580. data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
  581. data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
  582. data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
  583. data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
  584. data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
  585. data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
  586. data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
  587. data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
  588. data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
  589. data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
  590. data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
  591. data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
  592. data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
  593. data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
  594. data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
  595. data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
  596. data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
  597. data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
  598. data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
  599. data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
  600. data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
  601. data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
  602. data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
  603. data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
  604. data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
  605. data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
  606. data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
  607. data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
  608. data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
  609. data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
  610. data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
  611. data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
  612. data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
  613. data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
  614. data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
  615. data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
  616. data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
  617. data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
  618. data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
  619. data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
  620. data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
  621. data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
  622. data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
  623. data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
  624. data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
  625. data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
  626. data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
  627. data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
  628. data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
  629. data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
  630. data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
  631. data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
  632. data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
  633. data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
  634. data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
  635. data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
  636. data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
  637. data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
  638. data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
  639. data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
  640. data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
  641. data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
  642. data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
  643. data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
  644. data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
  645. data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
  646. data/vendor/ogrerb/samples/plugins.cfg +11 -0
  647. data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
  648. data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
  649. data/vendor/ogrerb/samples/resources.cfg +14 -0
  650. data/vendor/ogrerb/samples/sky_box.rb +105 -0
  651. data/vendor/ogrerb/samples/sky_dome.rb +84 -0
  652. data/vendor/ogrerb/samples/sky_plane.rb +24 -0
  653. data/vendor/ogrerb/samples/smoke.rb +21 -0
  654. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
  655. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
  656. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
  657. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
  658. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
  659. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
  660. data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
  661. data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
  662. data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
  663. data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
  664. data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
  665. data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
  666. data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
  667. data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
  668. data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
  669. data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
  670. data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
  671. data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
  672. data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
  673. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
  674. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
  675. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
  676. data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
  677. data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
  678. data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
  679. data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
  680. data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
  681. data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
  682. data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
  683. data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
  684. data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
  685. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
  686. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
  687. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
  688. data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
  689. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
  690. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
  691. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
  692. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
  693. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
  694. data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
  695. data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
  696. data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
  697. data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
  698. data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
  699. data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
  700. data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
  701. data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
  702. data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
  703. data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
  704. data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
  705. data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
  706. data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
  707. data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
  708. data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
  709. data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
  710. data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
  711. data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
  712. data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
  713. data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
  714. data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
  715. data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
  716. data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
  717. data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
  718. data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
  719. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
  720. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
  721. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
  722. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
  723. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
  724. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
  725. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
  726. data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
  727. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
  728. data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
  729. data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
  730. data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
  731. data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
  732. data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
  733. data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
  734. data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
  735. data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
  736. data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
  737. data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
  738. data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
  739. data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
  740. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
  741. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
  742. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
  743. data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
  744. data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
  745. data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
  746. data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
  747. data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
  748. data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
  749. data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
  750. data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
  751. data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
  752. data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
  753. data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
  754. data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
  755. data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
  756. data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
  757. data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
  758. data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
  759. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
  760. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
  761. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
  762. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
  763. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
  764. data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
  765. data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
  766. data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
  767. data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
  768. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
  769. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
  770. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
  771. data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
  772. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
  773. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
  774. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
  775. data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
  776. data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
  777. data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
  778. data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
  779. data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
  780. data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
  781. data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
  782. data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
  783. data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
  784. data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
  785. data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
  786. data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
  787. data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
  788. data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
  789. data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
  790. data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
  791. data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
  792. data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
  793. data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
  794. data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
  795. data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
  796. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
  797. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
  798. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
  799. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
  800. data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
  801. data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
  802. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
  803. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
  804. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
  805. data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
  806. data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
  807. data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
  808. data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
  809. data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
  810. data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
  811. data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
  812. data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
  813. data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
  814. data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
  815. data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
  816. data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
  817. data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
  818. data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
  819. data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
  820. data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
  821. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
  822. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
  823. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
  824. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
  825. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
  826. data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
  827. data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
  828. data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
  829. data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
  830. data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
  831. data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
  832. data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
  833. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
  834. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
  835. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
  836. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
  837. data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
  838. data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
  839. data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
  840. data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
  841. data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
  842. data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
  843. data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
  844. data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
  845. data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
  846. data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
  847. data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
  848. data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
  849. data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
  850. data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
  851. data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
  852. data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
  853. data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
  854. data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
  855. data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
  856. data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
  857. data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
  858. data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
  859. data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
  860. data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
  861. data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
  862. data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
  863. data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
  864. data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
  865. data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
  866. data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
  867. data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
  868. data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
  869. data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
  870. data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
  871. data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
  872. data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
  873. data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
  874. data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
  875. data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
  876. data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
  877. data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
  878. data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
  879. data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
  880. data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
  881. data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
  882. data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
  883. data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
  884. data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
  885. data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
  886. data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
  887. data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
  888. data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
  889. data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
  890. data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
  891. data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
  892. data/vendor/ogrerb/website/contact.html +43 -0
  893. data/vendor/ogrerb/website/docs.html +92 -0
  894. data/vendor/ogrerb/website/get.html +60 -0
  895. data/vendor/ogrerb/website/images/Thumbs.db +0 -0
  896. data/vendor/ogrerb/website/images/header.png +0 -0
  897. data/vendor/ogrerb/website/images/header.xcf +0 -0
  898. data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
  899. data/vendor/ogrerb/website/images/redogrehead.png +0 -0
  900. data/vendor/ogrerb/website/images/ruby.png +0 -0
  901. data/vendor/ogrerb/website/images/sample.png +0 -0
  902. data/vendor/ogrerb/website/index.html +80 -0
  903. data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
  904. data/vendor/ogrerb/website/stylesheets/main.css +96 -0
  905. metadata +997 -0
@@ -0,0 +1,80 @@
1
+ /*
2
+ -----------------------------------------------------------------------------
3
+ This source file is part of OGRE
4
+ (Object-oriented Graphics Rendering Engine)
5
+ For the latest info, see http://www.ogre3d.org/
6
+
7
+ Copyright (c) 2000-2006 Torus Knot Software Ltd
8
+ Also see acknowledgements in Readme.html
9
+
10
+ This program is free software; you can redistribute it and/or modify it under
11
+ the terms of the GNU Lesser General Public License as published by the Free Software
12
+ Foundation; either version 2 of the License, or (at your option) any later
13
+ version.
14
+
15
+ This program is distributed in the hope that it will be useful, but WITHOUT
16
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public License along with
20
+ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
+ Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
+ http://www.gnu.org/copyleft/lesser.txt.
23
+
24
+ You may alternatively use this source under the terms of a specific version of
25
+ the OGRE Unrestricted License provided you have obtained such a license from
26
+ Torus Knot Software Ltd.
27
+ -----------------------------------------------------------------------------
28
+ */
29
+
30
+ /* Stable headers which will be used for precompilation if the compiler
31
+ supports it. Add entries here when headers are unlikely to change.
32
+ NB: a change to any of these headers will result in a full rebuild,
33
+ so don't add things to this lightly.
34
+ */
35
+
36
+ #ifndef __OgreStableHeaders__
37
+ #define __OgreStableHeaders__
38
+
39
+ #include "OgrePlatform.h"
40
+
41
+ #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_APPLE
42
+ #include "OgreArchive.h"
43
+ #include "OgreAxisAlignedBox.h"
44
+ #include "OgreBitwise.h"
45
+ #include "OgreCamera.h"
46
+ #include "OgreColourValue.h"
47
+ #include "OgreCommon.h"
48
+ #include "OgreDataStream.h"
49
+ #include "OgreException.h"
50
+ #include "OgreFileSystem.h"
51
+ #include "OgreLog.h"
52
+ #include "OgreMath.h"
53
+ #include "OgreMatrix3.h"
54
+ #include "OgreMatrix4.h"
55
+ #include "OgreMovableObject.h"
56
+ #include "OgreNode.h"
57
+ #include "OgrePlane.h"
58
+ #include "OgrePrerequisites.h"
59
+ #include "OgreQuaternion.h"
60
+ #include "OgreResource.h"
61
+ #include "OgreSerializer.h"
62
+ #include "OgreSharedPtr.h"
63
+ #include "OgreSimpleRenderable.h"
64
+ #include "OgreSimpleSpline.h"
65
+ #include "OgreSingleton.h"
66
+ #include "OgreSphere.h"
67
+ #include "OgreStdHeaders.h"
68
+ #include "OgreString.h"
69
+ #include "OgreStringConverter.h"
70
+ #include "OgreStringInterface.h"
71
+ #include "OgreStringVector.h"
72
+ #include "OgreUserDefinedObject.h"
73
+ #include "OgreVector2.h"
74
+ #include "OgreVector3.h"
75
+ #include "OgreVector4.h"
76
+ #include "OgreWireBoundingBox.h"
77
+ #include "OgreZip.h"
78
+ #endif
79
+
80
+ #endif
@@ -0,0 +1,134 @@
1
+ /*
2
+ -----------------------------------------------------------------------------
3
+ This source file is part of OGRE
4
+ (Object-oriented Graphics Rendering Engine)
5
+ For the latest info, see http://www.ogre3d.org/
6
+
7
+ Copyright (c) 2000-2006 Torus Knot Software Ltd
8
+ Also see acknowledgements in Readme.html
9
+
10
+ This program is free software; you can redistribute it and/or modify it under
11
+ the terms of the GNU Lesser General Public License as published by the Free Software
12
+ Foundation; either version 2 of the License, or (at your option) any later
13
+ version.
14
+
15
+ This program is distributed in the hope that it will be useful, but WITHOUT
16
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public License along with
20
+ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
+ Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
+ http://www.gnu.org/copyleft/lesser.txt.
23
+
24
+ You may alternatively use this source under the terms of a specific version of
25
+ the OGRE Unrestricted License provided you have obtained such a license from
26
+ Torus Knot Software Ltd.
27
+ -----------------------------------------------------------------------------
28
+ */
29
+ #ifndef __StaticFaceGroup_H__
30
+ #define __StaticFaceGroup_H__
31
+
32
+ #include "OgrePrerequisites.h"
33
+
34
+ #include "OgrePlane.h"
35
+ #include "OgrePatchSurface.h"
36
+
37
+ namespace Ogre {
38
+
39
+ /** A type of face group, ie face list of procedural etc */
40
+ enum FaceGroupType {
41
+ FGT_FACE_LIST,
42
+ FGT_PATCH,
43
+ FGT_UNKNOWN
44
+ };
45
+
46
+ /** Collectes a group of static ie immovable faces together which have common
47
+ properties like the material they use, the plane they lie on.
48
+ @remarks
49
+ Whilst for discrete geometry (i.e. movable objects) groups of faces are
50
+ held in the SubMesh class, for immovable objects like scenery there
51
+ needs to ba little more flexibility in the grouping since the group is
52
+ likely to be a small part of a huge set of geometry. In addition, because
53
+ the faces are unmoving certain optimisations can be performed, e.g.
54
+ precalculating a world-coordinate bounding box and normal.
55
+ @par
56
+ Exactly how this class is used depends on the format of the large
57
+ static geometry used in the level. An example would be the use of this
58
+ class in the BspNode class for indoor levels.
59
+ For flexibility and efficiency, it is not assumed that this class holds
60
+ details of the vertices itself, or in fact that it holds the vertex indices
61
+ itself. Everything is manipulated via pointers so if you want this
62
+ class to point into a block of geometry data it can.
63
+ */
64
+ struct StaticFaceGroup {
65
+ // Type of face group.
66
+ FaceGroupType fType;
67
+
68
+ /// Is this a sky surface?
69
+ bool isSky;
70
+
71
+ /** Index into a buffer containing vertex definitions. Because we're
72
+ dealing with subsets of large levels this is likely to be part-way
73
+ through a huge vertex buffer. */
74
+ int vertexStart;
75
+
76
+ /** The range of vertices in the buffer this facegroup references.
77
+ This is really for copying purposes only, so that we know which
78
+ subset of vertices to copy from our large-level buffer into the rendering buffer.
79
+ */
80
+ int numVertices;
81
+
82
+ /** Index into a buffer containing vertex indices. This buffer
83
+ may be individual to this group or shared for memory allocation
84
+ efficiency.The vertex indexes are relative the the mVertexStart pointer,
85
+ not to the start of the large-level buffer, allowing simple reindexing
86
+ when copying data into rendering buffers.
87
+ This is only applicable to FGT_FACE_LIST face group types.
88
+ */
89
+ int elementStart;
90
+
91
+ /** The number of vertex indices.
92
+ This is only applicable to FGT_FACE_LIST face group types.
93
+ */
94
+ int numElements;
95
+
96
+ /** Handle to material used by this group.
97
+ Note the use of the material handle rather than the material
98
+ name - this is for efficiency since there will be many of these.
99
+ */
100
+ int materialHandle;
101
+
102
+ Plane plane;
103
+
104
+ /// Patch surface (only applicable when fType = FGT_PATCH)
105
+ PatchSurface* patchSurf;
106
+
107
+
108
+ _OgreExport friend std::ostream& operator<<(std::ostream& o, const StaticFaceGroup& s)
109
+ {
110
+ o << "StaticFaceGroup(";
111
+ if (s.fType == FGT_FACE_LIST)
112
+ {
113
+ o << "faceList, numVertices=" << s.numVertices << ", vertexStart=" << s.vertexStart;
114
+ o << ", numElements=" << s.numElements << ", elementStart=" << s.elementStart;
115
+ o << ", normal=" << s.plane.normal;
116
+ }
117
+ else if (s.fType == FGT_PATCH)
118
+ {
119
+ o << "bezierPatch, numVertices=" << s.numVertices << ", vertexStart=" << s.vertexStart;
120
+ // TODO
121
+ }
122
+
123
+ o << ", materialHandle=" << s.materialHandle;
124
+ o << ")";
125
+
126
+ return o;
127
+ }
128
+
129
+
130
+ };
131
+
132
+ } // namespace
133
+
134
+ #endif
@@ -0,0 +1,748 @@
1
+ /*
2
+ -----------------------------------------------------------------------------
3
+ This source file is part of OGRE
4
+ (Object-oriented Graphics Rendering Engine)
5
+ For the latest info, see http://www.ogre3d.org/
6
+
7
+ Copyright (c) 2000-2006 Torus Knot Software Ltd
8
+ Also see acknowledgements in Readme.html
9
+
10
+ This program is free software; you can redistribute it and/or modify it under
11
+ the terms of the GNU Lesser General Public License as published by the Free Software
12
+ Foundation; either version 2 of the License, or (at your option) any later
13
+ version.
14
+
15
+ This program is distributed in the hope that it will be useful, but WITHOUT
16
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public License along with
20
+ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
+ Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
+ http://www.gnu.org/copyleft/lesser.txt.
23
+
24
+ You may alternatively use this source under the terms of a specific version of
25
+ the OGRE Unrestricted License provided you have obtained such a license from
26
+ Torus Knot Software Ltd.
27
+ -----------------------------------------------------------------------------
28
+ */
29
+ #ifndef __StaticGeometry_H__
30
+ #define __StaticGeometry_H__
31
+
32
+ #include "OgrePrerequisites.h"
33
+ #include "OgreMovableObject.h"
34
+ #include "OgreRenderable.h"
35
+
36
+ namespace Ogre {
37
+
38
+ /** Pre-transforms and batches up meshes for efficient use as static
39
+ geometry in a scene.
40
+ @remarks
41
+ Modern graphics cards (GPUs) prefer to receive geometry in large
42
+ batches. It is orders of magnitude faster to render 10 batches
43
+ of 10,000 triangles than it is to render 10,000 batches of 10
44
+ triangles, even though both result in the same number of on-screen
45
+ triangles.
46
+ @par
47
+ Therefore it is important when you are rendering a lot of geometry to
48
+ batch things up into as few rendering calls as possible. This
49
+ class allows you to build a batched object from a series of entities
50
+ in order to benefit from this behaviour.
51
+ Batching has implications of it's own though:
52
+ @li Batched geometry cannot be subdivided; that means that the whole
53
+ group will be displayed, or none of it will. This obivously has
54
+ culling issues.
55
+ @li A single world transform must apply to the entire batch. Therefore
56
+ once you have batched things, you can't move them around relative to
57
+ each other. That's why this class is most useful when dealing with
58
+ static geometry (hence the name). In addition, geometry is
59
+ effectively duplicated, so if you add 3 entities based on the same
60
+ mesh in different positions, they will use 3 times the geometry
61
+ space than the movable version (which re-uses the same geometry).
62
+ So you trade memory and flexibility of movement for pure speed when
63
+ using this class.
64
+ @li A single material must apply for each batch. In fact this class
65
+ allows you to use multiple materials, but you should be aware that
66
+ internally this means that there is one batch per material.
67
+ Therefore you won't gain as much benefit from the batching if you
68
+ use many different materials; try to keep the number down.
69
+ @par
70
+ In order to retain some sort of culling, this class will batch up
71
+ meshes in localised regions. The size and shape of these blocks is
72
+ controlled by the SceneManager which contructs this object, since it
73
+ makes sense to batch things up in the most appropriate way given the
74
+ existing partitioning of the scene.
75
+ @par
76
+ The LOD settings of both the Mesh and the Materials used in
77
+ constructing this static geometry will be respected. This means that
78
+ if you use meshes/materials which have LOD, batches in the distance
79
+ will have a lower polygon count or material detail to those in the
80
+ foreground. Since each mesh might have different LOD distances, during
81
+ build the furthest distance at each LOD level from all meshes
82
+ in that region is used. This means all the LOD levels change at the
83
+ same time, but at the furthest distance of any of them (so quality is
84
+ not degraded). Be aware that using Mesh LOD in this class will
85
+ further increase the memory required. Only generated LOD
86
+ is supported for meshes.
87
+ @par
88
+ There are 2 ways you can add geometry to this class; you can add
89
+ Entity objects directly with predetermined positions, scales and
90
+ orientations, or you can add an entire SceneNode and it's subtree,
91
+ including all the objects attached to it. Once you've added everthing
92
+ you need to, you have to call build() the fix the geometry in place.
93
+ @note
94
+ This class is not a replacement for world geometry (@see
95
+ SceneManager::setWorldGeometry). The single most efficient way to
96
+ render large amounts of static geometry is to use a SceneManager which
97
+ is specialised for dealing with that particular world structure.
98
+ However, this class does provide you with a good 'halfway house'
99
+ between generalised movable geometry (Entity) which works with all
100
+ SceneManagers but isn't efficient when using very large numbers, and
101
+ highly specialised world geometry which is extremely fast but not
102
+ generic and typically requires custom world editors.
103
+ @par
104
+ You should not construct instances of this class directly; instead, cal
105
+ SceneManager::createStaticGeometry, which gives the SceneManager the
106
+ option of providing you with a specialised version of this class if it
107
+ wishes, and also handles the memory management for you like other
108
+ classes.
109
+ @note
110
+ Warning: this class only works with triangle lists at the moment,
111
+ do not pass it triangle strips, fans or lines / points.
112
+ */
113
+ class _OgreExport StaticGeometry
114
+ {
115
+ public:
116
+ /** Struct holding geometry optimised per SubMesh / lod level, ready
117
+ for copying to instances.
118
+ @remarks
119
+ Since we're going to be duplicating geometry lots of times, it's
120
+ far more important that we don't have redundant vertex data. If a
121
+ SubMesh uses shared geometry, or we're looking at a lower LOD, not
122
+ all the vertices are being referenced by faces on that submesh.
123
+ Therefore to duplicate them, potentially hundreds or even thousands
124
+ of times, would be extremely wasteful. Therefore, if a SubMesh at
125
+ a given LOD has wastage, we create an optimised version of it's
126
+ geometry which is ready for copying with no wastage.
127
+ */
128
+ class _OgrePrivate OptimisedSubMeshGeometry
129
+ {
130
+ public:
131
+ OptimisedSubMeshGeometry() :vertexData(0), indexData(0) {}
132
+ ~OptimisedSubMeshGeometry()
133
+ {
134
+ delete vertexData;
135
+ delete indexData;
136
+ }
137
+ VertexData *vertexData;
138
+ IndexData *indexData;
139
+ };
140
+ typedef std::list<OptimisedSubMeshGeometry*> OptimisedSubMeshGeometryList;
141
+ /// Saved link between SubMesh at a LOD and vertex/index data
142
+ /// May point to original or optimised geometry
143
+ struct SubMeshLodGeometryLink
144
+ {
145
+ VertexData* vertexData;
146
+ IndexData* indexData;
147
+ };
148
+ typedef std::vector<SubMeshLodGeometryLink> SubMeshLodGeometryLinkList;
149
+ typedef std::map<SubMesh*, SubMeshLodGeometryLinkList*> SubMeshGeometryLookup;
150
+ /// Structure recording a queued submesh for the build
151
+ struct QueuedSubMesh
152
+ {
153
+ SubMesh* submesh;
154
+ /// Link to LOD list of geometry, potentially optimised
155
+ SubMeshLodGeometryLinkList* geometryLodList;
156
+ String materialName;
157
+ Vector3 position;
158
+ Quaternion orientation;
159
+ Vector3 scale;
160
+ /// Pre-transformed world AABB
161
+ AxisAlignedBox worldBounds;
162
+ };
163
+ typedef std::vector<QueuedSubMesh*> QueuedSubMeshList;
164
+ /// Structure recording a queued geometry for low level builds
165
+ struct QueuedGeometry
166
+ {
167
+ SubMeshLodGeometryLink* geometry;
168
+ Vector3 position;
169
+ Quaternion orientation;
170
+ Vector3 scale;
171
+ };
172
+ typedef std::vector<QueuedGeometry*> QueuedGeometryList;
173
+
174
+ // forward declarations
175
+ class LODBucket;
176
+ class MaterialBucket;
177
+ class Region;
178
+
179
+ /** A GeometryBucket is a the lowest level bucket where geometry with
180
+ the same vertex & index format is stored. It also acts as the
181
+ renderable.
182
+ */
183
+ class _OgreExport GeometryBucket : public Renderable
184
+ {
185
+ protected:
186
+ /// Geometry which has been queued up pre-build (not for deallocation)
187
+ QueuedGeometryList mQueuedGeometry;
188
+ /// Pointer to parent bucket
189
+ MaterialBucket* mParent;
190
+ /// String identifying the vertex / index format
191
+ String mFormatString;
192
+ /// Vertex information, includes current number of vertices
193
+ /// committed to be a part of this bucket
194
+ VertexData* mVertexData;
195
+ /// Index information, includes index type which limits the max
196
+ /// number of vertices which are allowed in one bucket
197
+ IndexData* mIndexData;
198
+ /// Size of indexes
199
+ HardwareIndexBuffer::IndexType mIndexType;
200
+ /// Maximum vertex indexable
201
+ size_t mMaxVertexIndex;
202
+
203
+ template<typename T>
204
+ void copyIndexes(const T* src, T* dst, size_t count, size_t indexOffset)
205
+ {
206
+ if (indexOffset == 0)
207
+ {
208
+ memcpy(dst, src, sizeof(T) * count);
209
+ }
210
+ else
211
+ {
212
+ while(count--)
213
+ {
214
+ *dst++ = static_cast<T>(*src++ + indexOffset);
215
+ }
216
+ }
217
+ }
218
+ public:
219
+ GeometryBucket(MaterialBucket* parent, const String& formatString,
220
+ const VertexData* vData, const IndexData* iData);
221
+ virtual ~GeometryBucket();
222
+ MaterialBucket* getParent(void) { return mParent; }
223
+ /// Get the vertex data for this geometry
224
+ const VertexData* getVertexData(void) const { return mVertexData; }
225
+ /// Get the index data for this geometry
226
+ const IndexData* getIndexData(void) const { return mIndexData; }
227
+ /// @copydoc Renderable::getMaterial
228
+ const MaterialPtr& getMaterial(void) const;
229
+ Technique* getTechnique(void) const;
230
+ void getRenderOperation(RenderOperation& op);
231
+ void getWorldTransforms(Matrix4* xform) const;
232
+ const Quaternion& getWorldOrientation(void) const;
233
+ const Vector3& getWorldPosition(void) const;
234
+ Real getSquaredViewDepth(const Camera* cam) const;
235
+ const LightList& getLights(void) const;
236
+ bool getCastsShadows(void) const;
237
+
238
+ /** Try to assign geometry to this bucket.
239
+ @returns false if there is no room left in this bucket
240
+ */
241
+ bool assign(QueuedGeometry* qsm);
242
+ /// Build
243
+ void build(bool stencilShadows);
244
+ /// Dump contents for diagnostics
245
+ void dump(std::ofstream& of) const;
246
+ };
247
+ /** A MaterialBucket is a collection of smaller buckets with the same
248
+ Material (and implicitly the same LOD). */
249
+ class _OgreExport MaterialBucket
250
+ {
251
+ public:
252
+ /// list of Geometry Buckets in this region
253
+ typedef std::vector<GeometryBucket*> GeometryBucketList;
254
+ protected:
255
+ /// Pointer to parent LODBucket
256
+ LODBucket* mParent;
257
+ /// Material being used
258
+ String mMaterialName;
259
+ /// Pointer to material being used
260
+ MaterialPtr mMaterial;
261
+ /// Active technique
262
+ Technique* mTechnique;
263
+
264
+ /// list of Geometry Buckets in this region
265
+ GeometryBucketList mGeometryBucketList;
266
+ // index to current Geometry Buckets for a given geometry format
267
+ typedef std::map<String, GeometryBucket*> CurrentGeometryMap;
268
+ CurrentGeometryMap mCurrentGeometryMap;
269
+ /// Get a packed string identifying the geometry format
270
+ String getGeometryFormatString(SubMeshLodGeometryLink* geom);
271
+
272
+ public:
273
+ MaterialBucket(LODBucket* parent, const String& materialName);
274
+ virtual ~MaterialBucket();
275
+ LODBucket* getParent(void) { return mParent; }
276
+ /// Get the material name
277
+ const String& getMaterialName(void) const { return mMaterialName; }
278
+ /// Assign geometry to this bucket
279
+ void assign(QueuedGeometry* qsm);
280
+ /// Build
281
+ void build(bool stencilShadows);
282
+ /// Add children to the render queue
283
+ void addRenderables(RenderQueue* queue, uint8 group,
284
+ Real camSquaredDist);
285
+ /// Get the material for this bucket
286
+ const MaterialPtr& getMaterial(void) const { return mMaterial; }
287
+ /// Iterator over geometry
288
+ typedef VectorIterator<GeometryBucketList> GeometryIterator;
289
+ /// Get an iterator over the contained geometry
290
+ GeometryIterator getGeometryIterator(void);
291
+ /// Get the current Technique
292
+ Technique* getCurrentTechnique(void) const { return mTechnique; }
293
+ /// Dump contents for diagnostics
294
+ void dump(std::ofstream& of) const;
295
+ };
296
+ /** A LODBucket is a collection of smaller buckets with the same LOD.
297
+ @remarks
298
+ LOD refers to Mesh LOD here. Material LOD can change separately
299
+ at the next bucket down from this.
300
+ */
301
+ class _OgreExport LODBucket
302
+ {
303
+ public:
304
+ /// Lookup of Material Buckets in this region
305
+ typedef std::map<String, MaterialBucket*> MaterialBucketMap;
306
+ protected:
307
+ /// Pointer to parent region
308
+ Region* mParent;
309
+ /// LOD level (0 == full LOD)
310
+ unsigned short mLod;
311
+ /// distance at which this LOD starts to apply (squared)
312
+ Real mSquaredDistance;
313
+ /// Lookup of Material Buckets in this region
314
+ MaterialBucketMap mMaterialBucketMap;
315
+ /// Geometry queued for a single LOD (deallocated here)
316
+ QueuedGeometryList mQueuedGeometryList;
317
+ public:
318
+ LODBucket(Region* parent, unsigned short lod, Real lodDist);
319
+ virtual ~LODBucket();
320
+ Region* getParent(void) { return mParent; }
321
+ /// Get the lod index
322
+ ushort getLod(void) const { return mLod; }
323
+ /// Get the lod squared distance
324
+ Real getSquaredDistance(void) const { return mSquaredDistance; }
325
+ /// Assign a queued submesh to this bucket, using specified mesh LOD
326
+ void assign(QueuedSubMesh* qsm, ushort atLod);
327
+ /// Build
328
+ void build(bool stencilShadows);
329
+ /// Add children to the render queue
330
+ void addRenderables(RenderQueue* queue, uint8 group,
331
+ Real camSquaredDistance);
332
+ /// Iterator over the materials in this LOD
333
+ typedef MapIterator<MaterialBucketMap> MaterialIterator;
334
+ /// Get an iterator over the materials in this LOD
335
+ MaterialIterator getMaterialIterator(void);
336
+ /// Dump contents for diagnostics
337
+ void dump(std::ofstream& of) const;
338
+
339
+ };
340
+ /** The details of a topological region which is the highest level of
341
+ partitioning for this class.
342
+ @remarks
343
+ The size & shape of regions entirely depends on the SceneManager
344
+ specific implementation. It is a MovableObject since it will be
345
+ attached to a node based on the local centre - in practice it
346
+ won't actually move (although in theory it could).
347
+ */
348
+ class _OgreExport Region : public MovableObject
349
+ {
350
+ public:
351
+ /// list of LOD Buckets in this region
352
+ typedef std::vector<LODBucket*> LODBucketList;
353
+ protected:
354
+ /** Nested class to allow region shadows. */
355
+ class _OgreExport RegionShadowRenderable : public ShadowRenderable
356
+ {
357
+ protected:
358
+ Region* mParent;
359
+ // Shared link to position buffer
360
+ HardwareVertexBufferSharedPtr mPositionBuffer;
361
+ // Shared link to w-coord buffer (optional)
362
+ HardwareVertexBufferSharedPtr mWBuffer;
363
+
364
+ public:
365
+ RegionShadowRenderable(Region* parent,
366
+ HardwareIndexBufferSharedPtr* indexBuffer, const VertexData* vertexData,
367
+ bool createSeparateLightCap, bool isLightCap = false);
368
+ ~RegionShadowRenderable();
369
+ /// Overridden from ShadowRenderable
370
+ void getWorldTransforms(Matrix4* xform) const;
371
+ /// Overridden from ShadowRenderable
372
+ const Quaternion& getWorldOrientation(void) const;
373
+ /// Overridden from ShadowRenderable
374
+ const Vector3& getWorldPosition(void) const;
375
+ HardwareVertexBufferSharedPtr getPositionBuffer(void) { return mPositionBuffer; }
376
+ HardwareVertexBufferSharedPtr getWBuffer(void) { return mWBuffer; }
377
+
378
+ };
379
+ /// Parent static geometry
380
+ StaticGeometry* mParent;
381
+ /// Scene manager link
382
+ SceneManager* mSceneMgr;
383
+ /// Scene node
384
+ SceneNode* mNode;
385
+ /// Local list of queued meshes (not used for deallocation)
386
+ QueuedSubMeshList mQueuedSubMeshes;
387
+ /// Unique identifier for the region
388
+ uint32 mRegionID;
389
+ /// Center of the region
390
+ Vector3 mCentre;
391
+ /// LOD distances (squared) as built up - use the max at each level
392
+ std::vector<Real> mLodSquaredDistances;
393
+ /// Local AABB relative to region centre
394
+ AxisAlignedBox mAABB;
395
+ /// Local bounding radius
396
+ Real mBoundingRadius;
397
+ /// The current lod level, as determined from the last camera
398
+ ushort mCurrentLod;
399
+ /// Current camera distance, passed on to do material lod later
400
+ Real mCamDistanceSquared;
401
+ /// List of LOD buckets
402
+ LODBucketList mLodBucketList;
403
+ /// List of lights for this region
404
+ mutable LightList mLightList;
405
+ /// The last frame that this light list was updated in
406
+ mutable ulong mLightListUpdated;
407
+ /// Edge list, used if stencil shadow casting is enabled
408
+ EdgeData* mEdgeList;
409
+ /// List of shadow renderables
410
+ ShadowRenderableList mShadowRenderables;
411
+ /// Is a vertex program in use somewhere in this region?
412
+ bool mVertexProgramInUse;
413
+
414
+
415
+
416
+ public:
417
+ Region(StaticGeometry* parent, const String& name, SceneManager* mgr,
418
+ uint32 regionID, const Vector3& centre);
419
+ virtual ~Region();
420
+ // more fields can be added in subclasses
421
+ StaticGeometry* getParent(void) const { return mParent;}
422
+ /// Assign a queued mesh to this region, read for final build
423
+ void assign(QueuedSubMesh* qmesh);
424
+ /// Build this region
425
+ void build(bool stencilShadows);
426
+ /// Get the region ID of this region
427
+ uint32 getID(void) const { return mRegionID; }
428
+ /// Get the centre point of the region
429
+ const Vector3& getCentre(void) const { return mCentre; }
430
+ const String& getMovableType(void) const;
431
+ void _notifyCurrentCamera(Camera* cam);
432
+ const AxisAlignedBox& getBoundingBox(void) const;
433
+ Real getBoundingRadius(void) const;
434
+ void _updateRenderQueue(RenderQueue* queue);
435
+ bool isVisible(void) const;
436
+ uint32 getTypeFlags(void) const;
437
+
438
+ typedef VectorIterator<LODBucketList> LODIterator;
439
+ /// Get an iterator over the LODs in this region
440
+ LODIterator getLODIterator(void);
441
+ /// @copydoc ShadowCaster::getShadowVolumeRenderableIterator
442
+ ShadowRenderableListIterator getShadowVolumeRenderableIterator(
443
+ ShadowTechnique shadowTechnique, const Light* light,
444
+ HardwareIndexBufferSharedPtr* indexBuffer,
445
+ bool extrudeVertices, Real extrusionDistance, unsigned long flags = 0 );
446
+ /// Overridden from MovableObject
447
+ EdgeData* getEdgeList(void);
448
+ /** Overridden member from ShadowCaster. */
449
+ bool hasEdgeList(void);
450
+
451
+ /// Dump contents for diagnostics
452
+ void dump(std::ofstream& of) const;
453
+
454
+ };
455
+ /** Indexed region map based on packed x/y/z region index, 10 bits for
456
+ each axis.
457
+ @remarks
458
+ Regions are indexed 0-1023 in all axes, where for example region
459
+ 0 in the x axis begins at mOrigin.x + (mRegionDimensions.x * -512),
460
+ and region 1023 ends at mOrigin + (mRegionDimensions.x * 512).
461
+ */
462
+ typedef std::map<uint32, Region*> RegionMap;
463
+ protected:
464
+ // General state & settings
465
+ SceneManager* mOwner;
466
+ String mName;
467
+ bool mBuilt;
468
+ Real mUpperDistance;
469
+ Real mSquaredUpperDistance;
470
+ bool mCastShadows;
471
+ Vector3 mRegionDimensions;
472
+ Vector3 mHalfRegionDimensions;
473
+ Vector3 mOrigin;
474
+ bool mVisible;
475
+ /// The render queue to use when rendering this object
476
+ uint8 mRenderQueueID;
477
+ /// Flags whether the RenderQueue's default should be used.
478
+ bool mRenderQueueIDSet;
479
+
480
+ QueuedSubMeshList mQueuedSubMeshes;
481
+
482
+ /// List of geometry which has been optimised for SubMesh use
483
+ /// This is the primary storage used for cleaning up later
484
+ OptimisedSubMeshGeometryList mOptimisedSubMeshGeometryList;
485
+
486
+ /** Cached links from SubMeshes to (potentially optimised) geometry
487
+ This is not used for deletion since the lookup may reference
488
+ original vertex data
489
+ */
490
+ SubMeshGeometryLookup mSubMeshGeometryLookup;
491
+
492
+ /// Map of regions
493
+ RegionMap mRegionMap;
494
+
495
+ /** Virtual method for getting a region most suitable for the
496
+ passed in bounds. Can be overridden by subclasses.
497
+ */
498
+ virtual Region* getRegion(const AxisAlignedBox& bounds, bool autoCreate);
499
+ /** Get the region within which a point lies */
500
+ virtual Region* getRegion(const Vector3& point, bool autoCreate);
501
+ /** Get the region using indexes */
502
+ virtual Region* getRegion(ushort x, ushort y, ushort z, bool autoCreate);
503
+ /** Get the region using a packed index, returns null if it doesn't exist. */
504
+ virtual Region* getRegion(uint32 index);
505
+ /** Get the region indexes for a point.
506
+ */
507
+ virtual void getRegionIndexes(const Vector3& point,
508
+ ushort& x, ushort& y, ushort& z);
509
+ /** Pack 3 indexes into a single index value
510
+ */
511
+ virtual uint32 packIndex(ushort x, ushort y, ushort z);
512
+ /** Get the volume intersection for an indexed region with some bounds.
513
+ */
514
+ virtual Real getVolumeIntersection(const AxisAlignedBox& box,
515
+ ushort x, ushort y, ushort z);
516
+ /** Get the bounds of an indexed region.
517
+ */
518
+ virtual AxisAlignedBox getRegionBounds(ushort x, ushort y, ushort z);
519
+ /** Get the centre of an indexed region.
520
+ */
521
+ virtual Vector3 getRegionCentre(ushort x, ushort y, ushort z);
522
+ /** Calculate world bounds from a set of vertex data. */
523
+ virtual AxisAlignedBox calculateBounds(VertexData* vertexData,
524
+ const Vector3& position, const Quaternion& orientation,
525
+ const Vector3& scale);
526
+ /** Look up or calculate the geometry data to use for this SubMesh */
527
+ SubMeshLodGeometryLinkList* determineGeometry(SubMesh* sm);
528
+ /** Split some shared geometry into dedicated geometry. */
529
+ void splitGeometry(VertexData* vd, IndexData* id,
530
+ SubMeshLodGeometryLink* targetGeomLink);
531
+
532
+ typedef std::map<size_t, size_t> IndexRemap;
533
+ /** Method for figuring out which vertices are used by an index buffer
534
+ and calculating a remap lookup for a vertex buffer just containing
535
+ those vertices.
536
+ */
537
+ template <typename T>
538
+ void buildIndexRemap(T* pBuffer, size_t numIndexes, IndexRemap& remap)
539
+ {
540
+ remap.clear();
541
+ for (size_t i = 0; i < numIndexes; ++i)
542
+ {
543
+ // use insert since duplicates are silently discarded
544
+ remap.insert(IndexRemap::value_type(*pBuffer++, remap.size()));
545
+ // this will have mapped oldindex -> new index IF oldindex
546
+ // wasn't already there
547
+ }
548
+ }
549
+ /** Method for altering indexes based on a remap. */
550
+ template <typename T>
551
+ void remapIndexes(T* src, T* dst, const IndexRemap& remap,
552
+ size_t numIndexes)
553
+ {
554
+ for (size_t i = 0; i < numIndexes; ++i)
555
+ {
556
+ // look up original and map to target
557
+ IndexRemap::const_iterator ix = remap.find(*src++);
558
+ assert(ix != remap.end());
559
+ *dst++ = static_cast<T>(ix->second);
560
+ }
561
+ }
562
+
563
+ public:
564
+ /// Constructor; do not use directly (@see SceneManager::createStaticGeometry)
565
+ StaticGeometry(SceneManager* owner, const String& name);
566
+ /// Destructor
567
+ virtual ~StaticGeometry();
568
+
569
+ /// Get the name of this object
570
+ const String& getName(void) const { return mName; }
571
+ /** Adds an Entity to the static geometry.
572
+ @remarks
573
+ This method takes an existing Entity and adds its details to the
574
+ list of elements to include when building. Note that the Entity
575
+ itself is not copied or referenced in this method; an Entity is
576
+ passed simply so that you can change the materials of attached
577
+ SubEntity objects if you want. You can add the same Entity
578
+ instance multiple times with different material settings
579
+ completely safely, and destroy the Entity before destroying
580
+ this StaticGeometry if you like. The Entity passed in is simply
581
+ used as a definition.
582
+ @note Must be called before 'build'.
583
+ @param ent The Entity to use as a definition (the Mesh and Materials
584
+ referenced will be recorded for the build call).
585
+ @param position The world position at which to add this Entity
586
+ @param orientation The world orientation at which to add this Entity
587
+ @param scale The scale at which to add this entity
588
+ */
589
+ virtual void addEntity(Entity* ent, const Vector3& position,
590
+ const Quaternion& orientation = Quaternion::IDENTITY,
591
+ const Vector3& scale = Vector3::UNIT_SCALE);
592
+
593
+ /** Adds all the Entity objects attached to a SceneNode and all it's
594
+ children to the static geometry.
595
+ @remarks
596
+ This method performs just like addEntity, except it adds all the
597
+ entities attached to an entire sub-tree to the geometry.
598
+ The position / orientation / scale parameters are taken from the
599
+ node structure instead of being specified manually.
600
+ @note
601
+ The SceneNode you pass in will not be automatically detached from
602
+ it's parent, so if you have this node already attached to the scene
603
+ graph, you will need to remove it if you wish to avoid the overhead
604
+ of rendering <i>both</i> the original objects and their new static
605
+ versions! We don't do this for you incase you are preparing this
606
+ in advance and so don't want the originals detached yet.
607
+ @note Must be called before 'build'.
608
+ @param node Pointer to the node to use to provide a set of Entity
609
+ templates
610
+ */
611
+ virtual void addSceneNode(const SceneNode* node);
612
+
613
+ /** Build the geometry.
614
+ @remarks
615
+ Based on all the entities which have been added, and the batching
616
+ options which have been set, this method constructs the batched
617
+ geometry structures required. The batches are added to the scene
618
+ and will be rendered unless you specifically hide them.
619
+ @note
620
+ Once you have called this method, you can no longer add any more
621
+ entities.
622
+ */
623
+ virtual void build(void);
624
+
625
+ /** Destroys all the built geometry state (reverse of build).
626
+ @remarks
627
+ You can call build() again after this and it will pick up all the
628
+ same entities / nodes you queued last time.
629
+ */
630
+ virtual void destroy(void);
631
+
632
+ /** Clears any of the entities / nodes added to this geometry and
633
+ destroys anything which has already been built.
634
+ */
635
+ virtual void reset(void);
636
+
637
+ /** Sets the distance at which batches are no longer rendered.
638
+ @remarks
639
+ This lets you turn off batches at a given distance. This can be
640
+ useful for things like detail meshes (grass, foliage etc) and could
641
+ be combined with a shader which fades the geometry out beforehand
642
+ to lessen the effect.
643
+ @param dist Distance beyond which the batches will not be rendered
644
+ (the default is 0, which means batches are always rendered).
645
+ */
646
+ virtual void setRenderingDistance(Real dist) {
647
+ mUpperDistance = dist;
648
+ mSquaredUpperDistance = mUpperDistance * mUpperDistance;
649
+ }
650
+
651
+ /** Gets the distance at which batches are no longer rendered. */
652
+ virtual Real getRenderingDistance(void) const { return mUpperDistance; }
653
+
654
+ /** Gets the squared distance at which batches are no longer rendered. */
655
+ virtual Real getSquaredRenderingDistance(void) const
656
+ { return mSquaredUpperDistance; }
657
+
658
+ /** Hides or shows all the batches. */
659
+ virtual void setVisible(bool visible);
660
+
661
+ /** Are the batches visible? */
662
+ virtual bool isVisible(void) const { return mVisible; }
663
+
664
+ /** Sets whether this geometry should cast shadows.
665
+ @remarks
666
+ No matter what the settings on the original entities,
667
+ the StaticGeometry class defaults to not casting shadows.
668
+ This is because, being static, unless you have moving lights
669
+ you'd be better to use precalculated shadows of some sort.
670
+ However, if you need them, you can enable them using this
671
+ method. If the SceneManager is set up to use stencil shadows,
672
+ edge lists will be copied from the underlying meshes on build.
673
+ It is essential that all meshes support stencil shadows in this
674
+ case.
675
+ @note If you intend to use stencil shadows, you must set this to
676
+ true before calling 'build' as well as making sure you set the
677
+ scene's shadow type (that should always be the first thing you do
678
+ anyway). You can turn shadows off temporarily but they can never
679
+ be turned on if they were not at the time of the build.
680
+ */
681
+ virtual void setCastShadows(bool castShadows);
682
+ /// Will the geometry from this object cast shadows?
683
+ virtual bool getCastShadows(void) { return mCastShadows; }
684
+
685
+ /** Sets the size of a single region of geometry.
686
+ @remarks
687
+ This method allows you to configure the physical world size of
688
+ each region, so you can balance culling against batch size. Entities
689
+ will be fitted within the batch they most closely fit, and the
690
+ eventual bounds of each batch may well be slightly larger than this
691
+ if they overlap a little. The default is Vector3(1000, 1000, 1000).
692
+ @note Must be called before 'build'.
693
+ @param size Vector3 expressing the 3D size of each region.
694
+ */
695
+ virtual void setRegionDimensions(const Vector3& size) {
696
+ mRegionDimensions = size;
697
+ mHalfRegionDimensions = size * 0.5;
698
+ }
699
+ /** Gets the size of a single batch of geometry. */
700
+ virtual const Vector3& getRegionDimensions(void) const { return mRegionDimensions; }
701
+ /** Sets the origin of the geometry.
702
+ @remarks
703
+ This method allows you to configure the world centre of the geometry,
704
+ thus the place which all regions surround. You probably don't need
705
+ to mess with this unless you have a seriously large world, since the
706
+ default set up can handle an area 1024 * mRegionDimensions, and
707
+ the sparseness of population is no issue when it comes to rendering.
708
+ The default is Vector3(0,0,0).
709
+ @note Must be called before 'build'.
710
+ @param size Vector3 expressing the 3D origin of the geometry.
711
+ */
712
+ virtual void setOrigin(const Vector3& origin) { mOrigin = origin; }
713
+ /** Gets the origin of this geometry. */
714
+ virtual const Vector3& getOrigin(void) const { return mOrigin; }
715
+
716
+ /** Sets the render queue group this object will be rendered through.
717
+ @remarks
718
+ Render queues are grouped to allow you to more tightly control the ordering
719
+ of rendered objects. If you do not call this method, all objects default
720
+ to the default queue (RenderQueue::getDefaultQueueGroup), which is fine for
721
+ most objects. You may want to alter this if you want to perform more complex
722
+ rendering.
723
+ @par
724
+ See RenderQueue for more details.
725
+ @param queueID Enumerated value of the queue group to use.
726
+ */
727
+ virtual void setRenderQueueGroup(uint8 queueID);
728
+
729
+ /** Gets the queue group for this entity, see setRenderQueueGroup for full details. */
730
+ virtual uint8 getRenderQueueGroup(void) const;
731
+
732
+ /// Iterator for iterating over contained regions
733
+ typedef MapIterator<RegionMap> RegionIterator;
734
+ /// Get an iterator over the regions in this geometry
735
+ RegionIterator getRegionIterator(void);
736
+
737
+ /** Dump the contents of this StaticGeometry to a file for diagnostic
738
+ purposes.
739
+ */
740
+ virtual void dump(const String& filename) const;
741
+
742
+
743
+ };
744
+
745
+ }
746
+
747
+ #endif
748
+