ruby-ogre 0.0.5-x86-linux → 0.1.0-x86-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1620) hide show
  1. data/README.md +27 -17
  2. data/Rakefile +80 -248
  3. data/lib/{version.rb → ruby-ogre/version.rb} +1 -1
  4. data/ruby-ogre-push.gemspec +30 -0
  5. metadata +23 -1623
  6. data/INSTALL.md +0 -24
  7. data/bindings/ogre/interface/AnyVALUE.h +0 -21
  8. data/bindings/ogre/interface/GLX/OgreConfigDialogImp.i +0 -8
  9. data/bindings/ogre/interface/GLX/OgreErrorDialogImp.i +0 -8
  10. data/bindings/ogre/interface/GLX/OgreTimerImp.i +0 -8
  11. data/bindings/ogre/interface/Ogre.i +0 -8
  12. data/bindings/ogre/interface/OgreAlignedAllocator.i +0 -10
  13. data/bindings/ogre/interface/OgreAnimable.i +0 -6
  14. data/bindings/ogre/interface/OgreAnimation.i +0 -8
  15. data/bindings/ogre/interface/OgreAnimationBlender.i +0 -8
  16. data/bindings/ogre/interface/OgreAnimationState.i +0 -31
  17. data/bindings/ogre/interface/OgreAnimationTrack.i +0 -6
  18. data/bindings/ogre/interface/OgreAny.i +0 -381
  19. data/bindings/ogre/interface/OgreArchive.i +0 -6
  20. data/bindings/ogre/interface/OgreArchiveFactory.i +0 -10
  21. data/bindings/ogre/interface/OgreArchiveManager.i +0 -8
  22. data/bindings/ogre/interface/OgreAtomicWrappers.i +0 -8
  23. data/bindings/ogre/interface/OgreAutoParamDataSource.i +0 -8
  24. data/bindings/ogre/interface/OgreAxisAlignedBox.i +0 -6
  25. data/bindings/ogre/interface/OgreBillboard.i +0 -8
  26. data/bindings/ogre/interface/OgreBillboardChain.i +0 -8
  27. data/bindings/ogre/interface/OgreBillboardParticleRenderer.i +0 -8
  28. data/bindings/ogre/interface/OgreBillboardSet.i +0 -8
  29. data/bindings/ogre/interface/OgreBitwise.i +0 -10
  30. data/bindings/ogre/interface/OgreBlendMode.i +0 -6
  31. data/bindings/ogre/interface/OgreBone.i +0 -8
  32. data/bindings/ogre/interface/OgreBorderPanelOverlayElement.i +0 -14
  33. data/bindings/ogre/interface/OgreBuildSettings.i +0 -8
  34. data/bindings/ogre/interface/OgreCamera.i +0 -6
  35. data/bindings/ogre/interface/OgreCodec.i +0 -8
  36. data/bindings/ogre/interface/OgreColourValue.i +0 -6
  37. data/bindings/ogre/interface/OgreCommon.i +0 -12
  38. data/bindings/ogre/interface/OgreCompositionPass.i +0 -8
  39. data/bindings/ogre/interface/OgreCompositionTargetPass.i +0 -8
  40. data/bindings/ogre/interface/OgreCompositionTechnique.i +0 -13
  41. data/bindings/ogre/interface/OgreCompositor.i +0 -8
  42. data/bindings/ogre/interface/OgreCompositorChain.i +0 -8
  43. data/bindings/ogre/interface/OgreCompositorInstance.i +0 -8
  44. data/bindings/ogre/interface/OgreCompositorLogic.i +0 -8
  45. data/bindings/ogre/interface/OgreCompositorManager.i +0 -8
  46. data/bindings/ogre/interface/OgreConfig.i +0 -8
  47. data/bindings/ogre/interface/OgreConfigDialog.i +0 -8
  48. data/bindings/ogre/interface/OgreConfigFile.i +0 -88
  49. data/bindings/ogre/interface/OgreConfigOptionMap.i +0 -6
  50. data/bindings/ogre/interface/OgreController.i +0 -8
  51. data/bindings/ogre/interface/OgreControllerManager.i +0 -8
  52. data/bindings/ogre/interface/OgreConvexBody.i +0 -8
  53. data/bindings/ogre/interface/OgreCustomCompositionPass.i +0 -8
  54. data/bindings/ogre/interface/OgreDDSCodec.i +0 -8
  55. data/bindings/ogre/interface/OgreDataStream.i +0 -6
  56. data/bindings/ogre/interface/OgreDefaultHardwareBufferManager.i +0 -8
  57. data/bindings/ogre/interface/OgreDeflate.i +0 -8
  58. data/bindings/ogre/interface/OgreDepthBuffer.i +0 -8
  59. data/bindings/ogre/interface/OgreDistanceLodStrategy.i +0 -8
  60. data/bindings/ogre/interface/OgreDualQuaternion.i +0 -8
  61. data/bindings/ogre/interface/OgreDynLib.i +0 -8
  62. data/bindings/ogre/interface/OgreDynLibManager.i +0 -8
  63. data/bindings/ogre/interface/OgreEdgeListBuilder.i +0 -8
  64. data/bindings/ogre/interface/OgreEntity.i +0 -6
  65. data/bindings/ogre/interface/OgreErrorDialog.i +0 -8
  66. data/bindings/ogre/interface/OgreException.i +0 -8
  67. data/bindings/ogre/interface/OgreExternalTextureSource.i +0 -8
  68. data/bindings/ogre/interface/OgreExternalTextureSourceManager.i +0 -8
  69. data/bindings/ogre/interface/OgreFactoryObj.i +0 -8
  70. data/bindings/ogre/interface/OgreFileSystem.i +0 -8
  71. data/bindings/ogre/interface/OgreFont.i +0 -8
  72. data/bindings/ogre/interface/OgreFontManager.i +0 -8
  73. data/bindings/ogre/interface/OgreFrameListener.i +0 -9
  74. data/bindings/ogre/interface/OgreFreeImageCodec.i +0 -8
  75. data/bindings/ogre/interface/OgreFrustum.i +0 -6
  76. data/bindings/ogre/interface/OgreGpuProgram.i +0 -6
  77. data/bindings/ogre/interface/OgreGpuProgramManager.i +0 -8
  78. data/bindings/ogre/interface/OgreGpuProgramParams.i +0 -13
  79. data/bindings/ogre/interface/OgreGpuProgramUsage.i +0 -8
  80. data/bindings/ogre/interface/OgreHardwareBuffer.i +0 -6
  81. data/bindings/ogre/interface/OgreHardwareBufferManager.i +0 -8
  82. data/bindings/ogre/interface/OgreHardwareIndexBuffer.i +0 -6
  83. data/bindings/ogre/interface/OgreHardwareOcclusionQuery.i +0 -8
  84. data/bindings/ogre/interface/OgreHardwarePixelBuffer.i +0 -6
  85. data/bindings/ogre/interface/OgreHardwareVertexBuffer.i +0 -6
  86. data/bindings/ogre/interface/OgreHeaderPrefix.i +0 -8
  87. data/bindings/ogre/interface/OgreHeaderSuffix.i +0 -8
  88. data/bindings/ogre/interface/OgreHighLevelGpuProgram.i +0 -8
  89. data/bindings/ogre/interface/OgreHighLevelGpuProgramManager.i +0 -8
  90. data/bindings/ogre/interface/OgreImage.i +0 -6
  91. data/bindings/ogre/interface/OgreImageCodec.i +0 -8
  92. data/bindings/ogre/interface/OgreInstanceBatch.i +0 -8
  93. data/bindings/ogre/interface/OgreInstanceBatchHW.i +0 -8
  94. data/bindings/ogre/interface/OgreInstanceBatchHW_VTF.i +0 -8
  95. data/bindings/ogre/interface/OgreInstanceBatchShader.i +0 -8
  96. data/bindings/ogre/interface/OgreInstanceBatchVTF.i +0 -8
  97. data/bindings/ogre/interface/OgreInstanceManager.i +0 -8
  98. data/bindings/ogre/interface/OgreInstancedEntity.i +0 -8
  99. data/bindings/ogre/interface/OgreInstancedGeometry.i +0 -9
  100. data/bindings/ogre/interface/OgreIteratorRange.i +0 -8
  101. data/bindings/ogre/interface/OgreIteratorWrapper.i +0 -6
  102. data/bindings/ogre/interface/OgreIteratorWrappers.i +0 -8
  103. data/bindings/ogre/interface/OgreKeyFrame.i +0 -13
  104. data/bindings/ogre/interface/OgreLight.i +0 -6
  105. data/bindings/ogre/interface/OgreLodListener.i +0 -8
  106. data/bindings/ogre/interface/OgreLodStrategy.i +0 -8
  107. data/bindings/ogre/interface/OgreLodStrategyManager.i +0 -10
  108. data/bindings/ogre/interface/OgreLog.i +0 -11
  109. data/bindings/ogre/interface/OgreLogManager.i +0 -8
  110. data/bindings/ogre/interface/OgreManualObject.i +0 -8
  111. data/bindings/ogre/interface/OgreMaterial.i +0 -17
  112. data/bindings/ogre/interface/OgreMaterialManager.i +0 -6
  113. data/bindings/ogre/interface/OgreMaterialSerializer.i +0 -8
  114. data/bindings/ogre/interface/OgreMath.i +0 -5
  115. data/bindings/ogre/interface/OgreMatrix3.i +0 -8
  116. data/bindings/ogre/interface/OgreMatrix4.i +0 -6
  117. data/bindings/ogre/interface/OgreMemoryAllocatedObject.i +0 -8
  118. data/bindings/ogre/interface/OgreMemoryAllocatorConfig.i +0 -7
  119. data/bindings/ogre/interface/OgreMemoryNedAlloc.i +0 -8
  120. data/bindings/ogre/interface/OgreMemoryNedPooling.i +0 -6
  121. data/bindings/ogre/interface/OgreMemorySTLAllocator.i +0 -5
  122. data/bindings/ogre/interface/OgreMemoryStdAlloc.i +0 -8
  123. data/bindings/ogre/interface/OgreMemoryTracker.i +0 -8
  124. data/bindings/ogre/interface/OgreMesh.i +0 -11
  125. data/bindings/ogre/interface/OgreMeshFileFormat.i +0 -8
  126. data/bindings/ogre/interface/OgreMeshManager.i +0 -6
  127. data/bindings/ogre/interface/OgreMeshSerializer.i +0 -8
  128. data/bindings/ogre/interface/OgreMeshSerializerImpl.i +0 -8
  129. data/bindings/ogre/interface/OgreMovableObject.i +0 -12
  130. data/bindings/ogre/interface/OgreMovablePlane.i +0 -8
  131. data/bindings/ogre/interface/OgreNode.i +0 -8
  132. data/bindings/ogre/interface/OgreNumerics.i +0 -8
  133. data/bindings/ogre/interface/OgreOptimisedUtil.i +0 -8
  134. data/bindings/ogre/interface/OgreOverlay.i +0 -6
  135. data/bindings/ogre/interface/OgreOverlayContainer.i +0 -37
  136. data/bindings/ogre/interface/OgreOverlayElement.i +0 -6
  137. data/bindings/ogre/interface/OgreOverlayElementCommands.i +0 -8
  138. data/bindings/ogre/interface/OgreOverlayElementFactory.i +0 -8
  139. data/bindings/ogre/interface/OgreOverlayManager.i +0 -20
  140. data/bindings/ogre/interface/OgrePanelOverlayElement.i +0 -14
  141. data/bindings/ogre/interface/OgreParticle.i +0 -8
  142. data/bindings/ogre/interface/OgreParticleAffector.i +0 -8
  143. data/bindings/ogre/interface/OgreParticleAffectorFactory.i +0 -8
  144. data/bindings/ogre/interface/OgreParticleEmitter.i +0 -8
  145. data/bindings/ogre/interface/OgreParticleEmitterCommands.i +0 -8
  146. data/bindings/ogre/interface/OgreParticleEmitterFactory.i +0 -8
  147. data/bindings/ogre/interface/OgreParticleIterator.i +0 -8
  148. data/bindings/ogre/interface/OgreParticleScriptCompiler.i +0 -8
  149. data/bindings/ogre/interface/OgreParticleSystem.i +0 -8
  150. data/bindings/ogre/interface/OgreParticleSystemManager.i +0 -8
  151. data/bindings/ogre/interface/OgreParticleSystemRenderer.i +0 -10
  152. data/bindings/ogre/interface/OgrePass.i +0 -6
  153. data/bindings/ogre/interface/OgrePatchMesh.i +0 -6
  154. data/bindings/ogre/interface/OgrePatchSurface.i +0 -6
  155. data/bindings/ogre/interface/OgrePixelCountLodStrategy.i +0 -8
  156. data/bindings/ogre/interface/OgrePixelFormat.i +0 -6
  157. data/bindings/ogre/interface/OgrePlane.i +0 -6
  158. data/bindings/ogre/interface/OgrePlaneBoundedVolume.i +0 -6
  159. data/bindings/ogre/interface/OgrePlatform.i +0 -6
  160. data/bindings/ogre/interface/OgrePlatformInformation.i +0 -8
  161. data/bindings/ogre/interface/OgrePlugin.i +0 -8
  162. data/bindings/ogre/interface/OgrePolygon.i +0 -8
  163. data/bindings/ogre/interface/OgrePose.i +0 -6
  164. data/bindings/ogre/interface/OgrePredefinedControllers.i +0 -8
  165. data/bindings/ogre/interface/OgrePrefabFactory.i +0 -8
  166. data/bindings/ogre/interface/OgrePrerequisites.i +0 -11
  167. data/bindings/ogre/interface/OgreProfiler.i +0 -8
  168. data/bindings/ogre/interface/OgreProgressiveMesh.i +0 -8
  169. data/bindings/ogre/interface/OgreQuaternion.i +0 -6
  170. data/bindings/ogre/interface/OgreRadixSort.i +0 -8
  171. data/bindings/ogre/interface/OgreRay.i +0 -8
  172. data/bindings/ogre/interface/OgreRectangle.i +0 -6
  173. data/bindings/ogre/interface/OgreRectangle2D.i +0 -6
  174. data/bindings/ogre/interface/OgreRenderObjectListener.i +0 -10
  175. data/bindings/ogre/interface/OgreRenderOperation.i +0 -8
  176. data/bindings/ogre/interface/OgreRenderQueue.i +0 -6
  177. data/bindings/ogre/interface/OgreRenderQueueInvocation.i +0 -8
  178. data/bindings/ogre/interface/OgreRenderQueueListener.i +0 -10
  179. data/bindings/ogre/interface/OgreRenderQueueSortingGrouping.i +0 -11
  180. data/bindings/ogre/interface/OgreRenderSystem.i +0 -23
  181. data/bindings/ogre/interface/OgreRenderSystemCapabilities.i +0 -6
  182. data/bindings/ogre/interface/OgreRenderSystemCapabilitiesManager.i +0 -8
  183. data/bindings/ogre/interface/OgreRenderSystemCapabilitiesSerializer.i +0 -8
  184. data/bindings/ogre/interface/OgreRenderTarget.i +0 -6
  185. data/bindings/ogre/interface/OgreRenderTargetListener.i +0 -10
  186. data/bindings/ogre/interface/OgreRenderTexture.i +0 -8
  187. data/bindings/ogre/interface/OgreRenderToVertexBuffer.i +0 -8
  188. data/bindings/ogre/interface/OgreRenderWindow.i +0 -6
  189. data/bindings/ogre/interface/OgreRenderable.i +0 -6
  190. data/bindings/ogre/interface/OgreResource.i +0 -9
  191. data/bindings/ogre/interface/OgreResourceBackgroundQueue.i +0 -8
  192. data/bindings/ogre/interface/OgreResourceGroupManager.i +0 -20
  193. data/bindings/ogre/interface/OgreResourceManager.i +0 -30
  194. data/bindings/ogre/interface/OgreRibbonTrail.i +0 -17
  195. data/bindings/ogre/interface/OgreRoot.i +0 -44
  196. data/bindings/ogre/interface/OgreRotationalSpline.i +0 -8
  197. data/bindings/ogre/interface/OgreSceneManager.i +0 -59
  198. data/bindings/ogre/interface/OgreSceneManagerEnumerator.i +0 -11
  199. data/bindings/ogre/interface/OgreSceneNode.i +0 -9
  200. data/bindings/ogre/interface/OgreSceneQuery.i +0 -6
  201. data/bindings/ogre/interface/OgreScriptCompiler.i +0 -11
  202. data/bindings/ogre/interface/OgreScriptLexer.i +0 -8
  203. data/bindings/ogre/interface/OgreScriptLoader.i +0 -8
  204. data/bindings/ogre/interface/OgreScriptParser.i +0 -8
  205. data/bindings/ogre/interface/OgreScriptTranslator.i +0 -8
  206. data/bindings/ogre/interface/OgreSearchOps.i +0 -8
  207. data/bindings/ogre/interface/OgreSerializer.i +0 -6
  208. data/bindings/ogre/interface/OgreShadowCameraSetup.i +0 -6
  209. data/bindings/ogre/interface/OgreShadowCameraSetupFocused.i +0 -8
  210. data/bindings/ogre/interface/OgreShadowCameraSetupLiSPSM.i +0 -8
  211. data/bindings/ogre/interface/OgreShadowCameraSetupPSSM.i +0 -8
  212. data/bindings/ogre/interface/OgreShadowCameraSetupPlaneOptimal.i +0 -8
  213. data/bindings/ogre/interface/OgreShadowCaster.i +0 -8
  214. data/bindings/ogre/interface/OgreShadowTextureManager.i +0 -6
  215. data/bindings/ogre/interface/OgreShadowVolumeExtrudeProgram.i +0 -8
  216. data/bindings/ogre/interface/OgreSharedPtr.i +0 -6
  217. data/bindings/ogre/interface/OgreSimpleRenderable.i +0 -6
  218. data/bindings/ogre/interface/OgreSimpleSpline.i +0 -8
  219. data/bindings/ogre/interface/OgreSingleton.i +0 -8
  220. data/bindings/ogre/interface/OgreSkeleton.i +0 -6
  221. data/bindings/ogre/interface/OgreSkeletonFileFormat.i +0 -8
  222. data/bindings/ogre/interface/OgreSkeletonInstance.i +0 -6
  223. data/bindings/ogre/interface/OgreSkeletonManager.i +0 -8
  224. data/bindings/ogre/interface/OgreSkeletonSerializer.i +0 -8
  225. data/bindings/ogre/interface/OgreSmallVector.i +0 -8
  226. data/bindings/ogre/interface/OgreSphere.i +0 -8
  227. data/bindings/ogre/interface/OgreSpotShadowFadePng.i +0 -8
  228. data/bindings/ogre/interface/OgreStableHeaders.i +0 -8
  229. data/bindings/ogre/interface/OgreStaticFaceGroup.i +0 -8
  230. data/bindings/ogre/interface/OgreStaticGeometry.i +0 -13
  231. data/bindings/ogre/interface/OgreStaticPluginLoader.i +0 -8
  232. data/bindings/ogre/interface/OgreStdHeaders.i +0 -8
  233. data/bindings/ogre/interface/OgreStreamSerialiser.i +0 -8
  234. data/bindings/ogre/interface/OgreString.i +0 -6
  235. data/bindings/ogre/interface/OgreStringConverter.i +0 -8
  236. data/bindings/ogre/interface/OgreStringInterface.i +0 -8
  237. data/bindings/ogre/interface/OgreStringVector.i +0 -22
  238. data/bindings/ogre/interface/OgreSubEntity.i +0 -8
  239. data/bindings/ogre/interface/OgreSubMesh.i +0 -8
  240. data/bindings/ogre/interface/OgreTagPoint.i +0 -8
  241. data/bindings/ogre/interface/OgreTangentSpaceCalc.i +0 -8
  242. data/bindings/ogre/interface/OgreTechnique.i +0 -18
  243. data/bindings/ogre/interface/OgreTextAreaOverlayElement.i +0 -8
  244. data/bindings/ogre/interface/OgreTexture.i +0 -6
  245. data/bindings/ogre/interface/OgreTextureManager.i +0 -6
  246. data/bindings/ogre/interface/OgreTextureUnitState.i +0 -6
  247. data/bindings/ogre/interface/OgreTimer.i +0 -8
  248. data/bindings/ogre/interface/OgreUTFString.i +0 -26
  249. data/bindings/ogre/interface/OgreUnifiedHighLevelGpuProgram.i +0 -10
  250. data/bindings/ogre/interface/OgreUserObjectBindings.i +0 -8
  251. data/bindings/ogre/interface/OgreVector2.i +0 -8
  252. data/bindings/ogre/interface/OgreVector3.i +0 -9
  253. data/bindings/ogre/interface/OgreVector4.i +0 -8
  254. data/bindings/ogre/interface/OgreVertexBoneAssignment.i +0 -6
  255. data/bindings/ogre/interface/OgreVertexIndexData.i +0 -8
  256. data/bindings/ogre/interface/OgreViewport.i +0 -6
  257. data/bindings/ogre/interface/OgreWindowEventUtilities.i +0 -6
  258. data/bindings/ogre/interface/OgreWireBoundingBox.i +0 -8
  259. data/bindings/ogre/interface/OgreWorkQueue.i +0 -8
  260. data/bindings/ogre/interface/OgreZip.i +0 -12
  261. data/bindings/ogre/interface/Paging/OgreGrid2DPageStrategy.i +0 -8
  262. data/bindings/ogre/interface/Paging/OgreGrid3DPageStrategy.i +0 -8
  263. data/bindings/ogre/interface/Paging/OgrePage.i +0 -8
  264. data/bindings/ogre/interface/Paging/OgrePageConnection.i +0 -8
  265. data/bindings/ogre/interface/Paging/OgrePageContent.i +0 -8
  266. data/bindings/ogre/interface/Paging/OgrePageContentCollection.i +0 -8
  267. data/bindings/ogre/interface/Paging/OgrePageContentCollectionFactory.i +0 -8
  268. data/bindings/ogre/interface/Paging/OgrePageContentFactory.i +0 -8
  269. data/bindings/ogre/interface/Paging/OgrePageFileFormats.i +0 -8
  270. data/bindings/ogre/interface/Paging/OgrePageManager.i +0 -8
  271. data/bindings/ogre/interface/Paging/OgrePageStrategy.i +0 -8
  272. data/bindings/ogre/interface/Paging/OgrePagedWorld.i +0 -8
  273. data/bindings/ogre/interface/Paging/OgrePagedWorldSection.i +0 -8
  274. data/bindings/ogre/interface/Paging/OgrePaging.i +0 -8
  275. data/bindings/ogre/interface/Paging/OgrePagingPrerequisites.i +0 -8
  276. data/bindings/ogre/interface/Paging/OgreSimplePageContentCollection.i +0 -8
  277. data/bindings/ogre/interface/RTShaderSystem/OgreRTShaderSystem.i +0 -8
  278. data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramProcessor.i +0 -8
  279. data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramWriter.i +0 -8
  280. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExDualQuaternionSkinning.i +0 -8
  281. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinning.i +0 -10
  282. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.i +0 -8
  283. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExIntegratedPSSM3.i +0 -8
  284. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLayeredBlending.i +0 -11
  285. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLinearSkinning.i +0 -8
  286. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExNormalMapLighting.i +0 -8
  287. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExPerPixelLighting.i +0 -8
  288. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExTextureAtlasSampler.i +0 -10
  289. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPColour.i +0 -8
  290. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPFog.i +0 -8
  291. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPLighting.i +0 -8
  292. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderState.i +0 -8
  293. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderStateBuilder.i +0 -11
  294. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTexturing.i +0 -8
  295. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTransform.i +0 -8
  296. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunction.i +0 -8
  297. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunctionAtom.i +0 -8
  298. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramProcessor.i +0 -8
  299. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramWriter.i +0 -11
  300. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramProcessor.i +0 -8
  301. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramWriter.i +0 -8
  302. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGenerator.i +0 -8
  303. data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramProcessor.i +0 -8
  304. data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramWriter.i +0 -8
  305. data/bindings/ogre/interface/RTShaderSystem/OgreShaderMaterialSerializerListener.i +0 -8
  306. data/bindings/ogre/interface/RTShaderSystem/OgreShaderParameter.i +0 -8
  307. data/bindings/ogre/interface/RTShaderSystem/OgreShaderPrerequisites.i +0 -8
  308. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgram.i +0 -8
  309. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramManager.i +0 -8
  310. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramProcessor.i +0 -8
  311. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramSet.i +0 -8
  312. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriter.i +0 -8
  313. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriterManager.i +0 -8
  314. data/bindings/ogre/interface/RTShaderSystem/OgreShaderRenderState.i +0 -8
  315. data/bindings/ogre/interface/RTShaderSystem/OgreShaderScriptTranslator.i +0 -8
  316. data/bindings/ogre/interface/RTShaderSystem/OgreShaderSubRenderState.i +0 -8
  317. data/bindings/ogre/interface/Rakefile +0 -22
  318. data/bindings/ogre/interface/Terrain/OgreTerrain.i +0 -14
  319. data/bindings/ogre/interface/Terrain/OgreTerrainGroup.i +0 -79
  320. data/bindings/ogre/interface/Terrain/OgreTerrainLayerBlendMap.i +0 -8
  321. data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGenerator.i +0 -8
  322. data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGeneratorA.i +0 -8
  323. data/bindings/ogre/interface/Terrain/OgreTerrainPagedWorldSection.i +0 -8
  324. data/bindings/ogre/interface/Terrain/OgreTerrainPaging.i +0 -8
  325. data/bindings/ogre/interface/Terrain/OgreTerrainPrerequisites.i +0 -8
  326. data/bindings/ogre/interface/Terrain/OgreTerrainQuadTreeNode.i +0 -8
  327. data/bindings/ogre/interface/Threading/OgreDefaultWorkQueue.i +0 -8
  328. data/bindings/ogre/interface/Threading/OgreDefaultWorkQueueStandard.i +0 -8
  329. data/bindings/ogre/interface/Threading/OgreThreadDefines.i +0 -8
  330. data/bindings/ogre/interface/Threading/OgreThreadDefinesNone.i +0 -8
  331. data/bindings/ogre/interface/Threading/OgreThreadHeaders.i +0 -8
  332. data/bindings/ogre/interface/changeFileName +0 -6
  333. data/bindings/ogre/interface/ogre.i +0 -6
  334. data/bindings/ogre/interface/ogre_all.i +0 -363
  335. data/bindings/ogre/interface/ogre_wrap.cpp +0 -552973
  336. data/bindings/ogre/interface/ogre_wrap.h +0 -79
  337. data/bindings/ogre/interface/ogre_wrap.o +0 -0
  338. data/bindings/ogrebites/interface/Rakefile +0 -22
  339. data/bindings/ogrebites/interface/SdkCameraMan.i +0 -6
  340. data/bindings/ogrebites/interface/SdkTrays.i +0 -60
  341. data/bindings/ogrebites/interface/ogrebites.i +0 -26
  342. data/bindings/ogrebites/interface/ogrebites_wrap.cpp +0 -21112
  343. data/bindings/ogrebites/interface/ogrebites_wrap.h +0 -34
  344. data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
  345. data/bindings/ois/interface/OIS_Effect.i +0 -8
  346. data/bindings/ois/interface/OIS_Event.i +0 -8
  347. data/bindings/ois/interface/OIS_Exception.i +0 -8
  348. data/bindings/ois/interface/OIS_FactoryCreator.i +0 -8
  349. data/bindings/ois/interface/OIS_ForceFeedback.i +0 -8
  350. data/bindings/ois/interface/OIS_InputManager.i +0 -20
  351. data/bindings/ois/interface/OIS_Interface.i +0 -8
  352. data/bindings/ois/interface/OIS_JoyStick.i +0 -8
  353. data/bindings/ois/interface/OIS_Keyboard.i +0 -15
  354. data/bindings/ois/interface/OIS_Mouse.i +0 -10
  355. data/bindings/ois/interface/OIS_Object.i +0 -22
  356. data/bindings/ois/interface/OIS_Prereqs.i +0 -20
  357. data/bindings/ois/interface/Rakefile +0 -22
  358. data/bindings/ois/interface/ois.i +0 -3
  359. data/bindings/ois/interface/ois_all.i +0 -23
  360. data/bindings/ois/interface/ois_wrap.cpp +0 -19311
  361. data/bindings/ois/interface/ois_wrap.h +0 -40
  362. data/bindings/ois/interface/ois_wrap.o +0 -0
  363. data/bindings/procedural/interface/ProceduralBoxGenerator.i +0 -12
  364. data/bindings/procedural/interface/ProceduralCapsuleGenerator.i +0 -12
  365. data/bindings/procedural/interface/ProceduralConeGenerator.i +0 -12
  366. data/bindings/procedural/interface/ProceduralCylinderGenerator.i +0 -12
  367. data/bindings/procedural/interface/ProceduralExtruder.i +0 -8
  368. data/bindings/procedural/interface/ProceduralGeometryHelpers.i +0 -15
  369. data/bindings/procedural/interface/ProceduralHeader.i +0 -8
  370. data/bindings/procedural/interface/ProceduralIcoSphereGenerator.i +0 -12
  371. data/bindings/procedural/interface/ProceduralLathe.i +0 -8
  372. data/bindings/procedural/interface/ProceduralMeshGenerator.i +0 -9
  373. data/bindings/procedural/interface/ProceduralMultiShape.i +0 -8
  374. data/bindings/procedural/interface/ProceduralPath.i +0 -8
  375. data/bindings/procedural/interface/ProceduralPathGenerators.i +0 -10
  376. data/bindings/procedural/interface/ProceduralPlaneGenerator.i +0 -12
  377. data/bindings/procedural/interface/ProceduralPlatform.i +0 -8
  378. data/bindings/procedural/interface/ProceduralRoot.i +0 -23
  379. data/bindings/procedural/interface/ProceduralRoundedBoxGenerator.i +0 -12
  380. data/bindings/procedural/interface/ProceduralShape.i +0 -8
  381. data/bindings/procedural/interface/ProceduralShapeGenerators.i +0 -10
  382. data/bindings/procedural/interface/ProceduralSphereGenerator.i +0 -11
  383. data/bindings/procedural/interface/ProceduralSplines.i +0 -8
  384. data/bindings/procedural/interface/ProceduralStableHeaders.i +0 -8
  385. data/bindings/procedural/interface/ProceduralTorusGenerator.i +0 -12
  386. data/bindings/procedural/interface/ProceduralTorusKnotGenerator.i +0 -12
  387. data/bindings/procedural/interface/ProceduralTrack.i +0 -8
  388. data/bindings/procedural/interface/ProceduralTriangleBuffer.i +0 -13
  389. data/bindings/procedural/interface/ProceduralTriangulator.i +0 -8
  390. data/bindings/procedural/interface/ProceduralTubeGenerator.i +0 -12
  391. data/bindings/procedural/interface/ProceduralUtils.i +0 -8
  392. data/bindings/procedural/interface/Rakefile +0 -22
  393. data/bindings/procedural/interface/procedural.i +0 -41
  394. data/bindings/procedural/interface/procedural_wrap.cpp +0 -36079
  395. data/bindings/procedural/interface/procedural_wrap.h +0 -19
  396. data/bindings/procedural/interface/procedural_wrap.o +0 -0
  397. data/deps/include/OGRE/ExampleApplication.h +0 -431
  398. data/deps/include/OGRE/ExampleFrameListener.h +0 -516
  399. data/deps/include/OGRE/ExampleLoadingBar.h +0 -192
  400. data/deps/include/OGRE/FileSystemLayer.h +0 -75
  401. data/deps/include/OGRE/GLX/OgreConfigDialogImp.h +0 -75
  402. data/deps/include/OGRE/GLX/OgreErrorDialogImp.h +0 -52
  403. data/deps/include/OGRE/GLX/OgreTimerImp.h +0 -79
  404. data/deps/include/OGRE/Ogre.h +0 -133
  405. data/deps/include/OGRE/OgreAlignedAllocator.h +0 -107
  406. data/deps/include/OGRE/OgreAnimable.h +0 -335
  407. data/deps/include/OGRE/OgreAnimation.h +0 -544
  408. data/deps/include/OGRE/OgreAnimationState.h +0 -295
  409. data/deps/include/OGRE/OgreAnimationTrack.h +0 -580
  410. data/deps/include/OGRE/OgreAny.h +0 -440
  411. data/deps/include/OGRE/OgreArchive.h +0 -240
  412. data/deps/include/OGRE/OgreArchiveFactory.h +0 -70
  413. data/deps/include/OGRE/OgreArchiveManager.h +0 -139
  414. data/deps/include/OGRE/OgreAtomicWrappers.h +0 -441
  415. data/deps/include/OGRE/OgreAutoParamDataSource.h +0 -265
  416. data/deps/include/OGRE/OgreAxisAlignedBox.h +0 -841
  417. data/deps/include/OGRE/OgreBillboard.h +0 -225
  418. data/deps/include/OGRE/OgreBillboardChain.h +0 -387
  419. data/deps/include/OGRE/OgreBillboardParticleRenderer.h +0 -263
  420. data/deps/include/OGRE/OgreBillboardSet.h +0 -878
  421. data/deps/include/OGRE/OgreBitwise.h +0 -331
  422. data/deps/include/OGRE/OgreBlendMode.h +0 -266
  423. data/deps/include/OGRE/OgreBone.h +0 -154
  424. data/deps/include/OGRE/OgreBorderPanelOverlayElement.h +0 -352
  425. data/deps/include/OGRE/OgreBuildSettings.h +0 -62
  426. data/deps/include/OGRE/OgreCamera.h +0 -680
  427. data/deps/include/OGRE/OgreCodec.h +0 -178
  428. data/deps/include/OGRE/OgreColourValue.h +0 -334
  429. data/deps/include/OGRE/OgreCommon.h +0 -870
  430. data/deps/include/OGRE/OgreCompositionPass.h +0 -356
  431. data/deps/include/OGRE/OgreCompositionTargetPass.h +0 -174
  432. data/deps/include/OGRE/OgreCompositionTechnique.h +0 -188
  433. data/deps/include/OGRE/OgreCompositor.h +0 -235
  434. data/deps/include/OGRE/OgreCompositorChain.h +0 -241
  435. data/deps/include/OGRE/OgreCompositorInstance.h +0 -373
  436. data/deps/include/OGRE/OgreCompositorLogic.h +0 -68
  437. data/deps/include/OGRE/OgreCompositorManager.h +0 -291
  438. data/deps/include/OGRE/OgreConfig.h +0 -189
  439. data/deps/include/OGRE/OgreConfigDialog.h +0 -55
  440. data/deps/include/OGRE/OgreConfigFile.h +0 -110
  441. data/deps/include/OGRE/OgreConfigOptionMap.h +0 -63
  442. data/deps/include/OGRE/OgreController.h +0 -233
  443. data/deps/include/OGRE/OgreControllerManager.h +0 -294
  444. data/deps/include/OGRE/OgreConvexBody.h +0 -260
  445. data/deps/include/OGRE/OgreCustomCompositionPass.h +0 -65
  446. data/deps/include/OGRE/OgreDDSCodec.h +0 -98
  447. data/deps/include/OGRE/OgreDataStream.h +0 -664
  448. data/deps/include/OGRE/OgreDefaultHardwareBufferManager.h +0 -140
  449. data/deps/include/OGRE/OgreDeflate.h +0 -133
  450. data/deps/include/OGRE/OgreDepthBuffer.h +0 -155
  451. data/deps/include/OGRE/OgreDistanceLodStrategy.h +0 -137
  452. data/deps/include/OGRE/OgreDualQuaternion.h +0 -184
  453. data/deps/include/OGRE/OgreDynLib.h +0 -124
  454. data/deps/include/OGRE/OgreDynLibManager.h +0 -117
  455. data/deps/include/OGRE/OgreEdgeListBuilder.h +0 -269
  456. data/deps/include/OGRE/OgreEntity.h +0 -866
  457. data/deps/include/OGRE/OgreErrorDialog.h +0 -55
  458. data/deps/include/OGRE/OgreException.h +0 -351
  459. data/deps/include/OGRE/OgreExternalTextureSource.h +0 -191
  460. data/deps/include/OGRE/OgreExternalTextureSourceManager.h +0 -124
  461. data/deps/include/OGRE/OgreFactoryObj.h +0 -72
  462. data/deps/include/OGRE/OgreFileSystem.h +0 -144
  463. data/deps/include/OGRE/OgreFont.h +0 -478
  464. data/deps/include/OGRE/OgreFontManager.h +0 -102
  465. data/deps/include/OGRE/OgreFrameListener.h +0 -140
  466. data/deps/include/OGRE/OgreFreeImageCodec.h +0 -87
  467. data/deps/include/OGRE/OgreFrustum.h +0 -673
  468. data/deps/include/OGRE/OgreGpuProgram.h +0 -487
  469. data/deps/include/OGRE/OgreGpuProgramManager.h +0 -262
  470. data/deps/include/OGRE/OgreGpuProgramParams.h +0 -1840
  471. data/deps/include/OGRE/OgreGpuProgramUsage.h +0 -149
  472. data/deps/include/OGRE/OgreHardwareBuffer.h +0 -356
  473. data/deps/include/OGRE/OgreHardwareBufferManager.h +0 -539
  474. data/deps/include/OGRE/OgreHardwareIndexBuffer.h +0 -89
  475. data/deps/include/OGRE/OgreHardwareOcclusionQuery.h +0 -132
  476. data/deps/include/OGRE/OgreHardwarePixelBuffer.h +0 -208
  477. data/deps/include/OGRE/OgreHardwareVertexBuffer.h +0 -581
  478. data/deps/include/OGRE/OgreHeaderPrefix.h +0 -82
  479. data/deps/include/OGRE/OgreHeaderSuffix.h +0 -44
  480. data/deps/include/OGRE/OgreHighLevelGpuProgram.h +0 -194
  481. data/deps/include/OGRE/OgreHighLevelGpuProgramManager.h +0 -158
  482. data/deps/include/OGRE/OgreImage.h +0 -510
  483. data/deps/include/OGRE/OgreImageCodec.h +0 -89
  484. data/deps/include/OGRE/OgreInstanceBatch.h +0 -348
  485. data/deps/include/OGRE/OgreInstanceBatchHW.h +0 -110
  486. data/deps/include/OGRE/OgreInstanceBatchHW_VTF.h +0 -113
  487. data/deps/include/OGRE/OgreInstanceBatchShader.h +0 -99
  488. data/deps/include/OGRE/OgreInstanceBatchVTF.h +0 -226
  489. data/deps/include/OGRE/OgreInstanceManager.h +0 -285
  490. data/deps/include/OGRE/OgreInstancedEntity.h +0 -277
  491. data/deps/include/OGRE/OgreInstancedGeometry.h +0 -890
  492. data/deps/include/OGRE/OgreIteratorRange.h +0 -332
  493. data/deps/include/OGRE/OgreIteratorWrapper.h +0 -383
  494. data/deps/include/OGRE/OgreIteratorWrappers.h +0 -35
  495. data/deps/include/OGRE/OgreKeyFrame.h +0 -257
  496. data/deps/include/OGRE/OgreLight.h +0 -597
  497. data/deps/include/OGRE/OgreLodListener.h +0 -207
  498. data/deps/include/OGRE/OgreLodStrategy.h +0 -132
  499. data/deps/include/OGRE/OgreLodStrategyManager.h +0 -133
  500. data/deps/include/OGRE/OgreLog.h +0 -263
  501. data/deps/include/OGRE/OgreLogManager.h +0 -175
  502. data/deps/include/OGRE/OgreManualObject.h +0 -572
  503. data/deps/include/OGRE/OgreMaterial.h +0 -741
  504. data/deps/include/OGRE/OgreMaterialManager.h +0 -304
  505. data/deps/include/OGRE/OgreMaterialSerializer.h +0 -447
  506. data/deps/include/OGRE/OgreMath.h +0 -743
  507. data/deps/include/OGRE/OgreMatrix3.h +0 -286
  508. data/deps/include/OGRE/OgreMatrix4.h +0 -660
  509. data/deps/include/OGRE/OgreMemoryAllocatedObject.h +0 -129
  510. data/deps/include/OGRE/OgreMemoryAllocatorConfig.h +0 -493
  511. data/deps/include/OGRE/OgreMemoryNedAlloc.h +0 -140
  512. data/deps/include/OGRE/OgreMemoryNedPooling.h +0 -143
  513. data/deps/include/OGRE/OgreMemorySTLAllocator.h +0 -225
  514. data/deps/include/OGRE/OgreMemoryStdAlloc.h +0 -155
  515. data/deps/include/OGRE/OgreMemoryTracker.h +0 -197
  516. data/deps/include/OGRE/OgreMesh.h +0 -922
  517. data/deps/include/OGRE/OgreMeshFileFormat.h +0 -295
  518. data/deps/include/OGRE/OgreMeshManager.h +0 -497
  519. data/deps/include/OGRE/OgreMeshSerializer.h +0 -206
  520. data/deps/include/OGRE/OgreMeshSerializerImpl.h +0 -274
  521. data/deps/include/OGRE/OgreMovableObject.h +0 -641
  522. data/deps/include/OGRE/OgreMovablePlane.h +0 -97
  523. data/deps/include/OGRE/OgreNode.h +0 -774
  524. data/deps/include/OGRE/OgreNumerics.h +0 -66
  525. data/deps/include/OGRE/OgreOptimisedUtil.h +0 -232
  526. data/deps/include/OGRE/OgreOverlay.h +0 -280
  527. data/deps/include/OGRE/OgreOverlayContainer.h +0 -152
  528. data/deps/include/OGRE/OgreOverlayElement.h +0 -501
  529. data/deps/include/OGRE/OgreOverlayElementCommands.h +0 -122
  530. data/deps/include/OGRE/OgreOverlayElementFactory.h +0 -116
  531. data/deps/include/OGRE/OgreOverlayManager.h +0 -256
  532. data/deps/include/OGRE/OgrePanelOverlayElement.h +0 -161
  533. data/deps/include/OGRE/OgreParticle.h +0 -154
  534. data/deps/include/OGRE/OgreParticleAffector.h +0 -127
  535. data/deps/include/OGRE/OgreParticleAffectorFactory.h +0 -81
  536. data/deps/include/OGRE/OgreParticleEmitter.h +0 -524
  537. data/deps/include/OGRE/OgreParticleEmitterCommands.h +0 -215
  538. data/deps/include/OGRE/OgreParticleEmitterFactory.h +0 -84
  539. data/deps/include/OGRE/OgreParticleIterator.h +0 -68
  540. data/deps/include/OGRE/OgreParticleScriptCompiler.h +0 -92
  541. data/deps/include/OGRE/OgreParticleSystem.h +0 -913
  542. data/deps/include/OGRE/OgreParticleSystemManager.h +0 -406
  543. data/deps/include/OGRE/OgreParticleSystemRenderer.h +0 -143
  544. data/deps/include/OGRE/OgrePass.h +0 -1775
  545. data/deps/include/OGRE/OgrePatchMesh.h +0 -164
  546. data/deps/include/OGRE/OgrePatchSurface.h +0 -240
  547. data/deps/include/OGRE/OgrePixelCountLodStrategy.h +0 -113
  548. data/deps/include/OGRE/OgrePixelFormat.h +0 -513
  549. data/deps/include/OGRE/OgrePlane.h +0 -166
  550. data/deps/include/OGRE/OgrePlaneBoundedVolume.h +0 -135
  551. data/deps/include/OGRE/OgrePlatform.h +0 -288
  552. data/deps/include/OGRE/OgrePlatformInformation.h +0 -202
  553. data/deps/include/OGRE/OgrePlugin.h +0 -139
  554. data/deps/include/OGRE/OgrePolygon.h +0 -145
  555. data/deps/include/OGRE/OgrePose.h +0 -141
  556. data/deps/include/OGRE/OgrePredefinedControllers.h +0 -292
  557. data/deps/include/OGRE/OgrePrefabFactory.h +0 -73
  558. data/deps/include/OGRE/OgrePrerequisites.h +0 -563
  559. data/deps/include/OGRE/OgreProfiler.h +0 -549
  560. data/deps/include/OGRE/OgreProgressiveMesh.h +0 -416
  561. data/deps/include/OGRE/OgreQuaternion.h +0 -330
  562. data/deps/include/OGRE/OgreRadixSort.h +0 -330
  563. data/deps/include/OGRE/OgreRay.h +0 -122
  564. data/deps/include/OGRE/OgreRectangle.h +0 -77
  565. data/deps/include/OGRE/OgreRectangle2D.h +0 -101
  566. data/deps/include/OGRE/OgreRenderObjectListener.h +0 -64
  567. data/deps/include/OGRE/OgreRenderOperation.h +0 -100
  568. data/deps/include/OGRE/OgreRenderQueue.h +0 -516
  569. data/deps/include/OGRE/OgreRenderQueueInvocation.h +0 -225
  570. data/deps/include/OGRE/OgreRenderQueueListener.h +0 -106
  571. data/deps/include/OGRE/OgreRenderQueueSortingGrouping.h +0 -733
  572. data/deps/include/OGRE/OgreRenderSystem.h +0 -1589
  573. data/deps/include/OGRE/OgreRenderSystemCapabilities.h +0 -727
  574. data/deps/include/OGRE/OgreRenderSystemCapabilitiesManager.h +0 -129
  575. data/deps/include/OGRE/OgreRenderSystemCapabilitiesSerializer.h +0 -248
  576. data/deps/include/OGRE/OgreRenderTarget.h +0 -534
  577. data/deps/include/OGRE/OgreRenderTargetListener.h +0 -146
  578. data/deps/include/OGRE/OgreRenderTexture.h +0 -140
  579. data/deps/include/OGRE/OgreRenderToVertexBuffer.h +0 -151
  580. data/deps/include/OGRE/OgreRenderWindow.h +0 -225
  581. data/deps/include/OGRE/OgreRenderable.h +0 -428
  582. data/deps/include/OGRE/OgreResource.h +0 -536
  583. data/deps/include/OGRE/OgreResourceBackgroundQueue.h +0 -359
  584. data/deps/include/OGRE/OgreResourceGroupManager.h +0 -1092
  585. data/deps/include/OGRE/OgreResourceManager.h +0 -538
  586. data/deps/include/OGRE/OgreRibbonTrail.h +0 -245
  587. data/deps/include/OGRE/OgreRoot.h +0 -1075
  588. data/deps/include/OGRE/OgreRotationalSpline.h +0 -136
  589. data/deps/include/OGRE/OgreSceneManager.h +0 -3670
  590. data/deps/include/OGRE/OgreSceneManagerEnumerator.h +0 -233
  591. data/deps/include/OGRE/OgreSceneNode.h +0 -472
  592. data/deps/include/OGRE/OgreSceneQuery.h +0 -564
  593. data/deps/include/OGRE/OgreScriptCompiler.h +0 -851
  594. data/deps/include/OGRE/OgreScriptLexer.h +0 -96
  595. data/deps/include/OGRE/OgreScriptLoader.h +0 -96
  596. data/deps/include/OGRE/OgreScriptParser.h +0 -63
  597. data/deps/include/OGRE/OgreScriptTranslator.h +0 -286
  598. data/deps/include/OGRE/OgreSearchOps.h +0 -69
  599. data/deps/include/OGRE/OgreSerializer.h +0 -120
  600. data/deps/include/OGRE/OgreShadowCameraSetup.h +0 -107
  601. data/deps/include/OGRE/OgreShadowCameraSetupFocused.h +0 -289
  602. data/deps/include/OGRE/OgreShadowCameraSetupLiSPSM.h +0 -254
  603. data/deps/include/OGRE/OgreShadowCameraSetupPSSM.h +0 -126
  604. data/deps/include/OGRE/OgreShadowCameraSetupPlaneOptimal.h +0 -88
  605. data/deps/include/OGRE/OgreShadowCaster.h +0 -225
  606. data/deps/include/OGRE/OgreShadowTextureManager.h +0 -156
  607. data/deps/include/OGRE/OgreShadowVolumeExtrudeProgram.h +0 -286
  608. data/deps/include/OGRE/OgreSharedPtr.h +0 -278
  609. data/deps/include/OGRE/OgreSimpleRenderable.h +0 -111
  610. data/deps/include/OGRE/OgreSimpleSpline.h +0 -137
  611. data/deps/include/OGRE/OgreSingleton.h +0 -104
  612. data/deps/include/OGRE/OgreSkeleton.h +0 -539
  613. data/deps/include/OGRE/OgreSkeletonFileFormat.h +0 -117
  614. data/deps/include/OGRE/OgreSkeletonInstance.h +0 -163
  615. data/deps/include/OGRE/OgreSkeletonManager.h +0 -105
  616. data/deps/include/OGRE/OgreSkeletonSerializer.h +0 -151
  617. data/deps/include/OGRE/OgreSmallVector.h +0 -814
  618. data/deps/include/OGRE/OgreSphere.h +0 -145
  619. data/deps/include/OGRE/OgreSpotShadowFadePng.h +0 -647
  620. data/deps/include/OGRE/OgreStableHeaders.h +0 -82
  621. data/deps/include/OGRE/OgreStaticFaceGroup.h +0 -141
  622. data/deps/include/OGRE/OgreStaticGeometry.h +0 -781
  623. data/deps/include/OGRE/OgreStaticPluginLoader.h +0 -205
  624. data/deps/include/OGRE/OgreStdHeaders.h +0 -128
  625. data/deps/include/OGRE/OgreStreamSerialiser.h +0 -386
  626. data/deps/include/OGRE/OgreString.h +0 -223
  627. data/deps/include/OGRE/OgreStringConverter.h +0 -275
  628. data/deps/include/OGRE/OgreStringInterface.h +0 -335
  629. data/deps/include/OGRE/OgreStringVector.h +0 -53
  630. data/deps/include/OGRE/OgreSubEntity.h +0 -288
  631. data/deps/include/OGRE/OgreSubMesh.h +0 -294
  632. data/deps/include/OGRE/OgreTagPoint.h +0 -123
  633. data/deps/include/OGRE/OgreTangentSpaceCalc.h +0 -269
  634. data/deps/include/OGRE/OgreTechnique.h +0 -714
  635. data/deps/include/OGRE/OgreTextAreaOverlayElement.h +0 -258
  636. data/deps/include/OGRE/OgreTexture.h +0 -496
  637. data/deps/include/OGRE/OgreTextureManager.h +0 -508
  638. data/deps/include/OGRE/OgreTextureUnitState.h +0 -1265
  639. data/deps/include/OGRE/OgreTimer.h +0 -49
  640. data/deps/include/OGRE/OgreUTFString.h +0 -1113
  641. data/deps/include/OGRE/OgreUnifiedHighLevelGpuProgram.h +0 -177
  642. data/deps/include/OGRE/OgreUserObjectBindings.h +0 -140
  643. data/deps/include/OGRE/OgreVector2.h +0 -609
  644. data/deps/include/OGRE/OgreVector3.h +0 -818
  645. data/deps/include/OGRE/OgreVector4.h +0 -414
  646. data/deps/include/OGRE/OgreVertexBoneAssignment.h +0 -63
  647. data/deps/include/OGRE/OgreVertexIndexData.h +0 -323
  648. data/deps/include/OGRE/OgreViewport.h +0 -433
  649. data/deps/include/OGRE/OgreWindowEventUtilities.h +0 -188
  650. data/deps/include/OGRE/OgreWireBoundingBox.h +0 -87
  651. data/deps/include/OGRE/OgreWorkQueue.h +0 -556
  652. data/deps/include/OGRE/OgreZip.h +0 -196
  653. data/deps/include/OGRE/Paging/OgreGrid2DPageStrategy.h +0 -250
  654. data/deps/include/OGRE/Paging/OgreGrid3DPageStrategy.h +0 -222
  655. data/deps/include/OGRE/Paging/OgrePage.h +0 -205
  656. data/deps/include/OGRE/Paging/OgrePageConnection.h +0 -50
  657. data/deps/include/OGRE/Paging/OgrePageContent.h +0 -90
  658. data/deps/include/OGRE/Paging/OgrePageContentCollection.h +0 -103
  659. data/deps/include/OGRE/Paging/OgrePageContentCollectionFactory.h +0 -62
  660. data/deps/include/OGRE/Paging/OgrePageContentFactory.h +0 -67
  661. data/deps/include/OGRE/Paging/OgrePageFileFormats.h +0 -223
  662. data/deps/include/OGRE/Paging/OgrePageManager.h +0 -481
  663. data/deps/include/OGRE/Paging/OgrePageStrategy.h +0 -138
  664. data/deps/include/OGRE/Paging/OgrePagedWorld.h +0 -252
  665. data/deps/include/OGRE/Paging/OgrePagedWorldSection.h +0 -316
  666. data/deps/include/OGRE/Paging/OgrePaging.h +0 -45
  667. data/deps/include/OGRE/Paging/OgrePagingPrerequisites.h +0 -84
  668. data/deps/include/OGRE/Paging/OgreSimplePageContentCollection.h +0 -137
  669. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspLevel.h +0 -278
  670. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspNode.h +0 -212
  671. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspPrerequisites.h +0 -65
  672. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspResourceManager.h +0 -110
  673. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManager.h +0 -280
  674. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManagerPlugin.h +0 -67
  675. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneNode.h +0 -79
  676. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Level.h +0 -167
  677. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Shader.h +0 -119
  678. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3ShaderManager.h +0 -125
  679. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Types.h +0 -250
  680. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgFxScriptLoader.h +0 -1544
  681. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPlugin.h +0 -65
  682. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPrerequisites.h +0 -62
  683. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgram.h +0 -149
  684. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgramFactory.h +0 -55
  685. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctree.h +0 -164
  686. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeCamera.h +0 -89
  687. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeNode.h +0 -148
  688. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePlugin.h +0 -64
  689. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePrerequisites.h +0 -59
  690. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneManager.h +0 -253
  691. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneQuery.h +0 -102
  692. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZone.h +0 -264
  693. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZoneOctree.h +0 -203
  694. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePlugin.h +0 -72
  695. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePrerequisites.h +0 -67
  696. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreAntiPortal.h +0 -75
  697. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreCapsule.h +0 -68
  698. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreDefaultZone.h +0 -154
  699. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCPlane.h +0 -94
  700. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZCamera.h +0 -113
  701. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZFrustum.h +0 -136
  702. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZLight.h +0 -137
  703. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPlugin.h +0 -77
  704. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPrerequisites.h +0 -63
  705. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneManager.h +0 -410
  706. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneNode.h +0 -135
  707. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneQuery.h +0 -134
  708. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZone.h +0 -316
  709. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZoneFactory.h +0 -126
  710. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortal.h +0 -106
  711. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortalBase.h +0 -303
  712. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreSegment.h +0 -81
  713. data/deps/include/OGRE/Plugins/ParticleFX/OgreAreaEmitter.h +0 -139
  714. data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitter.h +0 -60
  715. data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitterFactory.h +0 -66
  716. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector.h +0 -167
  717. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector2.h +0 -226
  718. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory.h +0 -56
  719. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory2.h +0 -56
  720. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffector.h +0 -80
  721. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffectorFactory.h +0 -56
  722. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffector.h +0 -97
  723. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffectorFactory.h +0 -56
  724. data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitter.h +0 -68
  725. data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitterFactory.h +0 -67
  726. data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffector.h +0 -114
  727. data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffectorFactory.h +0 -56
  728. data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffector.h +0 -109
  729. data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffectorFactory.h +0 -54
  730. data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitter.h +0 -64
  731. data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitterFactory.h +0 -67
  732. data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitter.h +0 -126
  733. data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitterFactory.h +0 -67
  734. data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffector.h +0 -120
  735. data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffectorFactory.h +0 -56
  736. data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPlugin.h +0 -66
  737. data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPrerequisites.h +0 -68
  738. data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitter.h +0 -62
  739. data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitterFactory.h +0 -66
  740. data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitter.h +0 -111
  741. data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitterFactory.h +0 -67
  742. data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffector.h +0 -131
  743. data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffectorFactory.h +0 -56
  744. data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffector.h +0 -84
  745. data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffectorFactory.h +0 -56
  746. data/deps/include/OGRE/RTShaderSystem/OgreRTShaderSystem.h +0 -76
  747. data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h +0 -85
  748. data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h +0 -147
  749. data/deps/include/OGRE/RTShaderSystem/OgreShaderExDualQuaternionSkinning.h +0 -127
  750. data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinning.h +0 -358
  751. data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.h +0 -156
  752. data/deps/include/OGRE/RTShaderSystem/OgreShaderExIntegratedPSSM3.h +0 -231
  753. data/deps/include/OGRE/RTShaderSystem/OgreShaderExLayeredBlending.h +0 -261
  754. data/deps/include/OGRE/RTShaderSystem/OgreShaderExLinearSkinning.h +0 -97
  755. data/deps/include/OGRE/RTShaderSystem/OgreShaderExNormalMapLighting.h +0 -445
  756. data/deps/include/OGRE/RTShaderSystem/OgreShaderExPerPixelLighting.h +0 -308
  757. data/deps/include/OGRE/RTShaderSystem/OgreShaderExTextureAtlasSampler.h +0 -372
  758. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPColour.h +0 -189
  759. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPFog.h +0 -214
  760. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPLighting.h +0 -266
  761. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderState.h +0 -134
  762. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderStateBuilder.h +0 -147
  763. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTexturing.h +0 -281
  764. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTransform.h +0 -121
  765. data/deps/include/OGRE/RTShaderSystem/OgreShaderFunction.h +0 -234
  766. data/deps/include/OGRE/RTShaderSystem/OgreShaderFunctionAtom.h +0 -256
  767. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramProcessor.h +0 -93
  768. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramWriter.h +0 -202
  769. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h +0 -98
  770. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h +0 -152
  771. data/deps/include/OGRE/RTShaderSystem/OgreShaderGenerator.h +0 -987
  772. data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h +0 -84
  773. data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h +0 -147
  774. data/deps/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h +0 -111
  775. data/deps/include/OGRE/RTShaderSystem/OgreShaderParameter.h +0 -665
  776. data/deps/include/OGRE/RTShaderSystem/OgreShaderPrerequisites.h +0 -120
  777. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgram.h +0 -224
  778. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramManager.h +0 -243
  779. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h +0 -277
  780. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramSet.h +0 -102
  781. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriter.h +0 -110
  782. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriterManager.h +0 -130
  783. data/deps/include/OGRE/RTShaderSystem/OgreShaderRenderState.h +0 -224
  784. data/deps/include/OGRE/RTShaderSystem/OgreShaderScriptTranslator.h +0 -145
  785. data/deps/include/OGRE/RTShaderSystem/OgreShaderSubRenderState.h +0 -324
  786. data/deps/include/OGRE/RenderSystems/GL/GL/gl.h +0 -1918
  787. data/deps/include/OGRE/RenderSystems/GL/GL/glew.h +0 -16131
  788. data/deps/include/OGRE/RenderSystems/GL/GL/glext.h +0 -6030
  789. data/deps/include/OGRE/RenderSystems/GL/GL/glxew.h +0 -1587
  790. data/deps/include/OGRE/RenderSystems/GL/GL/glxext.h +0 -681
  791. data/deps/include/OGRE/RenderSystems/GL/GL/glxtokens.h +0 -231
  792. data/deps/include/OGRE/RenderSystems/GL/GL/wglew.h +0 -1363
  793. data/deps/include/OGRE/RenderSystems/GL/GL/wglext.h +0 -608
  794. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLUtil.h +0 -43
  795. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXContext.h +0 -62
  796. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXGLSupport.h +0 -201
  797. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXRenderTexture.h +0 -52
  798. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXUtils.h +0 -102
  799. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXWindow.h +0 -126
  800. data/deps/include/OGRE/RenderSystems/GL/OgreGLATIFSInit.h +0 -41
  801. data/deps/include/OGRE/RenderSystems/GL/OgreGLContext.h +0 -75
  802. data/deps/include/OGRE/RenderSystems/GL/OgreGLDefaultHardwareBufferManager.h +0 -135
  803. data/deps/include/OGRE/RenderSystems/GL/OgreGLDepthBuffer.h +0 -71
  804. data/deps/include/OGRE/RenderSystems/GL/OgreGLFBOMultiRenderTarget.h +0 -59
  805. data/deps/include/OGRE/RenderSystems/GL/OgreGLFBORenderTexture.h +0 -200
  806. data/deps/include/OGRE/RenderSystems/GL/OgreGLFrameBufferObject.h +0 -105
  807. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuNvparseProgram.h +0 -69
  808. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgram.h +0 -120
  809. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgramManager.h +0 -68
  810. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareBufferManager.h +0 -141
  811. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareIndexBuffer.h +0 -70
  812. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareOcclusionQuery.h +0 -108
  813. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwarePixelBuffer.h +0 -138
  814. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareVertexBuffer.h +0 -69
  815. data/deps/include/OGRE/RenderSystems/GL/OgreGLPBRenderTexture.h +0 -106
  816. data/deps/include/OGRE/RenderSystems/GL/OgreGLPBuffer.h +0 -62
  817. data/deps/include/OGRE/RenderSystems/GL/OgreGLPixelFormat.h +0 -100
  818. data/deps/include/OGRE/RenderSystems/GL/OgreGLPlugin.h +0 -63
  819. data/deps/include/OGRE/RenderSystems/GL/OgreGLPrerequisites.h +0 -105
  820. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderSystem.h +0 -530
  821. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderTexture.h +0 -141
  822. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderToVertexBuffer.h +0 -72
  823. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLExtSupport.h +0 -66
  824. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLGpuProgram.h +0 -104
  825. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgram.h +0 -149
  826. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgramManager.h +0 -144
  827. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLPreprocessor.h +0 -524
  828. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgram.h +0 -200
  829. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgramFactory.h +0 -60
  830. data/deps/include/OGRE/RenderSystems/GL/OgreGLSupport.h +0 -137
  831. data/deps/include/OGRE/RenderSystems/GL/OgreGLTexture.h +0 -191
  832. data/deps/include/OGRE/RenderSystems/GL/OgreGLTextureManager.h +0 -69
  833. data/deps/include/OGRE/Sample.h +0 -330
  834. data/deps/include/OGRE/SampleContext.h +0 -874
  835. data/deps/include/OGRE/SamplePlugin.h +0 -99
  836. data/deps/include/OGRE/SdkCameraMan.h +0 -367
  837. data/deps/include/OGRE/SdkSample.h +0 -552
  838. data/deps/include/OGRE/SdkTrays.h +0 -3168
  839. data/deps/include/OGRE/Terrain/OgreTerrain.h +0 -2076
  840. data/deps/include/OGRE/Terrain/OgreTerrainGroup.h +0 -545
  841. data/deps/include/OGRE/Terrain/OgreTerrainLayerBlendMap.h +0 -199
  842. data/deps/include/OGRE/Terrain/OgreTerrainMaterialGenerator.h +0 -404
  843. data/deps/include/OGRE/Terrain/OgreTerrainMaterialGeneratorA.h +0 -279
  844. data/deps/include/OGRE/Terrain/OgreTerrainPagedWorldSection.h +0 -165
  845. data/deps/include/OGRE/Terrain/OgreTerrainPaging.h +0 -135
  846. data/deps/include/OGRE/Terrain/OgreTerrainPrerequisites.h +0 -68
  847. data/deps/include/OGRE/Terrain/OgreTerrainQuadTreeNode.h +0 -413
  848. data/deps/include/OGRE/Threading/OgreDefaultWorkQueue.h +0 -42
  849. data/deps/include/OGRE/Threading/OgreDefaultWorkQueueStandard.h +0 -82
  850. data/deps/include/OGRE/Threading/OgreThreadDefines.h +0 -41
  851. data/deps/include/OGRE/Threading/OgreThreadDefinesNone.h +0 -59
  852. data/deps/include/OGRE/Threading/OgreThreadHeaders.h +0 -39
  853. data/deps/include/OGRE/asm_math.h +0 -376
  854. data/deps/include/OIS/OIS.h +0 -41
  855. data/deps/include/OIS/OISConfig.h +0 -75
  856. data/deps/include/OIS/OISEffect.h +0 -278
  857. data/deps/include/OIS/OISEvents.h +0 -43
  858. data/deps/include/OIS/OISException.h +0 -78
  859. data/deps/include/OIS/OISFactoryCreator.h +0 -81
  860. data/deps/include/OIS/OISForceFeedback.h +0 -120
  861. data/deps/include/OIS/OISInputManager.h +0 -205
  862. data/deps/include/OIS/OISInterface.h +0 -47
  863. data/deps/include/OIS/OISJoyStick.h +0 -228
  864. data/deps/include/OIS/OISKeyboard.h +0 -312
  865. data/deps/include/OIS/OISMouse.h +0 -138
  866. data/deps/include/OIS/OISMultiTouch.h +0 -169
  867. data/deps/include/OIS/OISObject.h +0 -95
  868. data/deps/include/OIS/OISPrereqs.h +0 -226
  869. data/deps/include/OgreProcedural/Procedural.h +0 -54
  870. data/deps/include/OgreProcedural/ProceduralBoxGenerator.h +0 -110
  871. data/deps/include/OgreProcedural/ProceduralCapsuleGenerator.h +0 -103
  872. data/deps/include/OgreProcedural/ProceduralConeGenerator.h +0 -90
  873. data/deps/include/OgreProcedural/ProceduralCylinderGenerator.h +0 -99
  874. data/deps/include/OgreProcedural/ProceduralExtruder.h +0 -131
  875. data/deps/include/OgreProcedural/ProceduralGeometryHelpers.h +0 -171
  876. data/deps/include/OgreProcedural/ProceduralIcoSphereGenerator.h +0 -76
  877. data/deps/include/OgreProcedural/ProceduralLathe.h +0 -129
  878. data/deps/include/OgreProcedural/ProceduralMeshGenerator.h +0 -286
  879. data/deps/include/OgreProcedural/ProceduralMultiShape.h +0 -126
  880. data/deps/include/OgreProcedural/ProceduralPath.h +0 -322
  881. data/deps/include/OgreProcedural/ProceduralPathGenerators.h +0 -281
  882. data/deps/include/OgreProcedural/ProceduralPlaneGenerator.h +0 -93
  883. data/deps/include/OgreProcedural/ProceduralPlatform.h +0 -54
  884. data/deps/include/OgreProcedural/ProceduralRoot.h +0 -65
  885. data/deps/include/OgreProcedural/ProceduralRoundedBoxGenerator.h +0 -118
  886. data/deps/include/OgreProcedural/ProceduralShape.h +0 -532
  887. data/deps/include/OgreProcedural/ProceduralShapeGenerators.h +0 -362
  888. data/deps/include/OgreProcedural/ProceduralSphereGenerator.h +0 -80
  889. data/deps/include/OgreProcedural/ProceduralSplines.h +0 -168
  890. data/deps/include/OgreProcedural/ProceduralStableHeaders.h +0 -28
  891. data/deps/include/OgreProcedural/ProceduralTorusGenerator.h +0 -88
  892. data/deps/include/OgreProcedural/ProceduralTorusKnotGenerator.h +0 -106
  893. data/deps/include/OgreProcedural/ProceduralTrack.h +0 -122
  894. data/deps/include/OgreProcedural/ProceduralTriangleBuffer.h +0 -328
  895. data/deps/include/OgreProcedural/ProceduralTriangulator.h +0 -173
  896. data/deps/include/OgreProcedural/ProceduralTubeGenerator.h +0 -96
  897. data/deps/include/OgreProcedural/ProceduralUtils.h +0 -185
  898. data/deps/lib/OGRE/Plugin_BSPSceneManager.so +0 -0
  899. data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.0 +0 -0
  900. data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.1 +0 -0
  901. data/deps/lib/OGRE/Plugin_CgProgramManager.so +0 -0
  902. data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.0 +0 -0
  903. data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.1 +0 -0
  904. data/deps/lib/OGRE/Plugin_OctreeSceneManager.so +0 -0
  905. data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.0 +0 -0
  906. data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.1 +0 -0
  907. data/deps/lib/OGRE/Plugin_OctreeZone.so +0 -0
  908. data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.0 +0 -0
  909. data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.1 +0 -0
  910. data/deps/lib/OGRE/Plugin_PCZSceneManager.so +0 -0
  911. data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.0 +0 -0
  912. data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.1 +0 -0
  913. data/deps/lib/OGRE/Plugin_ParticleFX.so +0 -0
  914. data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.0 +0 -0
  915. data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.1 +0 -0
  916. data/deps/lib/OGRE/RenderSystem_GL.so +0 -0
  917. data/deps/lib/OGRE/RenderSystem_GL.so.1.8.0 +0 -0
  918. data/deps/lib/OGRE/RenderSystem_GL.so.1.8.1 +0 -0
  919. data/deps/lib/libOIS-1.3.0.so +0 -0
  920. data/deps/lib/libOIS.so +0 -0
  921. data/deps/lib/libOgreMain.so +0 -0
  922. data/deps/lib/libOgreMain.so.1.8.0 +0 -0
  923. data/deps/lib/libOgreMain.so.1.8.1 +0 -0
  924. data/deps/lib/libOgrePaging.so +0 -0
  925. data/deps/lib/libOgrePaging.so.1.8.0 +0 -0
  926. data/deps/lib/libOgrePaging.so.1.8.1 +0 -0
  927. data/deps/lib/libOgreProcedural.so +0 -0
  928. data/deps/lib/libOgreRTShaderSystem.so +0 -0
  929. data/deps/lib/libOgreRTShaderSystem.so.1.8.0 +0 -0
  930. data/deps/lib/libOgreRTShaderSystem.so.1.8.1 +0 -0
  931. data/deps/lib/libOgreTerrain.so +0 -0
  932. data/deps/lib/libOgreTerrain.so.1.8.0 +0 -0
  933. data/deps/lib/libOgreTerrain.so.1.8.1 +0 -0
  934. data/deps/share/OGRE/media/DeferredShadingMedia/COPYING +0 -18
  935. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/Ambient_ps.cg +0 -68
  936. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_ps.cg +0 -187
  937. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_vs.cg +0 -53
  938. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowColour_ps.cg +0 -41
  939. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowDS_ps.cg +0 -40
  940. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowNormal_ps.cg +0 -39
  941. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/vs.cg +0 -54
  942. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.cg +0 -25
  943. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.material +0 -15
  944. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.program +0 -24
  945. data/deps/share/OGRE/media/DeferredShadingMedia/deferred.compositor +0 -147
  946. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.material +0 -148
  947. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.program +0 -85
  948. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post_minilight.material +0 -71
  949. data/deps/share/OGRE/media/DeferredShadingMedia/deferreddemo.material +0 -73
  950. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.cg +0 -178
  951. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.compositor +0 -93
  952. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.material +0 -148
  953. data/deps/share/OGRE/media/PCZAppMedia/Carpet_Diamond_Olive.jpg +0 -0
  954. data/deps/share/OGRE/media/PCZAppMedia/Metal_Brass_Ceiling.jpg +0 -0
  955. data/deps/share/OGRE/media/PCZAppMedia/Metal_Embossed.jpg +0 -0
  956. data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted.jpg +0 -0
  957. data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted1.jpg +0 -0
  958. data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured.jpg +0 -0
  959. data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured_White.jpg +0 -0
  960. data/deps/share/OGRE/media/PCZAppMedia/ROOM.material +0 -149
  961. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NX.mesh +0 -0
  962. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NY.mesh +0 -0
  963. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NZ.mesh +0 -0
  964. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PX.mesh +0 -0
  965. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PY.mesh +0 -0
  966. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PZ.mesh +0 -0
  967. data/deps/share/OGRE/media/PCZAppMedia/Roofing_Tile_Spanish.jpg +0 -0
  968. data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted.jpg +0 -0
  969. data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted1.jpg +0 -0
  970. data/deps/share/OGRE/media/PCZAppMedia/Wood_Floor.jpg +0 -0
  971. data/deps/share/OGRE/media/PCZAppMedia/building_exterior.mesh +0 -0
  972. data/deps/share/OGRE/media/PCZAppMedia/room_nxnynz.mesh +0 -0
  973. data/deps/share/OGRE/media/PCZAppMedia/room_nxpx.mesh +0 -0
  974. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnypynzpz.mesh +0 -0
  975. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnz.mesh +0 -0
  976. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnzpz.mesh +0 -0
  977. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxpz.mesh +0 -0
  978. data/deps/share/OGRE/media/PCZAppMedia/room_nxpynz.mesh +0 -0
  979. data/deps/share/OGRE/media/PCZAppMedia/room_nxpz.mesh +0 -0
  980. data/deps/share/OGRE/media/PCZAppMedia/room_nypy.mesh +0 -0
  981. data/deps/share/OGRE/media/PCZAppMedia/room_nypy_4y.mesh +0 -0
  982. data/deps/share/OGRE/media/PCZAppMedia/room_nzpz.mesh +0 -0
  983. data/deps/share/OGRE/media/PCZAppMedia/room_pxnynz.mesh +0 -0
  984. data/deps/share/OGRE/media/PCZAppMedia/room_pxpynz.mesh +0 -0
  985. data/deps/share/OGRE/media/PCZAppMedia/room_pxpz.mesh +0 -0
  986. data/deps/share/OGRE/media/PCZAppMedia/terrain2.cfg +0 -71
  987. data/deps/share/OGRE/media/PCZAppMedia/terrain2.png +0 -0
  988. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.cg +0 -248
  989. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsl +0 -248
  990. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsles +0 -231
  991. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.hlsl +0 -219
  992. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.cg +0 -138
  993. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsl +0 -139
  994. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsles +0 -141
  995. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.hlsl +0 -138
  996. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.cg +0 -225
  997. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsl +0 -226
  998. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsles +0 -227
  999. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.hlsl +0 -225
  1000. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.cg +0 -319
  1001. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsl +0 -334
  1002. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsles +0 -355
  1003. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.hlsl +0 -319
  1004. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.cg +0 -78
  1005. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsl +0 -71
  1006. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsles +0 -65
  1007. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.hlsl +0 -71
  1008. data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.cg +0 -130
  1009. data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.glsl +0 -132
  1010. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.cg +0 -81
  1011. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsl +0 -107
  1012. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsles +0 -112
  1013. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.hlsl +0 -81
  1014. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.cg +0 -728
  1015. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsl +0 -825
  1016. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsles +0 -889
  1017. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.hlsl +0 -730
  1018. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.cg +0 -257
  1019. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsl +0 -269
  1020. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsles +0 -264
  1021. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.hlsl +0 -257
  1022. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.cg +0 -226
  1023. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsl +0 -228
  1024. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsles +0 -223
  1025. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.hlsl +0 -226
  1026. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.cg +0 -122
  1027. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsl +0 -124
  1028. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsles +0 -122
  1029. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.hlsl +0 -122
  1030. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.cg +0 -76
  1031. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.glsl +0 -93
  1032. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.hlsl +0 -76
  1033. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.cg +0 -62
  1034. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsl +0 -65
  1035. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsles +0 -67
  1036. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.hlsl +0 -62
  1037. data/deps/share/OGRE/media/RTShaderLib/cache/dummy.txt +0 -1
  1038. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.cg +0 -292
  1039. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.material +0 -384
  1040. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowFourWeights.glsl +0 -29
  1041. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowOneWeight.glsl +0 -28
  1042. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_ps.glsl +0 -9
  1043. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_vs.glsl +0 -15
  1044. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowThreeWeights.glsl +0 -29
  1045. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowTwoWeights.glsl +0 -29
  1046. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.cg +0 -111
  1047. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.material +0 -265
  1048. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_Fragment.glsl +0 -6
  1049. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_TwoWeights.glsl +0 -18
  1050. data/deps/share/OGRE/media/RTShaderLib/materials/RTShaderSystem.material +0 -221
  1051. data/deps/share/OGRE/media/fonts/bluebold.ttf +0 -0
  1052. data/deps/share/OGRE/media/fonts/bluecond.ttf +0 -0
  1053. data/deps/share/OGRE/media/fonts/bluehigh.ttf +0 -0
  1054. data/deps/share/OGRE/media/fonts/bluehighway-10.font +0 -2
  1055. data/deps/share/OGRE/media/fonts/bluehighway-12.font +0 -2
  1056. data/deps/share/OGRE/media/fonts/bluehighway-8.font +0 -2
  1057. data/deps/share/OGRE/media/fonts/read_me.html +0 -2
  1058. data/deps/share/OGRE/media/fonts/sample.fontdef +0 -11
  1059. data/deps/share/OGRE/media/fonts/solo5.ttf +0 -0
  1060. data/deps/share/OGRE/media/materials/programs/ASCIIFP.cg +0 -32
  1061. data/deps/share/OGRE/media/materials/programs/ASCIIFP.glsles +0 -31
  1062. data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsl +0 -13
  1063. data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsles +0 -20
  1064. data/deps/share/OGRE/media/materials/programs/AmbientOneTextureWithUV.glsles +0 -23
  1065. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsl +0 -27
  1066. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsles +0 -30
  1067. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.hlsl +0 -58
  1068. data/deps/share/OGRE/media/materials/programs/Bloom_ps20.hlsl +0 -52
  1069. data/deps/share/OGRE/media/materials/programs/Bloom_vs11.hlsl +0 -21
  1070. data/deps/share/OGRE/media/materials/programs/Blur0_ps20.hlsl +0 -31
  1071. data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsl +0 -15
  1072. data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsles +0 -22
  1073. data/deps/share/OGRE/media/materials/programs/Blur0_vs11.hlsl +0 -22
  1074. data/deps/share/OGRE/media/materials/programs/Blur1_ps20.hlsl +0 -28
  1075. data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsl +0 -15
  1076. data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsles +0 -22
  1077. data/deps/share/OGRE/media/materials/programs/Blur1_vs11.hlsl +0 -19
  1078. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsl +0 -56
  1079. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsles +0 -58
  1080. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.hlsl +0 -51
  1081. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsl +0 -60
  1082. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsles +0 -63
  1083. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.hlsl +0 -51
  1084. data/deps/share/OGRE/media/materials/programs/Blur_ps.glsl +0 -14
  1085. data/deps/share/OGRE/media/materials/programs/Blur_ps.glsles +0 -18
  1086. data/deps/share/OGRE/media/materials/programs/Blur_vs.glsl +0 -14
  1087. data/deps/share/OGRE/media/materials/programs/Blur_vs.glsles +0 -24
  1088. data/deps/share/OGRE/media/materials/programs/Blur_vs11.hlsl +0 -19
  1089. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsl +0 -29
  1090. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsles +0 -32
  1091. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.hlsl +0 -20
  1092. data/deps/share/OGRE/media/materials/programs/ColdCasterFp.glsles +0 -11
  1093. data/deps/share/OGRE/media/materials/programs/ColdCasterVp.glsles +0 -18
  1094. data/deps/share/OGRE/media/materials/programs/Combine_fp.cg +0 -15
  1095. data/deps/share/OGRE/media/materials/programs/Combine_fp.glsles +0 -17
  1096. data/deps/share/OGRE/media/materials/programs/Common.cg +0 -81
  1097. data/deps/share/OGRE/media/materials/programs/DOF_ps.cg +0 -47
  1098. data/deps/share/OGRE/media/materials/programs/DOF_ps.glsles +0 -94
  1099. data/deps/share/OGRE/media/materials/programs/DepthShadowmap.hlsl +0 -309
  1100. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsl +0 -16
  1101. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsles +0 -19
  1102. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsl +0 -24
  1103. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsles +0 -27
  1104. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsl +0 -84
  1105. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsles +0 -86
  1106. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsl +0 -42
  1107. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsles +0 -51
  1108. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsl +0 -66
  1109. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsles +0 -67
  1110. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsl +0 -32
  1111. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsles +0 -42
  1112. data/deps/share/OGRE/media/materials/programs/DiffuseOneTexture.glsles +0 -17
  1113. data/deps/share/OGRE/media/materials/programs/DitherFP.cg +0 -18
  1114. data/deps/share/OGRE/media/materials/programs/DitherFP.glsles +0 -25
  1115. data/deps/share/OGRE/media/materials/programs/DualQuaternion.cg +0 -159
  1116. data/deps/share/OGRE/media/materials/programs/DualQuaternion.glsl +0 -42
  1117. data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.cg +0 -85
  1118. data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.glsl +0 -70
  1119. data/deps/share/OGRE/media/materials/programs/DualQuaternion_ShadowCaster.glsl +0 -29
  1120. data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhase.glsl +0 -77
  1121. data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhaseShadowCaster.glsl +0 -41
  1122. data/deps/share/OGRE/media/materials/programs/EmbossedFp.glsles +0 -18
  1123. data/deps/share/OGRE/media/materials/programs/Example_Basic.cg +0 -400
  1124. data/deps/share/OGRE/media/materials/programs/Example_Basic.hlsl +0 -273
  1125. data/deps/share/OGRE/media/materials/programs/Example_BasicFp.glsles +0 -620
  1126. data/deps/share/OGRE/media/materials/programs/Example_BasicVp.glsles +0 -620
  1127. data/deps/share/OGRE/media/materials/programs/Example_BumpMapping.cg +0 -235
  1128. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingFp.glsles +0 -29
  1129. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvFp.glsles +0 -34
  1130. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvVp.glsles +0 -55
  1131. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularFp.glsles +0 -41
  1132. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularVp.glsles +0 -50
  1133. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingVp.glsles +0 -50
  1134. data/deps/share/OGRE/media/materials/programs/Example_CelShading.cg +0 -64
  1135. data/deps/share/OGRE/media/materials/programs/Example_CelShadingFp.glsles +0 -25
  1136. data/deps/share/OGRE/media/materials/programs/Example_CelShadingVp.glsles +0 -50
  1137. data/deps/share/OGRE/media/materials/programs/Example_Fresnel.cg +0 -116
  1138. data/deps/share/OGRE/media/materials/programs/Example_FresnelFp.glsles +0 -40
  1139. data/deps/share/OGRE/media/materials/programs/Example_FresnelPS.asm +0 -72
  1140. data/deps/share/OGRE/media/materials/programs/Example_FresnelVp.glsles +0 -39
  1141. data/deps/share/OGRE/media/materials/programs/Example_Projection.cg +0 -28
  1142. data/deps/share/OGRE/media/materials/programs/Example_ProjectionFp.glsles +0 -56
  1143. data/deps/share/OGRE/media/materials/programs/Example_ProjectionVp.glsles +0 -26
  1144. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.asm +0 -10
  1145. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.glsl +0 -17
  1146. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.hlsl4 +0 -33
  1147. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.cg +0 -14
  1148. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.glsl +0 -11
  1149. data/deps/share/OGRE/media/materials/programs/GlassFP.cg +0 -9
  1150. data/deps/share/OGRE/media/materials/programs/GlassFP.glsles +0 -15
  1151. data/deps/share/OGRE/media/materials/programs/Grass.cg +0 -283
  1152. data/deps/share/OGRE/media/materials/programs/GrassAmbientFp.glsles +0 -22
  1153. data/deps/share/OGRE/media/materials/programs/GrassAmbientVp.glsles +0 -41
  1154. data/deps/share/OGRE/media/materials/programs/GrassCasterFp.glsles +0 -33
  1155. data/deps/share/OGRE/media/materials/programs/GrassCasterVp.glsles +0 -32
  1156. data/deps/share/OGRE/media/materials/programs/GrassFp.glsles +0 -25
  1157. data/deps/share/OGRE/media/materials/programs/GrassReceiverFp.glsles +0 -47
  1158. data/deps/share/OGRE/media/materials/programs/GrassReceiverVp.glsles +0 -57
  1159. data/deps/share/OGRE/media/materials/programs/GrassTexVp.glsles +0 -26
  1160. data/deps/share/OGRE/media/materials/programs/GrassVp.glsles +0 -38
  1161. data/deps/share/OGRE/media/materials/programs/GrayScale.cg +0 -20
  1162. data/deps/share/OGRE/media/materials/programs/GrayScale.glsles +0 -13
  1163. data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.cg +0 -69
  1164. data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.vert +0 -69
  1165. data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.cg +0 -124
  1166. data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.vert +0 -131
  1167. data/deps/share/OGRE/media/materials/programs/HalftoneFP.cg +0 -19
  1168. data/deps/share/OGRE/media/materials/programs/HalftoneFP.glsles +0 -24
  1169. data/deps/share/OGRE/media/materials/programs/HeatBlurFp.glsles +0 -63
  1170. data/deps/share/OGRE/media/materials/programs/HeatBlurVp.glsles +0 -16
  1171. data/deps/share/OGRE/media/materials/programs/HeatCasterFp.glsles +0 -11
  1172. data/deps/share/OGRE/media/materials/programs/HeatCasterVp.glsles +0 -18
  1173. data/deps/share/OGRE/media/materials/programs/HeatVision.cg +0 -230
  1174. data/deps/share/OGRE/media/materials/programs/Instancing.frag +0 -66
  1175. data/deps/share/OGRE/media/materials/programs/Instancing.program +0 -84
  1176. data/deps/share/OGRE/media/materials/programs/InstancingMisc.cg +0 -63
  1177. data/deps/share/OGRE/media/materials/programs/InstancingMisc.vert +0 -62
  1178. data/deps/share/OGRE/media/materials/programs/InstancingVertexInterpolators.cg +0 -34
  1179. data/deps/share/OGRE/media/materials/programs/Instancing_ps.cg +0 -57
  1180. data/deps/share/OGRE/media/materials/programs/InvertFP.cg +0 -6
  1181. data/deps/share/OGRE/media/materials/programs/InvertFP.glsles +0 -13
  1182. data/deps/share/OGRE/media/materials/programs/LaplaceFP.cg +0 -37
  1183. data/deps/share/OGRE/media/materials/programs/LaplaceFP.glsles +0 -40
  1184. data/deps/share/OGRE/media/materials/programs/LightToHeatFp.glsles +0 -39
  1185. data/deps/share/OGRE/media/materials/programs/LightToHeatVp.glsles +0 -17
  1186. data/deps/share/OGRE/media/materials/programs/NightVisionFP.cg +0 -27
  1187. data/deps/share/OGRE/media/materials/programs/NightVisionFP.glsles +0 -26
  1188. data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.frag +0 -71
  1189. data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.vert +0 -91
  1190. data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.frag +0 -76
  1191. data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.vert +0 -101
  1192. data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.frag +0 -85
  1193. data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.vert +0 -108
  1194. data/deps/share/OGRE/media/materials/programs/OffsetMapping.cg +0 -84
  1195. data/deps/share/OGRE/media/materials/programs/OffsetMapping.hlsl +0 -135
  1196. data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsl +0 -69
  1197. data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsles +0 -43
  1198. data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsFp.glsles +0 -70
  1199. data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsVp.glsles +0 -63
  1200. data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsl +0 -54
  1201. data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsles +0 -50
  1202. data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.asm +0 -44
  1203. data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.glsles +0 -49
  1204. data/deps/share/OGRE/media/materials/programs/OldMovieFP.cg +0 -55
  1205. data/deps/share/OGRE/media/materials/programs/OldMovieFP.glsles +0 -58
  1206. data/deps/share/OGRE/media/materials/programs/OldTV.cg +0 -42
  1207. data/deps/share/OGRE/media/materials/programs/ParticleGS.cg +0 -324
  1208. data/deps/share/OGRE/media/materials/programs/ParticleGS.hlsl +0 -316
  1209. data/deps/share/OGRE/media/materials/programs/PassthroughFP.cg +0 -14
  1210. data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsl +0 -9
  1211. data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsles +0 -14
  1212. data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsl +0 -5
  1213. data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsles +0 -13
  1214. data/deps/share/OGRE/media/materials/programs/PosterizeFP.cg +0 -17
  1215. data/deps/share/OGRE/media/materials/programs/PosterizeFP.glsles +0 -22
  1216. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.cg +0 -58
  1217. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.glsles +0 -62
  1218. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.hlsl +0 -58
  1219. data/deps/share/OGRE/media/materials/programs/ShaderInstancing.cg +0 -101
  1220. data/deps/share/OGRE/media/materials/programs/ShaderInstancing.vert +0 -117
  1221. data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.cg +0 -23
  1222. data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.glsles +0 -31
  1223. data/deps/share/OGRE/media/materials/programs/ShowNormals.glsles +0 -16
  1224. data/deps/share/OGRE/media/materials/programs/ShowTangents.glsles +0 -16
  1225. data/deps/share/OGRE/media/materials/programs/ShowUV.glsles +0 -12
  1226. data/deps/share/OGRE/media/materials/programs/ShowUVdir3D.glsles +0 -14
  1227. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2_vp.glsles +0 -23
  1228. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2a_vp.glsles +0 -23
  1229. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex3_vp.glsles +0 -25
  1230. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex4_vp.glsles +0 -27
  1231. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.cg +0 -113
  1232. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsl +0 -11
  1233. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsles +0 -17
  1234. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.hlsl +0 -20
  1235. data/deps/share/OGRE/media/materials/programs/Swizzle.gp +0 -39
  1236. data/deps/share/OGRE/media/materials/programs/SwizzleGP.cg +0 -14
  1237. data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsl +0 -40
  1238. data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsles +0 -80
  1239. data/deps/share/OGRE/media/materials/programs/TilingFP.cg +0 -33
  1240. data/deps/share/OGRE/media/materials/programs/TilingFP.glsles +0 -36
  1241. data/deps/share/OGRE/media/materials/programs/VTFInstancing.cg +0 -107
  1242. data/deps/share/OGRE/media/materials/programs/VTFInstancing.vert +0 -113
  1243. data/deps/share/OGRE/media/materials/programs/crowdVp.glsl +0 -62
  1244. data/deps/share/OGRE/media/materials/programs/crowdVp.glsles +0 -68
  1245. data/deps/share/OGRE/media/materials/programs/depthshadowobject.cg +0 -185
  1246. data/deps/share/OGRE/media/materials/programs/depthshadowobjectFp.glsles +0 -183
  1247. data/deps/share/OGRE/media/materials/programs/depthshadowobjectVp.glsles +0 -183
  1248. data/deps/share/OGRE/media/materials/programs/hdr.cg +0 -25
  1249. data/deps/share/OGRE/media/materials/programs/hdr.hlsl +0 -165
  1250. data/deps/share/OGRE/media/materials/programs/hdrFp.glsles +0 -15
  1251. data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsl +0 -22
  1252. data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsles +0 -25
  1253. data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsl +0 -24
  1254. data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsles +0 -26
  1255. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsl +0 -26
  1256. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsles +0 -30
  1257. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsl +0 -37
  1258. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsles +0 -64
  1259. data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsl +0 -28
  1260. data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsles +0 -54
  1261. data/deps/share/OGRE/media/materials/programs/hdr_tonemap_util.glsl +0 -29
  1262. data/deps/share/OGRE/media/materials/programs/hdrutils.hlsl +0 -65
  1263. data/deps/share/OGRE/media/materials/programs/instancing.cg +0 -125
  1264. data/deps/share/OGRE/media/materials/programs/instancingVp.glsl +0 -39
  1265. data/deps/share/OGRE/media/materials/programs/instancingVp.glsles +0 -51
  1266. data/deps/share/OGRE/media/materials/programs/isosurf.cg +0 -155
  1267. data/deps/share/OGRE/media/materials/programs/isosurf.hlsl +0 -145
  1268. data/deps/share/OGRE/media/materials/programs/mrttestfp.hlsl +0 -48
  1269. data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsl +0 -17
  1270. data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsles +0 -20
  1271. data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsl +0 -20
  1272. data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsles +0 -21
  1273. data/deps/share/OGRE/media/materials/programs/oceanGLSL.frag +0 -45
  1274. data/deps/share/OGRE/media/materials/programs/oceanGLSL.vert +0 -32
  1275. data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.frag +0 -45
  1276. data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.vert +0 -41
  1277. data/deps/share/OGRE/media/materials/programs/particlesgs.fx +0 -367
  1278. data/deps/share/OGRE/media/materials/programs/pssm.cg +0 -164
  1279. data/deps/share/OGRE/media/materials/programs/pssm.hlsl +0 -167
  1280. data/deps/share/OGRE/media/materials/programs/pssmCasterFp.glsles +0 -13
  1281. data/deps/share/OGRE/media/materials/programs/pssmCasterVp.glsles +0 -21
  1282. data/deps/share/OGRE/media/materials/programs/pssmFp.glsles +0 -0
  1283. data/deps/share/OGRE/media/materials/programs/pssmReceiverFp.glsles +0 -92
  1284. data/deps/share/OGRE/media/materials/programs/pssmReceiverVp.glsles +0 -63
  1285. data/deps/share/OGRE/media/materials/programs/pssmVp.glsles +0 -0
  1286. data/deps/share/OGRE/media/materials/programs/shadows.cg +0 -144
  1287. data/deps/share/OGRE/media/materials/programs/shadows.glsl +0 -146
  1288. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsl +0 -42
  1289. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsles +0 -46
  1290. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsl +0 -61
  1291. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsles +0 -63
  1292. data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.cg +0 -65
  1293. data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.glsles +0 -132
  1294. data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.cg +0 -44
  1295. data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.glsles +0 -88
  1296. data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.cg +0 -107
  1297. data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.glsles +0 -214
  1298. data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.cg +0 -47
  1299. data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.glsles +0 -94
  1300. data/deps/share/OGRE/media/materials/scripts/ASCII.material +0 -55
  1301. data/deps/share/OGRE/media/materials/scripts/ASMSwizzle.material +0 -19
  1302. data/deps/share/OGRE/media/materials/scripts/BlackAndWhite.material +0 -45
  1303. data/deps/share/OGRE/media/materials/scripts/Bloom.material +0 -217
  1304. data/deps/share/OGRE/media/materials/scripts/Bloom2.material +0 -360
  1305. data/deps/share/OGRE/media/materials/scripts/CGSwizzle.material +0 -20
  1306. data/deps/share/OGRE/media/materials/scripts/CompositorDemo.material +0 -18
  1307. data/deps/share/OGRE/media/materials/scripts/DOF.material +0 -94
  1308. data/deps/share/OGRE/media/materials/scripts/DepthShadowmap.material +0 -747
  1309. data/deps/share/OGRE/media/materials/scripts/Dither.material +0 -57
  1310. data/deps/share/OGRE/media/materials/scripts/DualQuaternion.material +0 -112
  1311. data/deps/share/OGRE/media/materials/scripts/DualQuaternion.program +0 -154
  1312. data/deps/share/OGRE/media/materials/scripts/Embossed.material +0 -44
  1313. data/deps/share/OGRE/media/materials/scripts/Example-Water.material +0 -183
  1314. data/deps/share/OGRE/media/materials/scripts/Examples-Advanced.material +0 -842
  1315. data/deps/share/OGRE/media/materials/scripts/Examples-DynTex.material +0 -38
  1316. data/deps/share/OGRE/media/materials/scripts/Examples-Water.material +0 -183
  1317. data/deps/share/OGRE/media/materials/scripts/Examples.compositor +0 -788
  1318. data/deps/share/OGRE/media/materials/scripts/Examples.material +0 -2035
  1319. data/deps/share/OGRE/media/materials/scripts/Examples.program +0 -340
  1320. data/deps/share/OGRE/media/materials/scripts/GLSLSwizzle.material +0 -37
  1321. data/deps/share/OGRE/media/materials/scripts/Glass.material +0 -56
  1322. data/deps/share/OGRE/media/materials/scripts/HWInstancing.material +0 -131
  1323. data/deps/share/OGRE/media/materials/scripts/HW_VTFInstancing.material +0 -445
  1324. data/deps/share/OGRE/media/materials/scripts/HW_VTF_LUTInstancing.material +0 -438
  1325. data/deps/share/OGRE/media/materials/scripts/Halftone.material +0 -56
  1326. data/deps/share/OGRE/media/materials/scripts/HeatVision.material +0 -317
  1327. data/deps/share/OGRE/media/materials/scripts/Hurt.material +0 -18
  1328. data/deps/share/OGRE/media/materials/scripts/InstancingMisc.material +0 -81
  1329. data/deps/share/OGRE/media/materials/scripts/Invert.material +0 -47
  1330. data/deps/share/OGRE/media/materials/scripts/IsoSurf.material +0 -127
  1331. data/deps/share/OGRE/media/materials/scripts/Laplace.material +0 -49
  1332. data/deps/share/OGRE/media/materials/scripts/MRTtest.material +0 -133
  1333. data/deps/share/OGRE/media/materials/scripts/MotionBlur.material +0 -101
  1334. data/deps/share/OGRE/media/materials/scripts/NightVision.material +0 -49
  1335. data/deps/share/OGRE/media/materials/scripts/Ocean.controls +0 -90
  1336. data/deps/share/OGRE/media/materials/scripts/Ocean.material +0 -618
  1337. data/deps/share/OGRE/media/materials/scripts/OffsetMapping.material +0 -447
  1338. data/deps/share/OGRE/media/materials/scripts/Ogre.material +0 -66
  1339. data/deps/share/OGRE/media/materials/scripts/OldMovie.material +0 -85
  1340. data/deps/share/OGRE/media/materials/scripts/OldTV.material +0 -59
  1341. data/deps/share/OGRE/media/materials/scripts/ParticleGS.material +0 -200
  1342. data/deps/share/OGRE/media/materials/scripts/Penguin.material +0 -13
  1343. data/deps/share/OGRE/media/materials/scripts/Posterize.material +0 -46
  1344. data/deps/share/OGRE/media/materials/scripts/RZR-002.material +0 -15
  1345. data/deps/share/OGRE/media/materials/scripts/RadialBlur.material +0 -49
  1346. data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.cg +0 -65
  1347. data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.material +0 -57
  1348. data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.cg +0 -88
  1349. data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.material +0 -57
  1350. data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.cg +0 -40
  1351. data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.material +0 -61
  1352. data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.cg +0 -86
  1353. data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.material +0 -60
  1354. data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.cg +0 -95
  1355. data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.material +0 -58
  1356. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAO.compositor +0 -224
  1357. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.cg +0 -153
  1358. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.compositor +0 -77
  1359. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.material +0 -239
  1360. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.cg +0 -13
  1361. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.material +0 -47
  1362. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.cg +0 -11
  1363. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.material +0 -40
  1364. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.cg +0 -11
  1365. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.material +0 -40
  1366. data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.cg +0 -79
  1367. data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.material +0 -141
  1368. data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.cg +0 -82
  1369. data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.material +0 -59
  1370. data/deps/share/OGRE/media/materials/scripts/ShaderInstancing.material +0 -380
  1371. data/deps/share/OGRE/media/materials/scripts/ShaderSystem.material +0 -20
  1372. data/deps/share/OGRE/media/materials/scripts/SharpenEdges.material +0 -66
  1373. data/deps/share/OGRE/media/materials/scripts/StdQuad_vp.program +0 -162
  1374. data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleOrg.tai +0 -36
  1375. data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleWrap.tai +0 -36
  1376. data/deps/share/OGRE/media/materials/scripts/Tiling.material +0 -50
  1377. data/deps/share/OGRE/media/materials/scripts/VTFInstancing.material +0 -438
  1378. data/deps/share/OGRE/media/materials/scripts/VarianceShadowmap.material +0 -103
  1379. data/deps/share/OGRE/media/materials/scripts/facial.material +0 -98
  1380. data/deps/share/OGRE/media/materials/scripts/hdr.material +0 -332
  1381. data/deps/share/OGRE/media/materials/scripts/instancing.material +0 -185
  1382. data/deps/share/OGRE/media/materials/scripts/pssm.material +0 -226
  1383. data/deps/share/OGRE/media/materials/scripts/shadows.material +0 -130
  1384. data/deps/share/OGRE/media/materials/scripts/sibenik.material +0 -305
  1385. data/deps/share/OGRE/media/materials/scripts/smoke.material +0 -19
  1386. data/deps/share/OGRE/media/materials/textures/10points.png +0 -0
  1387. data/deps/share/OGRE/media/materials/textures/1D_Noise.png +0 -0
  1388. data/deps/share/OGRE/media/materials/textures/1D_Noise2.png +0 -0
  1389. data/deps/share/OGRE/media/materials/textures/1d_SPIRAL.png +0 -0
  1390. data/deps/share/OGRE/media/materials/textures/1d_debug.png +0 -0
  1391. data/deps/share/OGRE/media/materials/textures/8x8PagesSplotches2.png +0 -0
  1392. data/deps/share/OGRE/media/materials/textures/ASCII.dds +0 -0
  1393. data/deps/share/OGRE/media/materials/textures/BeachStones.jpg +0 -0
  1394. data/deps/share/OGRE/media/materials/textures/BumpyMetal.jpg +0 -0
  1395. data/deps/share/OGRE/media/materials/textures/Chrome.jpg +0 -0
  1396. data/deps/share/OGRE/media/materials/textures/Dirt.jpg +0 -0
  1397. data/deps/share/OGRE/media/materials/textures/Dr_Bunsen_Head.jpg +0 -0
  1398. data/deps/share/OGRE/media/materials/textures/GLX_icon.png +0 -0
  1399. data/deps/share/OGRE/media/materials/textures/GreenSkin.jpg +0 -0
  1400. data/deps/share/OGRE/media/materials/textures/HeatLookup.tga +0 -0
  1401. data/deps/share/OGRE/media/materials/textures/HeatNoise.tga +0 -0
  1402. data/deps/share/OGRE/media/materials/textures/KAMEN-stup.jpg +0 -0
  1403. data/deps/share/OGRE/media/materials/textures/KAMEN320x240-bump.jpg +0 -0
  1404. data/deps/share/OGRE/media/materials/textures/KAMEN320x240.jpg +0 -0
  1405. data/deps/share/OGRE/media/materials/textures/LowRes.png +0 -0
  1406. data/deps/share/OGRE/media/materials/textures/MRAMOR-bump.jpg +0 -0
  1407. data/deps/share/OGRE/media/materials/textures/MRAMOR6X6.jpg +0 -0
  1408. data/deps/share/OGRE/media/materials/textures/MtlPlat2.jpg +0 -0
  1409. data/deps/share/OGRE/media/materials/textures/NMBalls.png +0 -0
  1410. data/deps/share/OGRE/media/materials/textures/NMBumpsOut.png +0 -0
  1411. data/deps/share/OGRE/media/materials/textures/NMHollyBumps.png +0 -0
  1412. data/deps/share/OGRE/media/materials/textures/NMStripes.png +0 -0
  1413. data/deps/share/OGRE/media/materials/textures/NPRMetallic.tga +0 -0
  1414. data/deps/share/OGRE/media/materials/textures/NoiseVolume.dds +0 -0
  1415. data/deps/share/OGRE/media/materials/textures/Panels_Diffuse.png +0 -0
  1416. data/deps/share/OGRE/media/materials/textures/Panels_Normal_Obj.png +0 -0
  1417. data/deps/share/OGRE/media/materials/textures/Panels_Normal_Tangent.png +0 -0
  1418. data/deps/share/OGRE/media/materials/textures/Panels_reflection.png +0 -0
  1419. data/deps/share/OGRE/media/materials/textures/Panels_refmask.png +0 -0
  1420. data/deps/share/OGRE/media/materials/textures/RZR-002.png +0 -0
  1421. data/deps/share/OGRE/media/materials/textures/Random3D.dds +0 -0
  1422. data/deps/share/OGRE/media/materials/textures/RustedMetal.jpg +0 -0
  1423. data/deps/share/OGRE/media/materials/textures/RustyBarrel.png +0 -0
  1424. data/deps/share/OGRE/media/materials/textures/RustySteel.jpg +0 -0
  1425. data/deps/share/OGRE/media/materials/textures/SSAO/4InterleavedKMeansDisk8x4.png +0 -0
  1426. data/deps/share/OGRE/media/materials/textures/SSAO/gray256.png +0 -0
  1427. data/deps/share/OGRE/media/materials/textures/SSAO/importance4InterleavedSphereHemisphere8x4.png +0 -0
  1428. data/deps/share/OGRE/media/materials/textures/SSAO/rand1x32.png +0 -0
  1429. data/deps/share/OGRE/media/materials/textures/SSAO/randCosSinJitter4x4.png +0 -0
  1430. data/deps/share/OGRE/media/materials/textures/SSAO/regularSphereJittered4.png +0 -0
  1431. data/deps/share/OGRE/media/materials/textures/Sepia1D.tga +0 -0
  1432. data/deps/share/OGRE/media/materials/textures/SmallLeaf_BP.png +0 -0
  1433. data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleOrg0.png +0 -0
  1434. data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleWrap0.png +0 -0
  1435. data/deps/share/OGRE/media/materials/textures/Water01.jpg +0 -0
  1436. data/deps/share/OGRE/media/materials/textures/Water02.jpg +0 -0
  1437. data/deps/share/OGRE/media/materials/textures/WaterNormal1.tga +0 -0
  1438. data/deps/share/OGRE/media/materials/textures/WaterNormal2.tga +0 -0
  1439. data/deps/share/OGRE/media/materials/textures/WoodPallet.png +0 -0
  1440. data/deps/share/OGRE/media/materials/textures/atheneNormalMap.png +0 -0
  1441. data/deps/share/OGRE/media/materials/textures/aureola.png +0 -0
  1442. data/deps/share/OGRE/media/materials/textures/basic_droplet.png +0 -0
  1443. data/deps/share/OGRE/media/materials/textures/blue_jaiqua.jpg +0 -0
  1444. data/deps/share/OGRE/media/materials/textures/cel_shading_diffuse.png +0 -0
  1445. data/deps/share/OGRE/media/materials/textures/cel_shading_edge.png +0 -0
  1446. data/deps/share/OGRE/media/materials/textures/cel_shading_specular.png +0 -0
  1447. data/deps/share/OGRE/media/materials/textures/checker.png +0 -0
  1448. data/deps/share/OGRE/media/materials/textures/circuit.dds +0 -0
  1449. data/deps/share/OGRE/media/materials/textures/clouds.jpg +0 -0
  1450. data/deps/share/OGRE/media/materials/textures/cursor.png +0 -0
  1451. data/deps/share/OGRE/media/materials/textures/dark_grid.png +0 -0
  1452. data/deps/share/OGRE/media/materials/textures/dirt01.jpg +0 -0
  1453. data/deps/share/OGRE/media/materials/textures/dkyellow.png +0 -0
  1454. data/deps/share/OGRE/media/materials/textures/droplet.png +0 -0
  1455. data/deps/share/OGRE/media/materials/textures/egyptrockyfull.jpg +0 -0
  1456. data/deps/share/OGRE/media/materials/textures/flare.png +0 -0
  1457. data/deps/share/OGRE/media/materials/textures/flare_alpha.dds +0 -0
  1458. data/deps/share/OGRE/media/materials/textures/flaretrail.png +0 -0
  1459. data/deps/share/OGRE/media/materials/textures/frost.png +0 -0
  1460. data/deps/share/OGRE/media/materials/textures/fw12b.jpg +0 -0
  1461. data/deps/share/OGRE/media/materials/textures/gras_02.png +0 -0
  1462. data/deps/share/OGRE/media/materials/textures/grassWalpha.tga +0 -0
  1463. data/deps/share/OGRE/media/materials/textures/grass_1024.jpg +0 -0
  1464. data/deps/share/OGRE/media/materials/textures/img1.png +0 -0
  1465. data/deps/share/OGRE/media/materials/textures/img2.png +0 -0
  1466. data/deps/share/OGRE/media/materials/textures/leaf.png +0 -0
  1467. data/deps/share/OGRE/media/materials/textures/nm_bk.png +0 -0
  1468. data/deps/share/OGRE/media/materials/textures/nm_dn.png +0 -0
  1469. data/deps/share/OGRE/media/materials/textures/nm_fr.png +0 -0
  1470. data/deps/share/OGRE/media/materials/textures/nm_lf.png +0 -0
  1471. data/deps/share/OGRE/media/materials/textures/nm_rt.png +0 -0
  1472. data/deps/share/OGRE/media/materials/textures/nm_up.png +0 -0
  1473. data/deps/share/OGRE/media/materials/textures/normalNoiseColor.png +0 -0
  1474. data/deps/share/OGRE/media/materials/textures/nskingr.jpg +0 -0
  1475. data/deps/share/OGRE/media/materials/textures/nvidia/TextureUsageAgreement.txt +0 -26
  1476. data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_diffusespecular.dds +0 -0
  1477. data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_normalheight.dds +0 -0
  1478. data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_diffusespecular.dds +0 -0
  1479. data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_normalheight.dds +0 -0
  1480. data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_diffusespecular.dds +0 -0
  1481. data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_normalheight.dds +0 -0
  1482. data/deps/share/OGRE/media/materials/textures/ogreborder.png +0 -0
  1483. data/deps/share/OGRE/media/materials/textures/ogreborderUp.png +0 -0
  1484. data/deps/share/OGRE/media/materials/textures/ogrebordercenter.png +0 -0
  1485. data/deps/share/OGRE/media/materials/textures/ogregui.tga +0 -0
  1486. data/deps/share/OGRE/media/materials/textures/ogrelogo-small.jpg +0 -0
  1487. data/deps/share/OGRE/media/materials/textures/ogrelogo.png +0 -0
  1488. data/deps/share/OGRE/media/materials/textures/particle.dds +0 -0
  1489. data/deps/share/OGRE/media/materials/textures/penguin.jpg +0 -0
  1490. data/deps/share/OGRE/media/materials/textures/perlinvolume.dds +0 -0
  1491. data/deps/share/OGRE/media/materials/textures/r2skin.jpg +0 -0
  1492. data/deps/share/OGRE/media/materials/textures/radial.png +0 -0
  1493. data/deps/share/OGRE/media/materials/textures/random.png +0 -0
  1494. data/deps/share/OGRE/media/materials/textures/ribbonband.png +0 -0
  1495. data/deps/share/OGRE/media/materials/textures/rockwall.tga +0 -0
  1496. data/deps/share/OGRE/media/materials/textures/rockwall_NH.tga +0 -0
  1497. data/deps/share/OGRE/media/materials/textures/scr-back.png +0 -0
  1498. data/deps/share/OGRE/media/materials/textures/scr-down-p.png +0 -0
  1499. data/deps/share/OGRE/media/materials/textures/scr-down.png +0 -0
  1500. data/deps/share/OGRE/media/materials/textures/scr-thumb.png +0 -0
  1501. data/deps/share/OGRE/media/materials/textures/scr-up-p.png +0 -0
  1502. data/deps/share/OGRE/media/materials/textures/scr-up.png +0 -0
  1503. data/deps/share/OGRE/media/materials/textures/smoke.png +0 -0
  1504. data/deps/share/OGRE/media/materials/textures/smokecolors.png +0 -0
  1505. data/deps/share/OGRE/media/materials/textures/snow_1024.jpg +0 -0
  1506. data/deps/share/OGRE/media/materials/textures/spacesky.jpg +0 -0
  1507. data/deps/share/OGRE/media/materials/textures/spheremap.png +0 -0
  1508. data/deps/share/OGRE/media/materials/textures/spine_strips.dds +0 -0
  1509. data/deps/share/OGRE/media/materials/textures/spotlight_image.png +0 -0
  1510. data/deps/share/OGRE/media/materials/textures/steelhead.png +0 -0
  1511. data/deps/share/OGRE/media/materials/textures/strugotine.jpg +0 -0
  1512. data/deps/share/OGRE/media/materials/textures/terr_dirt-grass.jpg +0 -0
  1513. data/deps/share/OGRE/media/materials/textures/terr_rock-dirt.jpg +0 -0
  1514. data/deps/share/OGRE/media/materials/textures/terr_rock6.jpg +0 -0
  1515. data/deps/share/OGRE/media/materials/textures/terrain.png +0 -0
  1516. data/deps/share/OGRE/media/materials/textures/terrain_detail.jpg +0 -0
  1517. data/deps/share/OGRE/media/materials/textures/terrain_texture.jpg +0 -0
  1518. data/deps/share/OGRE/media/materials/textures/texmap2.jpg +0 -0
  1519. data/deps/share/OGRE/media/materials/textures/tusk.jpg +0 -0
  1520. data/deps/share/OGRE/media/materials/textures/waveNM.png +0 -0
  1521. data/deps/share/OGRE/media/materials/textures/waves2.dds +0 -0
  1522. data/deps/share/OGRE/media/materials/textures/white.bmp +0 -0
  1523. data/deps/share/OGRE/media/models/Barrel.mesh +0 -0
  1524. data/deps/share/OGRE/media/models/RZR-002.mesh +0 -0
  1525. data/deps/share/OGRE/media/models/ShaderSystem.mesh +0 -0
  1526. data/deps/share/OGRE/media/models/WoodPallet.mesh +0 -0
  1527. data/deps/share/OGRE/media/models/athene.mesh +0 -0
  1528. data/deps/share/OGRE/media/models/column.mesh +0 -0
  1529. data/deps/share/OGRE/media/models/cornell.mesh +0 -0
  1530. data/deps/share/OGRE/media/models/cube.mesh +0 -0
  1531. data/deps/share/OGRE/media/models/facial.mesh +0 -0
  1532. data/deps/share/OGRE/media/models/fish.mesh +0 -0
  1533. data/deps/share/OGRE/media/models/fish.skeleton +0 -0
  1534. data/deps/share/OGRE/media/models/geosphere4500.mesh +0 -0
  1535. data/deps/share/OGRE/media/models/geosphere8000.mesh +0 -0
  1536. data/deps/share/OGRE/media/models/jaiqua.mesh +0 -0
  1537. data/deps/share/OGRE/media/models/jaiqua.skeleton +0 -0
  1538. data/deps/share/OGRE/media/models/knot.mesh +0 -0
  1539. data/deps/share/OGRE/media/models/ninja.mesh +0 -0
  1540. data/deps/share/OGRE/media/models/ninja.skeleton +0 -0
  1541. data/deps/share/OGRE/media/models/ogrehead.mesh +0 -0
  1542. data/deps/share/OGRE/media/models/penguin.mesh +0 -0
  1543. data/deps/share/OGRE/media/models/penguin.skeleton +0 -0
  1544. data/deps/share/OGRE/media/models/razor.mesh +0 -0
  1545. data/deps/share/OGRE/media/models/robot.mesh +0 -0
  1546. data/deps/share/OGRE/media/models/robot.skeleton +0 -0
  1547. data/deps/share/OGRE/media/models/sibenik.mesh +0 -0
  1548. data/deps/share/OGRE/media/models/sphere.mesh +0 -0
  1549. data/deps/share/OGRE/media/models/spine.mesh +0 -0
  1550. data/deps/share/OGRE/media/models/spine.mesh.skeleton +0 -0
  1551. data/deps/share/OGRE/media/models/tudorhouse.mesh +0 -0
  1552. data/deps/share/OGRE/media/packs/SdkTrays.zip +0 -0
  1553. data/deps/share/OGRE/media/packs/Sinbad.zip +0 -0
  1554. data/deps/share/OGRE/media/packs/chiropteraDM.pk3 +0 -0
  1555. data/deps/share/OGRE/media/packs/chiropteraDM.txt +0 -99
  1556. data/deps/share/OGRE/media/packs/cubemap.zip +0 -0
  1557. data/deps/share/OGRE/media/packs/cubemapsJS.zip +0 -0
  1558. data/deps/share/OGRE/media/packs/dragon.zip +0 -0
  1559. data/deps/share/OGRE/media/packs/fresneldemo.zip +0 -0
  1560. data/deps/share/OGRE/media/packs/ogredance.zip +0 -0
  1561. data/deps/share/OGRE/media/packs/ogretestmap.zip +0 -0
  1562. data/deps/share/OGRE/media/packs/profiler.zip +0 -0
  1563. data/deps/share/OGRE/media/packs/skybox.zip +0 -0
  1564. data/deps/share/OGRE/media/particle/Examples-Water.particle +0 -35
  1565. data/deps/share/OGRE/media/particle/Examples.particle +0 -381
  1566. data/deps/share/OGRE/media/particle/emitted_emitter.particle +0 -56
  1567. data/deps/share/OGRE/media/particle/smoke.particle +0 -44
  1568. data/deps/share/OGRE/media/terrain.cfg +0 -71
  1569. data/deps/share/OGRE/media/thumbnails/thumb_bezier.png +0 -0
  1570. data/deps/share/OGRE/media/thumbnails/thumb_bsp.png +0 -0
  1571. data/deps/share/OGRE/media/thumbnails/thumb_bump.png +0 -0
  1572. data/deps/share/OGRE/media/thumbnails/thumb_camtrack.png +0 -0
  1573. data/deps/share/OGRE/media/thumbnails/thumb_cel.png +0 -0
  1574. data/deps/share/OGRE/media/thumbnails/thumb_char.png +0 -0
  1575. data/deps/share/OGRE/media/thumbnails/thumb_comp.png +0 -0
  1576. data/deps/share/OGRE/media/thumbnails/thumb_cubemap.png +0 -0
  1577. data/deps/share/OGRE/media/thumbnails/thumb_deferred.png +0 -0
  1578. data/deps/share/OGRE/media/thumbnails/thumb_dualquaternionskinning.png +0 -0
  1579. data/deps/share/OGRE/media/thumbnails/thumb_dyntex.png +0 -0
  1580. data/deps/share/OGRE/media/thumbnails/thumb_error.png +0 -0
  1581. data/deps/share/OGRE/media/thumbnails/thumb_facial.png +0 -0
  1582. data/deps/share/OGRE/media/thumbnails/thumb_fresnel.png +0 -0
  1583. data/deps/share/OGRE/media/thumbnails/thumb_grass.png +0 -0
  1584. data/deps/share/OGRE/media/thumbnails/thumb_instancing.png +0 -0
  1585. data/deps/share/OGRE/media/thumbnails/thumb_isosurf.png +0 -0
  1586. data/deps/share/OGRE/media/thumbnails/thumb_lighting.png +0 -0
  1587. data/deps/share/OGRE/media/thumbnails/thumb_newinstancing.png +0 -0
  1588. data/deps/share/OGRE/media/thumbnails/thumb_ocean.png +0 -0
  1589. data/deps/share/OGRE/media/thumbnails/thumb_particlegs.png +0 -0
  1590. data/deps/share/OGRE/media/thumbnails/thumb_particles.png +0 -0
  1591. data/deps/share/OGRE/media/thumbnails/thumb_playpen.png +0 -0
  1592. data/deps/share/OGRE/media/thumbnails/thumb_shadersystem.png +0 -0
  1593. data/deps/share/OGRE/media/thumbnails/thumb_shadows.png +0 -0
  1594. data/deps/share/OGRE/media/thumbnails/thumb_skelanim.png +0 -0
  1595. data/deps/share/OGRE/media/thumbnails/thumb_skybox.png +0 -0
  1596. data/deps/share/OGRE/media/thumbnails/thumb_skydome.png +0 -0
  1597. data/deps/share/OGRE/media/thumbnails/thumb_skyplane.png +0 -0
  1598. data/deps/share/OGRE/media/thumbnails/thumb_smoke.png +0 -0
  1599. data/deps/share/OGRE/media/thumbnails/thumb_spheremap.png +0 -0
  1600. data/deps/share/OGRE/media/thumbnails/thumb_ssao.png +0 -0
  1601. data/deps/share/OGRE/media/thumbnails/thumb_terrain.png +0 -0
  1602. data/deps/share/OGRE/media/thumbnails/thumb_texarray.png +0 -0
  1603. data/deps/share/OGRE/media/thumbnails/thumb_texfx.png +0 -0
  1604. data/deps/share/OGRE/media/thumbnails/thumb_trans.png +0 -0
  1605. data/deps/share/OGRE/media/thumbnails/thumb_visual_tests.png +0 -0
  1606. data/deps/share/OGRE/media/thumbnails/thumb_voltex.png +0 -0
  1607. data/deps/share/OGRE/media/thumbnails/thumb_water.png +0 -0
  1608. data/lib/ogre.so +0 -0
  1609. data/lib/ogre_config.rb +0 -37
  1610. data/lib/ogrebites.so +0 -0
  1611. data/lib/ois.so +0 -0
  1612. data/lib/procedural.so +0 -0
  1613. data/sample/charactor/camera_mover.rb +0 -184
  1614. data/sample/charactor/plugins.cfg +0 -17
  1615. data/sample/charactor/resources.cfg +0 -22
  1616. data/sample/charactor/sinbad +0 -5
  1617. data/sample/charactor/sinbad.rb +0 -250
  1618. data/sample/charactor/sinbad.win +0 -5
  1619. data/sample/charactor/sinbad_character.rb +0 -379
  1620. data/sample/charactor/ui_listener.rb +0 -65
@@ -1,2076 +0,0 @@
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-2012 Torus Knot Software Ltd
8
-
9
- Permission is hereby granted, free of charge, to any person obtaining a copy
10
- of this software and associated documentation files (the "Software"), to deal
11
- in the Software without restriction, including without limitation the rights
12
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
- copies of the Software, and to permit persons to whom the Software is
14
- furnished to do so, subject to the following conditions:
15
-
16
- The above copyright notice and this permission notice shall be included in
17
- all copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
- THE SOFTWARE.
26
- -----------------------------------------------------------------------------
27
- */
28
-
29
- #ifndef __Ogre_Terrain_H__
30
- #define __Ogre_Terrain_H__
31
-
32
- #include "OgreTerrainPrerequisites.h"
33
- #include "OgreCommon.h"
34
- #include "OgreVector3.h"
35
- #include "OgreAxisAlignedBox.h"
36
- #include "OgreSceneManager.h"
37
- #include "OgreTerrainMaterialGenerator.h"
38
- #include "OgreTerrainLayerBlendMap.h"
39
- #include "OgreWorkQueue.h"
40
-
41
- namespace Ogre
42
- {
43
- /** \addtogroup Optional Components
44
- * @{
45
- */
46
- /** \addtogroup Terrain
47
- * Some details on the terrain component
48
- * @{
49
- */
50
-
51
- /** The main containing class for a chunk of terrain.
52
- @par
53
- Terrain can be edited and stored.
54
- The data format for this in a file is:<br/>
55
- <b>TerrainData (Identifier 'TERR')</b>\n
56
- [Version 1]
57
- <table>
58
- <tr>
59
- <td><b>Name</b></td>
60
- <td><b>Type</b></td>
61
- <td><b>Description</b></td>
62
- </tr>
63
- <tr>
64
- <td>Terrain orientation</td>
65
- <td>uint8</td>
66
- <td>The orientation of the terrain; XZ = 0, XY = 1, YZ = 2</td>
67
- </tr>
68
- <tr>
69
- <td>Terrain size</td>
70
- <td>uint16</td>
71
- <td>The number of vertices along one side of the terrain</td>
72
- </tr>
73
- <tr>
74
- <td>Terrain world size</td>
75
- <td>Real</td>
76
- <td>The world size of one side of the terrain</td>
77
- </tr>
78
- <tr>
79
- <td>Max batch size</td>
80
- <td>uint16</td>
81
- <td>The maximum batch size in vertices along one side</td>
82
- </tr>
83
- <tr>
84
- <td>Min batch size</td>
85
- <td>uint16</td>
86
- <td>The minimum batch size in vertices along one side</td>
87
- </tr>
88
- <tr>
89
- <td>Position</td>
90
- <td>Vector3</td>
91
- <td>The location of the centre of the terrain</td>
92
- </tr>
93
- <tr>
94
- <td>Height data</td>
95
- <td>float[size*size]</td>
96
- <td>List of floating point heights</td>
97
- </tr>
98
- <tr>
99
- <td>LayerDeclaration</td>
100
- <td>LayerDeclaration*</td>
101
- <td>The layer declaration for this terrain (see below)</td>
102
- </tr>
103
- <tr>
104
- <td>Layer count</td>
105
- <td>uint8</td>
106
- <td>The number of layers in this terrain</td>
107
- </tr>
108
- <tr>
109
- <td>LayerInstance list</td>
110
- <td>LayerInstance*</td>
111
- <td>A number of LayerInstance definitions based on layer count (see below)</td>
112
- </tr>
113
- <tr>
114
- <td>Layer blend map size</td>
115
- <td>uint16</td>
116
- <td>The size of the layer blend maps as stored in this file</td>
117
- </tr>
118
- <tr>
119
- <td>Packed blend texture data</td>
120
- <td>uint8*</td>
121
- <td>layerCount-1 sets of blend texture data interleaved as either RGB or RGBA
122
- depending on layer count</td>
123
- </tr>
124
- <tr>
125
- <td>Optional derived map data</td>
126
- <td>TerrainDerivedMap list</td>
127
- <td>0 or more sets of map data derived from the original terrain</td>
128
- </tr>
129
- <tr>
130
- <td>Delta data</td>
131
- <td>float[size*size]</td>
132
- <td>At each vertex, delta information for the LOD at which this vertex disappears</td>
133
- </tr>
134
- <tr>
135
- <td>Quadtree delta data</td>
136
- <td>float[quadtrees*lods]</td>
137
- <td>At each quadtree node, for each lod a record of the max delta value in the region</td>
138
- </tr>
139
- </table>
140
- <b>TerrainLayerDeclaration (Identifier 'TDCL')</b>\n
141
- [Version 1]
142
- <table>
143
- <tr>
144
- <td><b>Name</b></td>
145
- <td><b>Type</b></td>
146
- <td><b>Description</b></td>
147
- </tr>
148
- <tr>
149
- <td>TerrainLayerSampler Count</td>
150
- <td>uint8</td>
151
- <td>Number of samplers in this declaration</td>
152
- </tr>
153
- <tr>
154
- <td>TerrainLayerSampler List</td>
155
- <td>TerrainLayerSampler*</td>
156
- <td>List of TerrainLayerSampler structures</td>
157
- </tr>
158
- <tr>
159
- <td>Sampler Element Count</td>
160
- <td>uint8</td>
161
- <td>Number of sampler elements in this declaration</td>
162
- </tr>
163
- <tr>
164
- <td>TerrainLayerSamplerElement List</td>
165
- <td>TerrainLayerSamplerElement*</td>
166
- <td>List of TerrainLayerSamplerElement structures</td>
167
- </tr>
168
- </table>
169
- <b>TerrainLayerSampler (Identifier 'TSAM')</b>\n
170
- [Version 1]
171
- <table>
172
- <tr>
173
- <td><b>Name</b></td>
174
- <td><b>Type</b></td>
175
- <td><b>Description</b></td>
176
- </tr>
177
- <tr>
178
- <td>Alias</td>
179
- <td>String</td>
180
- <td>Alias name of this sampler</td>
181
- </tr>
182
- <tr>
183
- <td>Format</td>
184
- <td>uint8</td>
185
- <td>Desired pixel format</td>
186
- </tr>
187
- </table>
188
- <b>TerrainLayerSamplerElement (Identifier 'TSEL')</b>\n
189
- [Version 1]
190
- <table>
191
- <tr>
192
- <td><b>Name</b></td>
193
- <td><b>Type</b></td>
194
- <td><b>Description</b></td>
195
- </tr>
196
- <tr>
197
- <td>Source</td>
198
- <td>uint8</td>
199
- <td>Sampler source index</td>
200
- </tr>
201
- <tr>
202
- <td>Semantic</td>
203
- <td>uint8</td>
204
- <td>Semantic interpretation of this element</td>
205
- </tr>
206
- <tr>
207
- <td>Element start</td>
208
- <td>uint8</td>
209
- <td>Start of this element in the sampler</td>
210
- </tr>
211
- <tr>
212
- <td>Element count</td>
213
- <td>uint8</td>
214
- <td>Number of elements in the sampler used by this entry</td>
215
- </tr>
216
- </table>
217
- <b>LayerInstance (Identifier 'TLIN')</b>\n
218
- [Version 1]
219
- <table>
220
- <tr>
221
- <td><b>Name</b></td>
222
- <td><b>Type</b></td>
223
- <td><b>Description</b></td>
224
- </tr>
225
- <tr>
226
- <td>World size</td>
227
- <td>Real</td>
228
- <td>The world size of this layer (determines UV scaling)</td>
229
- </tr>
230
- <tr>
231
- <td>Texture list</td>
232
- <td>String*</td>
233
- <td>List of texture names corresponding to the number of samplers in the layer declaration</td>
234
- </tr>
235
- </table>
236
- <b>TerrainDerivedData (Identifier 'TDDA')</b>\n
237
- [Version 1]
238
- <table>
239
- <tr>
240
- <td><b>Name</b></td>
241
- <td><b>Type</b></td>
242
- <td><b>Description</b></td>
243
- </tr>
244
- <tr>
245
- <td>Derived data type name</td>
246
- <td>String</td>
247
- <td>Name of the derived data type ('normalmap', 'lightmap', 'colourmap', 'compositemap')</td>
248
- </tr>
249
- <tr>
250
- <td>Size</td>
251
- <td>uint16</td>
252
- <td>Size of the data along one edge</td>
253
- </tr>
254
- <tr>
255
- <td>Data</td>
256
- <td>varies based on type</td>
257
- <td>The data</td>
258
- </tr>
259
- </table>
260
- */
261
- class _OgreTerrainExport Terrain : public SceneManager::Listener,
262
- public WorkQueue::RequestHandler, public WorkQueue::ResponseHandler, public TerrainAlloc
263
- {
264
- public:
265
- /** Constructor.
266
- @param sm The SceneManager to use.
267
- */
268
- Terrain(SceneManager* sm);
269
- virtual ~Terrain();
270
-
271
- static const uint32 TERRAIN_CHUNK_ID;
272
- static const uint16 TERRAIN_CHUNK_VERSION;
273
- static const uint16 TERRAIN_MAX_BATCH_SIZE;
274
-
275
- static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID;
276
- static const uint16 TERRAINLAYERDECLARATION_CHUNK_VERSION;
277
- static const uint32 TERRAINLAYERSAMPLER_CHUNK_ID;
278
- static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION;
279
- static const uint32 TERRAINLAYERSAMPLERELEMENT_CHUNK_ID;
280
- static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION;
281
- static const uint32 TERRAINLAYERINSTANCE_CHUNK_ID;
282
- static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION;
283
- static const uint32 TERRAINDERIVEDDATA_CHUNK_ID;
284
- static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION;
285
-
286
- static const size_t LOD_MORPH_CUSTOM_PARAM;
287
-
288
- typedef vector<Real>::type RealVector;
289
-
290
- /** An instance of a layer, with specific texture names
291
- */
292
- struct _OgreTerrainExport LayerInstance
293
- {
294
- /// The world size of the texture to be applied in this layer
295
- Real worldSize;
296
- /// List of texture names to import; must match with TerrainLayerDeclaration
297
- StringVector textureNames;
298
-
299
- LayerInstance()
300
- : worldSize(100) {}
301
- };
302
- typedef vector<LayerInstance>::type LayerInstanceList;
303
-
304
- /// The alignment of the terrain
305
- enum Alignment
306
- {
307
- /// Terrain is in the X/Z plane
308
- ALIGN_X_Z = 0,
309
- /// Terrain is in the X/Y plane
310
- ALIGN_X_Y = 1,
311
- /// Terrain is in the Y/Z plane
312
- ALIGN_Y_Z = 2
313
- };
314
-
315
- /** Structure encapsulating import data that you may use to bootstrap
316
- the terrain without loading from a native data stream.
317
- */
318
- struct ImportData
319
- {
320
- /// The alignment of the terrain
321
- Alignment terrainAlign;
322
- /// Terrain size (along one edge) in vertices; must be 2^n+1
323
- uint16 terrainSize;
324
- /** Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65
325
- @remarks
326
- The terrain will be divided into hierarchical tiles, and this is the maximum
327
- size of one tile in vertices (at any LOD).
328
- */
329
- uint16 maxBatchSize;
330
- /** Minimum batch size (along one edge) in vertices; must be 2^n+1.
331
- @remarks
332
- The terrain will be divided into tiles, and this is the minimum
333
- size of one tile in vertices (at any LOD). Adjacent tiles will be
334
- collected together into one batch to drop LOD levels once they are individually at this minimum,
335
- so setting this value higher means greater batching at the expense
336
- of making adjacent tiles use a common LOD.
337
- Once the entire terrain is collected together into one batch this
338
- effectively sets the minimum LOD.
339
- */
340
- uint16 minBatchSize;
341
-
342
- /** Position of the terrain.
343
- @remarks
344
- Represents the position of the centre of the terrain.
345
- */
346
- Vector3 pos;
347
-
348
- /** The world size of the terrain. */
349
- Real worldSize;
350
-
351
- /** Optional heightmap providing the initial heights for the terrain.
352
- @remarks
353
- If supplied, should ideally be terrainSize * terrainSize, but if
354
- it isn't it will be resized.
355
- */
356
- Image* inputImage;
357
-
358
- /** Optional list of terrainSize * terrainSize floats defining the terrain.
359
- The list of floats wil be interpreted such that the first row
360
- in the array equates to the bottom row of vertices.
361
- */
362
- float* inputFloat;
363
-
364
- /** If neither inputImage or inputFloat are supplied, the constant
365
- height at which the initial terrain should be created (flat).
366
- */
367
- float constantHeight;
368
-
369
- /** Whether this structure should 'own' the input data (inputImage and
370
- inputFloat), and therefore delete it on destruction.
371
- The default is false so you have to manage your own memory. If you
372
- set it to true, then you must have allocated the memory through
373
- OGRE_NEW (for Image) and OGRE_ALLOC_T (for inputFloat), the latter
374
- with the category MEMCATEGORY_GEOMETRY.
375
- */
376
- bool deleteInputData;
377
-
378
- /// How to scale the input values provided (if any)
379
- Real inputScale;
380
- /// How to bias the input values provided (if any)
381
- Real inputBias;
382
-
383
- /** Definition of the contents of each layer (required).
384
- Most likely, you will pull a declaration from a TerrainMaterialGenerator
385
- of your choice.
386
- */
387
- TerrainLayerDeclaration layerDeclaration;
388
- /** List of layer structures, one for each layer required.
389
- Can be empty or underfilled if required, list will be padded with
390
- blank textures.
391
- */
392
- LayerInstanceList layerList;
393
-
394
- ImportData()
395
- : terrainAlign(ALIGN_X_Z)
396
- , terrainSize(1025)
397
- , maxBatchSize(65)
398
- , minBatchSize(17)
399
- , pos(Vector3::ZERO)
400
- , worldSize(1000)
401
- , inputImage(0)
402
- , inputFloat(0)
403
- , constantHeight(0)
404
- , deleteInputData(false)
405
- , inputScale(1.0)
406
- , inputBias(0.0)
407
- {
408
-
409
- }
410
-
411
- ImportData(const ImportData& rhs)
412
- : terrainAlign(ALIGN_X_Z)
413
- , terrainSize(1025)
414
- , maxBatchSize(65)
415
- , minBatchSize(17)
416
- , pos(Vector3::ZERO)
417
- , worldSize(1000)
418
- , inputImage(0)
419
- , inputFloat(0)
420
- , constantHeight(0)
421
- , deleteInputData(false)
422
- , inputScale(1.0)
423
- , inputBias(0.0)
424
- {
425
- *this = rhs;
426
- }
427
-
428
- ImportData& operator=(const ImportData& rhs)
429
- {
430
- // basic copy
431
- terrainAlign = rhs.terrainAlign;
432
- terrainSize = rhs.terrainSize;
433
- maxBatchSize = rhs.maxBatchSize;
434
- minBatchSize = rhs.minBatchSize;
435
- pos = rhs.pos;
436
- worldSize = rhs.worldSize;
437
- constantHeight = rhs.constantHeight;
438
- deleteInputData = rhs.deleteInputData;
439
- inputScale = rhs.inputScale;
440
- inputBias = rhs.inputBias;
441
- layerDeclaration = rhs.layerDeclaration;
442
- layerList = rhs.layerList;
443
-
444
- // By-value copies in ownership cases
445
- if (rhs.deleteInputData)
446
- {
447
- if (rhs.inputImage)
448
- inputImage = OGRE_NEW Image(*rhs.inputImage);
449
- else
450
- inputImage = 0;
451
-
452
- if (rhs.inputFloat)
453
- {
454
- inputFloat = OGRE_ALLOC_T(float, terrainSize*terrainSize, MEMCATEGORY_GEOMETRY);
455
- memcpy(inputFloat, rhs.inputFloat, sizeof(float) * terrainSize*terrainSize);
456
- }
457
- else
458
- inputFloat = 0;
459
- }
460
- else
461
- {
462
- // re-use pointers
463
- inputImage = rhs.inputImage;
464
- inputFloat = rhs.inputFloat;
465
- }
466
- return *this;
467
- }
468
-
469
- /// Delete any input data if this struct is set to do so
470
- void destroy()
471
- {
472
- if (deleteInputData)
473
- {
474
- OGRE_DELETE inputImage;
475
- OGRE_FREE(inputFloat, MEMCATEGORY_GEOMETRY);
476
- inputImage = 0;
477
- inputFloat = 0;
478
- }
479
-
480
- }
481
-
482
- ~ImportData()
483
- {
484
- destroy();
485
- }
486
-
487
- };
488
-
489
- /// Neighbour index enumeration - indexed anticlockwise from East like angles
490
- enum NeighbourIndex
491
- {
492
- NEIGHBOUR_EAST = 0,
493
- NEIGHBOUR_NORTHEAST = 1,
494
- NEIGHBOUR_NORTH = 2,
495
- NEIGHBOUR_NORTHWEST = 3,
496
- NEIGHBOUR_WEST = 4,
497
- NEIGHBOUR_SOUTHWEST = 5,
498
- NEIGHBOUR_SOUTH = 6,
499
- NEIGHBOUR_SOUTHEAST = 7,
500
-
501
- NEIGHBOUR_COUNT = 8
502
- };
503
-
504
- SceneManager* getSceneManager() const { return mSceneMgr; }
505
-
506
- /// Enumeration of relative spaces that you might want to use to address the terrain
507
- enum Space
508
- {
509
- /// Simple global world space, axes and positions are all in world space
510
- WORLD_SPACE = 0,
511
- /// As world space, but positions are relative to the terrain world position
512
- LOCAL_SPACE = 1,
513
- /** x & y are parametric values on the terrain from 0 to 1, with the
514
- origin at the bottom left. z is the world space height at that point.
515
- */
516
- TERRAIN_SPACE = 2,
517
- /** x & y are integer points on the terrain from 0 to size-1, with the
518
- origin at the bottom left. z is the world space height at that point.
519
- */
520
- POINT_SPACE = 3
521
- };
522
-
523
- /** Interface used to by the Terrain instance to allocate GPU buffers.
524
- @remarks This class exists to make it easier to re-use buffers between
525
- multiple instances of terrain.
526
- */
527
- class _OgreTerrainExport GpuBufferAllocator : public TerrainAlloc
528
- {
529
- public:
530
- GpuBufferAllocator() {}
531
- virtual ~GpuBufferAllocator() {}
532
-
533
- /** Allocate (or reuse) vertex buffers for a terrain LOD.
534
- @param numVertices The total number of vertices
535
- @param destPos Pointer to a vertex buffer for positions, to be bound
536
- @param destDelta Pointer to a vertex buffer for deltas, to be bound
537
- */
538
- virtual void allocateVertexBuffers(Terrain* forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr& destPos, HardwareVertexBufferSharedPtr& destDelta) = 0;
539
- /** Free (or return to the pool) vertex buffers for terrain.
540
- */
541
- virtual void freeVertexBuffers(const HardwareVertexBufferSharedPtr& posbuf, const HardwareVertexBufferSharedPtr& deltabuf) = 0;
542
-
543
- /** Get a shared index buffer for a given number of settings.
544
- @remarks
545
- Since all index structures are the same at the same LOD level and
546
- relative position, we can share index buffers. Therefore the
547
- buffer returned from this method does not need to be 'freed' like
548
- the vertex buffers since it is never owned.
549
- @param batchSize The batch size along one edge
550
- @param vdatasize The size of the referenced vertex data along one edge
551
- @param vertexIncrement The number of vertices to increment for each new indexed row / column
552
- @param xoffset The x offset from the start of vdatasize, at that resolution
553
- @param yoffset The y offset from the start of vdatasize, at that resolution
554
- @param numSkirtRowsCols Number of rows and columns of skirts
555
- @param skirtRowColSkip The number of rows / cols to skip in between skirts
556
- */
557
- virtual HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize,
558
- uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
559
- uint16 skirtRowColSkip) = 0;
560
-
561
- /// Free any buffers we're holding
562
- virtual void freeAllBuffers() = 0;
563
-
564
- };
565
- /// Standard implementation of a buffer allocator which re-uses buffers
566
- class _OgreTerrainExport DefaultGpuBufferAllocator : public GpuBufferAllocator
567
- {
568
- public:
569
- DefaultGpuBufferAllocator();
570
- ~DefaultGpuBufferAllocator();
571
- void allocateVertexBuffers(Terrain* forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr& destPos, HardwareVertexBufferSharedPtr& destDelta);
572
- void freeVertexBuffers(const HardwareVertexBufferSharedPtr& posbuf, const HardwareVertexBufferSharedPtr& deltabuf);
573
- HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize,
574
- uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
575
- uint16 skirtRowColSkip);
576
- void freeAllBuffers();
577
-
578
- /** 'Warm start' the allocator based on needing x instances of
579
- terrain with the given configuration.
580
- */
581
- void warmStart(size_t numInstances, uint16 terrainSize, uint16 maxBatchSize,
582
- uint16 minBatchSize);
583
-
584
- protected:
585
- typedef list<HardwareVertexBufferSharedPtr>::type VBufList;
586
- VBufList mFreePosBufList;
587
- VBufList mFreeDeltaBufList;
588
- typedef map<uint32, HardwareIndexBufferSharedPtr>::type IBufMap;
589
- IBufMap mSharedIBufMap;
590
-
591
- uint32 hashIndexBuffer(uint16 batchSize,
592
- uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
593
- uint16 skirtRowColSkip);
594
- HardwareVertexBufferSharedPtr getVertexBuffer(VBufList& list, size_t vertexSize, size_t numVertices);
595
-
596
- };
597
-
598
- /** Tell this instance to use the given GpuBufferAllocator.
599
- @remarks
600
- May only be called when the terrain is not loaded.
601
- */
602
- void setGpuBufferAllocator(GpuBufferAllocator* alloc);
603
-
604
- /// Get the current buffer allocator
605
- GpuBufferAllocator* getGpuBufferAllocator();
606
-
607
- /// Utility method to get the number of indexes required to render a given batch
608
- static size_t _getNumIndexesForBatchSize(uint16 batchSize);
609
- /** Utility method to populate a (locked) index buffer.
610
- @param pIndexes Pointer to an index buffer to populate
611
- @param batchSize The number of vertices down one side of the batch
612
- @param vdatasize The number of vertices down one side of the vertex data being referenced
613
- @param vertexIncrement The number of vertices to increment for each new indexed row / column
614
- @param xoffset The x offset from the start of the vertex data being referenced
615
- @param yoffset The y offset from the start of the vertex data being referenced
616
- @param numSkirtRowsCols Number of rows and columns of skirts
617
- @param skirtRowColSkip The number of rows / cols to skip in between skirts
618
-
619
- */
620
- static void _populateIndexBuffer(uint16* pIndexes, uint16 batchSize,
621
- uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
622
- uint16 skirtRowColSkip);
623
-
624
- /** Utility method to calculate the skirt index for a given original vertex index. */
625
- static uint16 _calcSkirtVertexIndex(uint16 mainIndex, uint16 vdatasize, bool isCol,
626
- uint16 numSkirtRowsCols, uint16 skirtRowColSkip);
627
-
628
- /** Convert a position from one space to another with respect to this terrain.
629
- @param inSpace The space that inPos is expressed as
630
- @param inPos The incoming position
631
- @param outSpace The space which outPos should be expressed as
632
- @param outPos The output position to be populated
633
- */
634
- void convertPosition(Space inSpace, const Vector3& inPos, Space outSpace, Vector3& outPos) const;
635
- /** Convert a position from one space to another with respect to this terrain.
636
- @param inSpace The space that inPos is expressed as
637
- @param inPos The incoming position
638
- @param outSpace The space which outPos should be expressed as
639
- @return The output position
640
- */
641
- Vector3 convertPosition(Space inSpace, const Vector3& inPos, Space outSpace) const;
642
- /** Convert a direction from one space to another with respect to this terrain.
643
- @param inSpace The space that inDir is expressed as
644
- @param inDir The incoming direction
645
- @param outSpace The space which outDir should be expressed as
646
- @param outDir The output direction to be populated
647
- */
648
- void convertDirection(Space inSpace, const Vector3& inDir, Space outSpace, Vector3& outDir) const;
649
- /** Convert a direction from one space to another with respect to this terrain.
650
- @param inSpace The space that inDir is expressed as
651
- @param inDir The incoming direction
652
- @param outSpace The space which outDir should be expressed as
653
- @return The output direction
654
- */
655
- Vector3 convertDirection(Space inSpace, const Vector3& inDir, Space outSpace) const;
656
-
657
- /** Set the resource group to use when loading / saving.
658
- @param resGroup Resource group name - you can set this to blank to use
659
- the default in TerrainGlobalOptions.
660
- */
661
- void setResourceGroup(const String& resGroup) { mResourceGroup = resGroup; }
662
-
663
- /** Get the resource group to use when loading / saving.
664
- If this is blank, the default in TerrainGlobalOptions will be used.
665
- */
666
- const String& getResourceGroup() const { return mResourceGroup; }
667
-
668
- /** Get the final resource group to use when loading / saving.
669
- */
670
- const String& _getDerivedResourceGroup() const;
671
-
672
- /** Save terrain data in native form to a standalone file
673
- @param filename The name of the file to save to. If this is a filename with
674
- no path elements, then it is saved in the first writeable location
675
- available in the resource group you have chosen to use for this
676
- terrain. If the filename includes path specifiers then it is saved
677
- directly instead (but note that it may not be reloadable via the
678
- resource system if the location is not on the path).
679
- */
680
- void save(const String& filename);
681
- /** Save terrain data in native form to a serializing stream.
682
- @remarks
683
- If you want complete control over where the terrain data goes, use
684
- this form.
685
- */
686
- void save(StreamSerialiser& stream);
687
-
688
- /** Prepare the terrain from a standalone file.
689
- @note
690
- This is safe to do in a background thread as it creates no GPU resources.
691
- It reads data from a native terrain data chunk. For more advanced uses,
692
- such as loading from a shared file, use the StreamSerialiser form.
693
- */
694
- bool prepare(const String& filename);
695
- /** Prepare terrain data from saved data.
696
- @remarks
697
- This is safe to do in a background thread as it creates no GPU resources.
698
- It reads data from a native terrain data chunk.
699
- @return true if the preparation was successful
700
- */
701
- bool prepare(StreamSerialiser& stream);
702
-
703
- /** Prepare the terrain from some import data rather than loading from
704
- native data.
705
- @remarks
706
- This method may be called in a background thread.
707
- */
708
- bool prepare(const ImportData& importData);
709
-
710
- /** Prepare and load the terrain in one simple call from a standalone file.
711
- @note
712
- This method must be called from the primary render thread. To load data
713
- in a background thread, use the prepare() method.
714
- */
715
- void load(const String& filename);
716
-
717
- /** Prepare and load the terrain in one simple call from a stream.
718
- @note
719
- This method must be called from the primary render thread. To load data
720
- in a background thread, use the prepare() method.
721
- */
722
- void load(StreamSerialiser& stream);
723
-
724
- /** Load the terrain based on the data already populated via prepare methods.
725
- @remarks
726
- This method must be called in the main render thread.
727
- */
728
- void load();
729
-
730
- /** Return whether the terrain is loaded.
731
- @remarks
732
- Should only be called from the render thread really, since this is
733
- where the loaded state changes.
734
- */
735
- bool isLoaded() const { return mIsLoaded; }
736
-
737
- /** Returns whether this terrain has been modified since it was first loaded / defined.
738
- @remarks
739
- This flag is reset on save().
740
- */
741
- bool isModified() const { return mModified; }
742
-
743
-
744
- /** Returns whether terrain heights have been modified since the terrain was first loaded / defined.
745
- @remarks
746
- This flag is reset on save().
747
- */
748
- bool isHeightDataModified() const { return mHeightDataModified; }
749
-
750
-
751
- /** Unload the terrain and free GPU resources.
752
- @remarks
753
- This method must be called in the main render thread.
754
- */
755
- void unload();
756
-
757
- /** Free CPU resources created during prepare methods.
758
- @remarks
759
- This is safe to do in a background thread after calling unload().
760
- */
761
- void unprepare();
762
-
763
-
764
- /** Get a pointer to all the height data for this terrain.
765
- @remarks
766
- The height data is in world coordinates, relative to the position
767
- of the terrain.
768
- @par
769
- This pointer is not const, so you can update the height data if you
770
- wish. However, changes will not be propagated until you call
771
- Terrain::dirty or Terrain::dirtyRect.
772
- */
773
- float* getHeightData() const;
774
-
775
- /** Get a pointer to the height data for a given point.
776
- */
777
- float* getHeightData(long x, long y) const;
778
-
779
- /** Get the height data for a given terrain point.
780
- @param x, y Discrete coordinates in terrain vertices, values from 0 to size-1,
781
- left/right bottom/top
782
- */
783
- float getHeightAtPoint(long x, long y) const;
784
-
785
- /** Set the height data for a given terrain point.
786
- @note this doesn't take effect until you call update()
787
- @param x, y Discrete coordinates in terrain vertices, values from 0 to size-1,
788
- left/right bottom/top
789
- @param h The new height
790
- */
791
- void setHeightAtPoint(long x, long y, float h);
792
-
793
- /** Get the height data for a given terrain position.
794
- @param x, y Position in terrain space, values from 0 to 1 left/right bottom/top
795
- */
796
- float getHeightAtTerrainPosition(Real x, Real y);
797
-
798
- /** Get the height data for a given world position (projecting the point
799
- down on to the terrain).
800
- @param x, y,z Position in world space. Positions will be clamped to the edge
801
- of the terrain
802
- */
803
- float getHeightAtWorldPosition(Real x, Real y, Real z);
804
-
805
- /** Get the height data for a given world position (projecting the point
806
- down on to the terrain).
807
- @param pos Position in world space. Positions will be clamped to the edge
808
- of the terrain
809
- */
810
- float getHeightAtWorldPosition(const Vector3& pos);
811
-
812
- /** Get a pointer to all the delta data for this terrain.
813
- @remarks
814
- The delta data is a measure at a given vertex of by how much vertically
815
- a vertex will have to move to reach the point at which it will be
816
- removed in the next lower LOD.
817
- */
818
- const float* getDeltaData();
819
-
820
- /** Get a pointer to the delta data for a given point.
821
- */
822
- const float* getDeltaData(long x, long y);
823
-
824
- /** Get a Vector3 of the world-space point on the terrain, aligned as per
825
- options.
826
- @note This point is relative to Terrain::getPosition
827
- */
828
- void getPoint(long x, long y, Vector3* outpos);
829
-
830
- /** Get a Vector3 of the world-space point on the terrain, aligned as per
831
- options. Cascades into neighbours if out of bounds.
832
- @note This point is relative to Terrain::getPosition - neighbours are
833
- adjusted to be relative to this tile
834
- */
835
- void getPointFromSelfOrNeighbour(long x, long y, Vector3* outpos);
836
-
837
- /** Get a Vector3 of the world-space point on the terrain, supplying the
838
- height data manually (can be more optimal).
839
- @note This point is relative to Terrain::getPosition
840
- */
841
- void getPoint(long x, long y, float height, Vector3* outpos);
842
- /** Get a transform which converts Vector4(xindex, yindex, height, 1) into
843
- an object-space position including scalings and alignment.
844
- */
845
- void getPointTransform(Matrix4* outXform) const;
846
- /** Translate a vector from world space to local terrain space based on the alignment options.
847
- @param inVec The vector in basis space, where x/y represents the
848
- terrain plane and z represents the up vector
849
- */
850
- void getTerrainVector(const Vector3& inVec, Vector3* outVec);
851
- /** Translate a vector from world space to local terrain space based on a specified alignment.
852
- @param inVec The vector in basis space, where x/y represents the
853
- terrain plane and z represents the up vector
854
- */
855
- void getTerrainVectorAlign(const Vector3& inVec, Alignment align, Vector3* outVec);
856
-
857
- /** Translate a vector from world space to local terrain space based on the alignment options.
858
- @param x, y, z The vector in basis space, where x/y represents the
859
- terrain plane and z represents the up vector
860
- */
861
- void getTerrainVector(Real x, Real y, Real z, Vector3* outVec);
862
- /** Translate a vector from world space to local terrain space based on a specified alignment.
863
- @param x, y, z The vector in world space, where x/y represents the
864
- terrain plane and z represents the up vector
865
- */
866
- void getTerrainVectorAlign(Real x, Real y, Real z, Alignment align, Vector3* outVec);
867
-
868
- /** Translate a vector into world space based on the alignment options.
869
- @param inVec The vector in basis space, where x/y represents the
870
- terrain plane and z represents the up vector
871
- */
872
- void getVector(const Vector3& inVec, Vector3* outVec);
873
- /** Translate a vector into world space based on a specified alignment.
874
- @param inVec The vector in basis space, where x/y represents the
875
- terrain plane and z represents the up vector
876
- */
877
- void getVectorAlign(const Vector3& inVec, Alignment align, Vector3* outVec);
878
-
879
- /** Translate a vector into world space based on the alignment options.
880
- @param x, y, z The vector in basis space, where x/y represents the
881
- terrain plane and z represents the up vector
882
- */
883
- void getVector(Real x, Real y, Real z, Vector3* outVec);
884
- /** Translate a vector into world space based on a specified alignment.
885
- @param x, y, z The vector in basis space, where x/y represents the
886
- terrain plane and z represents the up vector
887
- */
888
- void getVectorAlign(Real x, Real y, Real z, Alignment align, Vector3* outVec);
889
-
890
-
891
- /** Convert a position from terrain basis space to world space.
892
- @param TSpos Terrain space position, where (0,0) is the bottom-left of the
893
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
894
- height units.
895
- @note This position is relative to Terrain::getPosition
896
- @param outWSpos World space output position (setup according to current alignment).
897
- */
898
- void getPosition(const Vector3& TSpos, Vector3* outWSpos);
899
- /** Convert a position from terrain basis space to world space.
900
- @param x,y,z Terrain space position, where (0,0) is the bottom-left of the
901
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
902
- height units.
903
- @note This position is relative to Terrain::getPosition
904
- @param outWSpos World space output position (setup according to current alignment).
905
- */
906
- void getPosition(Real x, Real y, Real z, Vector3* outWSpos);
907
-
908
- /** Convert a position from world space to terrain basis space.
909
- @param WSpos World space position (setup according to current alignment).
910
- @param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
911
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
912
- height units.
913
- */
914
- void getTerrainPosition(const Vector3& WSpos, Vector3* outTSpos);
915
- /** Convert a position from world space to terrain basis space.
916
- @param x,y,z World space position (setup according to current alignment).
917
- @param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
918
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
919
- height units.
920
- */
921
- void getTerrainPosition(Real x, Real y, Real z, Vector3* outTSpos);
922
- /** Convert a position from terrain basis space to world space based on a specified alignment.
923
- @param TSpos Terrain space position, where (0,0) is the bottom-left of the
924
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
925
- height units.
926
- @param outWSpos World space output position (setup according to alignment).
927
- */
928
- void getPositionAlign(const Vector3& TSpos, Alignment align, Vector3* outWSpos);
929
- /** Convert a position from terrain basis space to world space based on a specified alignment.
930
- @param x,y,z Terrain space position, where (0,0) is the bottom-left of the
931
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
932
- height units.
933
- @param outWSpos World space output position (setup according to alignment).
934
- */
935
- void getPositionAlign(Real x, Real y, Real z, Alignment align, Vector3* outWSpos);
936
-
937
- /** Convert a position from world space to terrain basis space based on a specified alignment.
938
- @param WSpos World space position (setup according to alignment).
939
- @param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
940
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
941
- height units.
942
- */
943
- void getTerrainPositionAlign(const Vector3& WSpos, Alignment align, Vector3* outTSpos);
944
- /** Convert a position from world space to terrain basis space based on a specified alignment.
945
- @param x,y,z World space position (setup according to alignment).
946
- @param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
947
- terrain, and (1,1) is the top-right. The Z coordinate is in absolute
948
- height units.
949
- */
950
- void getTerrainPositionAlign(Real x, Real y, Real z, Alignment align, Vector3* outTSpos);
951
-
952
-
953
- /// Get the alignment of the terrain
954
- Alignment getAlignment() const;
955
- /// Get the size of the terrain in vertices along one side
956
- uint16 getSize() const;
957
- /** Set the size of terrain in vertices along one side.
958
- @note The existing height data will be bilinear filtered to fill the new size
959
- @param newSize the new size of the terrain
960
- */
961
- void setSize(uint16 newSize);
962
- /// Get the maximum size in vertices along one side of a batch
963
- uint16 getMaxBatchSize() const;
964
- /// Get the minimum size in vertices along one side of a batch
965
- uint16 getMinBatchSize() const;
966
- /// Get the size of the terrain in world units
967
- Real getWorldSize() const;
968
- /** Set the world size of terrain.
969
- @param newWorldSize the new world size of the terrain
970
- */
971
- void setWorldSize(Real newWorldSize);
972
-
973
- /** Get the number of layers in this terrain. */
974
- uint8 getLayerCount() const { return static_cast<uint8>(mLayers.size()); }
975
-
976
- /** Get the declaration which describes the layers in this terrain. */
977
- const TerrainLayerDeclaration& getLayerDeclaration() const { return mLayerDecl; }
978
-
979
- /** Add a new layer to this terrain.
980
- @param worldSize The size of the texture in this layer in world units. Default
981
- to zero to use the default
982
- @param textureNames A list of textures to assign to the samplers in this
983
- layer. Leave blank to provide these later.
984
- */
985
- void addLayer(Real worldSize = 0, const StringVector* textureNames = 0);
986
-
987
- /** Add a new layer to this terrain at a specific index.
988
- @param index The index at which to insert this layer (existing layers are shifted forwards)
989
- @param worldSize The size of the texture in this layer in world units. Default
990
- to zero to use the default
991
- @param textureNames A list of textures to assign to the samplers in this
992
- layer. Leave blank to provide these later.
993
- */
994
- void addLayer(uint8 index, Real worldSize = 0, const StringVector* textureNames = 0);
995
-
996
- /** Remove a layer from the terrain.
997
- */
998
- void removeLayer(uint8 index);
999
-
1000
- /** Replace an existing terrain layer, optionally preserving all other layer blend maps
1001
- @param index The 0 based index of the terrain layer to replace
1002
- @param keepBlends True to keep using the existing blend maps. False to reset the blend map for the layer.
1003
- Irrelevant if index == 0
1004
- @param worldSize The size of the texture in this layer in world units. Default
1005
- to zero to use the default
1006
- @param textureNames A list of textures to assign to the samplers in this
1007
- layer. Leave blank to provide these later.
1008
- */
1009
- void replaceLayer(uint8 index, bool keepBlends, Real worldSize = 0, const StringVector* textureNames = 0);
1010
-
1011
- /** Get the maximum number of layers supported with the current options.
1012
- @note When you change the options requested, this value can change.
1013
- */
1014
- uint8 getMaxLayers() const;
1015
-
1016
- /** How large an area in world space the texture in a terrain layer covers
1017
- before repeating.
1018
- @param index The layer index.
1019
- */
1020
- Real getLayerWorldSize(uint8 index) const;
1021
- /** How large an area in world space the texture in a terrain layer covers
1022
- before repeating.
1023
- @param index The layer index.
1024
- @param size The world size of the texture before repeating
1025
- */
1026
- void setLayerWorldSize(uint8 index, Real size);
1027
-
1028
- /** Get the layer UV multiplier.
1029
- @remarks
1030
- This is derived from the texture world size. The base UVs in the
1031
- terrain vary from 0 to 1 and this multiplier is used (in a fixed-function
1032
- texture coord scaling or a shader parameter) to translate it to the
1033
- final value.
1034
- @param index The layer index.
1035
- */
1036
- Real getLayerUVMultiplier(uint8 index) const;
1037
-
1038
- /** Get the name of the texture bound to a given index within a given layer.
1039
- See the LayerDeclaration for a list of sampelrs within a layer.
1040
- @param layerIndex The layer index.
1041
- @param samplerIndex The sampler index within a layer
1042
- */
1043
- const String& getLayerTextureName(uint8 layerIndex, uint8 samplerIndex) const;
1044
- /** Set the name of the texture bound to a given index within a given layer.
1045
- See the LayerDeclaration for a list of sampelrs within a layer.
1046
- @param index The layer index.
1047
- @param size The world size of the texture before repeating
1048
- @param textureName The name of the texture to use
1049
- */
1050
- void setLayerTextureName(uint8 layerIndex, uint8 samplerIndex, const String& textureName);
1051
-
1052
- /** Get the requested size of the blend maps used to blend between layers
1053
- for this terrain.
1054
- Note that where hardware limits this, the actual blend maps may be lower
1055
- resolution. This option is derived from TerrainGlobalOptions when the
1056
- terrain is created.
1057
- */
1058
- uint16 getLayerBlendMapSize() const { return mLayerBlendMapSize; }
1059
-
1060
- /** Get the requested size of lightmap for this terrain.
1061
- Note that where hardware limits this, the actual lightmap may be lower
1062
- resolution. This option is derived from TerrainGlobalOptions when the
1063
- terrain is created.
1064
- */
1065
- uint16 getLightmapSize() const { return mLightmapSize; }
1066
-
1067
- /// Get access to the lightmap, if enabled (as requested by the material generator)
1068
- const TexturePtr& getLightmap() const { return mLightmap; }
1069
-
1070
- /** Get the requested size of composite map for this terrain.
1071
- Note that where hardware limits this, the actual texture may be lower
1072
- resolution. This option is derived from TerrainGlobalOptions when the
1073
- terrain is created.
1074
- */
1075
- uint16 getCompositeMapSize() const { return mCompositeMapSize; }
1076
-
1077
- /// Get access to the composite map, if enabled (as requested by the material generator)
1078
- const TexturePtr& getCompositeMap() const { return mCompositeMap; }
1079
-
1080
- /// Get the world position of the terrain centre
1081
- const Vector3& getPosition() const { return mPos; }
1082
- /// Set the position of the terrain centre in world coordinates
1083
- void setPosition(const Vector3& pos);
1084
- /// Get the root scene node for the terrain (internal use only)
1085
- SceneNode* _getRootSceneNode() const;
1086
- /** Mark the entire terrain as dirty.
1087
- By marking a section of the terrain as dirty, you are stating that you have
1088
- changed the height data within this rectangle. This rectangle will be merged with
1089
- any existing outstanding changes. To finalise the changes, you must
1090
- call update(), updateGeometry(), or updateDerivedData().
1091
- */
1092
- void dirty();
1093
-
1094
- /** Mark a region of the terrain as dirty.
1095
- By marking a section of the terrain as dirty, you are stating that you have
1096
- changed the height data within this rectangle. This rectangle will be merged with
1097
- any existing outstanding changes. To finalise the changes, you must
1098
- call update(), updateGeometry(), or updateDerivedData().
1099
- @param rect A rectangle expressed in vertices describing the dirty region;
1100
- left < right, top < bottom, left & top are inclusive, right & bottom exclusive
1101
- */
1102
- void dirtyRect(const Rect& rect);
1103
-
1104
- /** Mark a region of the terrain composite map as dirty.
1105
- @remarks
1106
- You don't usually need to call this directly, it is inferred from
1107
- changing the other data on the terrain.
1108
- */
1109
- void _dirtyCompositeMapRect(const Rect& rect);
1110
-
1111
- /** Mark a region of the lightmap as dirty.
1112
- @remarks
1113
- You only need to call this if you need to tell the terrain to update
1114
- the lightmap data for some reason other than the terrain geometry
1115
- has changed. Changing terrain geometry automatically dirties the
1116
- correct lightmap areas.
1117
- @note
1118
- The lightmap won't actually be updated until update() or updateDerivedData()
1119
- is called.
1120
- */
1121
- void dirtyLightmapRect(const Rect& rect);
1122
-
1123
- /** Mark a the entire lightmap as dirty.
1124
- @remarks
1125
- You only need to call this if you need to tell the terrain to update
1126
- the lightmap data for some reason other than the terrain geometry
1127
- has changed. Changing terrain geometry automatically dirties the
1128
- correct lightmap areas.
1129
- @note
1130
- The lightmap won't actually be updated until update() or updateDerivedData()
1131
- is called.
1132
- */
1133
- void dirtyLightmap();
1134
-
1135
- /** Trigger the update process for the terrain.
1136
- @remarks
1137
- Updating the terrain will process any dirty sections of the terrain.
1138
- This may affect many things:
1139
- <ol><li>The terrain geometry</li>
1140
- <li>The terrain error metrics which determine LOD transitions</li>
1141
- <li>The terrain normal map, if present</li>
1142
- <li>The terrain lighting map, if present</li>
1143
- <li>The terrain composite map, if present</li>
1144
- </ol>
1145
- If threading is enabled, only item 1 (the geometry) will be updated
1146
- synchronously, ie will be fully up to date when this method returns.
1147
- The other elements are more expensive to compute, and will be queued
1148
- for processing in a background thread, in the order shown above. As these
1149
- updates complete, the effects will be shown.
1150
-
1151
- You can also separate the timing of updating the geometry, LOD and the lighting
1152
- information if you want, by calling updateGeometry() and
1153
- updateDerivedData() separately.
1154
- @param synchronous If true, all updates will happen immediately and not
1155
- in a separate thread.
1156
- */
1157
- void update(bool synchronous = false);
1158
-
1159
- /** Performs an update on the terrain geometry based on the dirty region.
1160
- @remarks
1161
- Terrain geometry will be updated when this method returns.
1162
- */
1163
- void updateGeometry();
1164
-
1165
- // Used as a type mask for updateDerivedData
1166
- static const uint8 DERIVED_DATA_DELTAS;
1167
- static const uint8 DERIVED_DATA_NORMALS;
1168
- static const uint8 DERIVED_DATA_LIGHTMAP;
1169
- static const uint8 DERIVED_DATA_ALL;
1170
-
1171
- /** Updates derived data for the terrain (LOD, lighting) to reflect changed height data, in a separate
1172
- thread if threading is enabled (OGRE_THREAD_SUPPORT).
1173
- If threading is enabled, on return from this method the derived
1174
- data will not necessarily be updated immediately, the calculation
1175
- may be done in the background. Only one update will run in the background
1176
- at once. This derived data can typically survive being out of sync for a
1177
- few frames which is why it is not done synchronously
1178
- @param synchronous If true, the update will happen immediately and not
1179
- in a separate thread.
1180
- @param typeMask Mask indicating the types of data we should generate
1181
- */
1182
- void updateDerivedData(bool synchronous = false, uint8 typeMask = 0xFF);
1183
-
1184
- /** Performs an update on the terrain composite map based on its dirty region.
1185
- @remarks
1186
- Rather than calling this directly, call updateDerivedData, which will
1187
- also call it after the other derived data has been updated (there is
1188
- no point updating the composite map until lighting has been updated).
1189
- However the blend maps may call this directly when only the blending
1190
- information has been updated.
1191
- */
1192
- void updateCompositeMap();
1193
-
1194
- /** Performs an update on the terrain composite map based on its dirty region,
1195
- but only at a maximum frequency.
1196
- @remarks
1197
- Rather than calling this directly, call updateDerivedData, which will
1198
- also call it after the other derived data has been updated (there is
1199
- no point updating the composite map until lighting has been updated).
1200
- However the blend maps may call this directly when only the blending
1201
- information has been updated.
1202
- @note
1203
- This method will log the request for an update, but won't do it just yet
1204
- unless there are no further requests in the next 'delay' seconds. This means
1205
- you can call it all the time but only pick up changes in quiet times.
1206
- */
1207
- void updateCompositeMapWithDelay(Real delay = 2);
1208
-
1209
-
1210
- /** The default size of 'skirts' used to hide terrain cracks
1211
- (default 10, set for new Terrain using TerrainGlobalOptions)
1212
- */
1213
- Real getSkirtSize() const { return mSkirtSize; }
1214
-
1215
- /// Get the total number of LOD levels in the terrain
1216
- uint16 getNumLodLevels() const { return mNumLodLevels; }
1217
-
1218
- /// Get the number of LOD levels in a leaf of the terrain quadtree
1219
- uint16 getNumLodLevelsPerLeaf() const { return mNumLodLevelsPerLeafNode; }
1220
-
1221
- /** Calculate (or recalculate) the delta values of heights between a vertex
1222
- in its recorded position, and the place it will end up in the LOD
1223
- in which it is removed.
1224
- @param rect Rectangle describing the area in which heights have altered
1225
- @return A Rectangle describing the area which was updated (may be wider
1226
- than the input rectangle)
1227
- */
1228
- Rect calculateHeightDeltas(const Rect& rect);
1229
-
1230
- /** Finalise the height deltas.
1231
- Calculated height deltas are kept in a separate calculation field to make
1232
- them safe to perform in a background thread. This call promotes those
1233
- calculations to the runtime values, and must be called in the main thread.
1234
- @param rect Rectangle describing the area to finalise
1235
- @param cpuData When updating vertex data, update the CPU copy (background)
1236
- */
1237
- void finaliseHeightDeltas(const Rect& rect, bool cpuData);
1238
-
1239
- /** Calculate (or recalculate) the normals on the terrain
1240
- @param rect Rectangle describing the area of heights that were changed
1241
- @param outFinalRect Output rectangle describing the area updated
1242
- @return Pointer to a PixelBox full of normals (caller responsible for deletion)
1243
- */
1244
- PixelBox* calculateNormals(const Rect& rect, Rect& outFinalRect);
1245
-
1246
- /** Finalise the normals.
1247
- Calculated normals are kept in a separate calculation area to make
1248
- them safe to perform in a background thread. This call promotes those
1249
- calculations to the runtime values, and must be called in the main thread.
1250
- @param rect Rectangle describing the area to finalise
1251
- @param normalsBox Pointer to a PixelBox full of normals
1252
- */
1253
- void finaliseNormals(const Rect& rect, PixelBox* normalsBox);
1254
-
1255
- /** Calculate (or recalculate) the terrain lightmap
1256
- @param rect Rectangle describing the area of heights that were changed
1257
- @param extraTargetRect Rectangle describing a target area of the terrain that
1258
- needs to be calculated additionally (e.g. from a neighbour)
1259
- @param outFinalRect Output rectangle describing the area updated in the lightmap
1260
- @return Pointer to a PixelBox full of lighting data (caller responsible for deletion)
1261
- */
1262
- PixelBox* calculateLightmap(const Rect& rect, const Rect& extraTargetRect, Rect& outFinalRect);
1263
-
1264
- /** Finalise the lightmap.
1265
- Calculating lightmaps is kept in a separate calculation area to make
1266
- it safe to perform in a background thread. This call promotes those
1267
- calculations to the runtime values, and must be called in the main thread.
1268
- @param rect Rectangle describing the area to finalise
1269
- @param normalsBox Pointer to a PixelBox full of normals
1270
- */
1271
- void finaliseLightmap(const Rect& rect, PixelBox* lightmapBox);
1272
-
1273
- /** Gets the resolution of the entire terrain (down one edge) at a
1274
- given LOD level.
1275
- */
1276
- uint16 getResolutionAtLod(uint16 lodLevel);
1277
-
1278
- /** Test for intersection of a given ray with the terrain. If the ray hits
1279
- the terrain, the point of intersection is returned.
1280
- @param ray The ray to test for intersection
1281
- @param cascadeToNeighbours Whether the ray will be projected onto neighbours if
1282
- no intersection is found
1283
- @param distanceLimit The distance from the ray origin at which we will stop looking,
1284
- 0 indicates no limit
1285
- @return A pair which contains whether the ray hit the terrain and, if so, where.
1286
- @remarks This can be called from any thread as long as no parallel write to
1287
- the heightmap data occurs.
1288
- */
1289
- std::pair<bool, Vector3> rayIntersects(const Ray& ray,
1290
- bool cascadeToNeighbours = false, Real distanceLimit = 0); //const;
1291
-
1292
- /// Get the AABB (local coords) of the entire terrain
1293
- const AxisAlignedBox& getAABB() const;
1294
- /// Get the AABB (world coords) of the entire terrain
1295
- AxisAlignedBox getWorldAABB() const;
1296
- /// Get the minimum height of the terrain
1297
- Real getMinHeight() const;
1298
- /// Get the maximum height of the terrain
1299
- Real getMaxHeight() const;
1300
- /// Get the bounding radius of the entire terrain
1301
- Real getBoundingRadius() const;
1302
-
1303
- /// Get the material being used for the terrain
1304
- const MaterialPtr& getMaterial() const;
1305
- /// Internal getting of material
1306
- const MaterialPtr& _getMaterial() const { return mMaterial; }
1307
- /// Get the material being used for the terrain composite map
1308
- const MaterialPtr& getCompositeMapMaterial() const;
1309
- /// Internal getting of material for the terrain composite map
1310
- const MaterialPtr& _getCompositeMapMaterial() const { return mCompositeMapMaterial; }
1311
-
1312
- /// Get the name of the material being used for the terrain
1313
- const String& getMaterialName() const { return mMaterialName; }
1314
-
1315
- /// Overridden from SceneManager::Listener
1316
- void preFindVisibleObjects(SceneManager* source,
1317
- SceneManager::IlluminationRenderStage irs, Viewport* v);
1318
- /// Overridden from SceneManager::Listener
1319
- void sceneManagerDestroyed(SceneManager* source);
1320
-
1321
- /// Get the render queue group that this terrain will be rendered into
1322
- uint8 getRenderQueueGroup(void) const { return mRenderQueueGroup; }
1323
- /** Set the render queue group that this terrain will be rendered into.
1324
- @remarks The default is specified in TerrainGlobalOptions
1325
- */
1326
- void setRenderQueueGroup(uint8 grp) { mRenderQueueGroup = grp; }
1327
-
1328
- /// Get the visibility flags for this terrain.
1329
- uint32 getVisibilityFlags(void) const { return mVisibilityFlags; }
1330
- /** Set the visibility flags for this terrain.
1331
- @remarks The default is specified in TerrainGlobalOptions
1332
- */
1333
- void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }
1334
-
1335
- /// Get the query flags for this terrain.
1336
- uint32 getQueryFlags(void) const { return mQueryFlags; }
1337
- /** Set the query flags for this terrain.
1338
- @remarks The default is specified in TerrainGlobalOptions
1339
- */
1340
- void setQueryFlags(uint32 flags) { mQueryFlags = flags; }
1341
-
1342
- /** As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. */
1343
- void addQueryFlags(uint32 flags) { mQueryFlags |= flags; }
1344
-
1345
- /* As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. */
1346
- void removeQueryFlags(uint32 flags) { mQueryFlags &= ~flags; }
1347
-
1348
-
1349
- /** Retrieve the layer blending map for a given layer, which may
1350
- be used to edit the blending information for that layer.
1351
- @note
1352
- You can only do this after the terrain has been loaded. You may
1353
- edit the content of the blend layer in another thread, but you
1354
- may only upload it in the main render thread.
1355
- @param layerIndex The layer index, which should be 1 or higher (since
1356
- the bottom layer has no blending).
1357
- @return Pointer to the TerrainLayerBlendMap requested. The caller must
1358
- not delete this instance, use freeTemporaryResources if you want
1359
- to save the memory after completing your editing.
1360
- */
1361
- TerrainLayerBlendMap* getLayerBlendMap(uint8 layerIndex);
1362
-
1363
- /** Get the index of the blend texture that a given layer uses.
1364
- @param layerIndex The layer index, must be >= 1 and less than the number
1365
- of layers
1366
- @return The index of the shared blend texture
1367
- */
1368
- uint8 getBlendTextureIndex(uint8 layerIndex) const;
1369
-
1370
- /// Get the number of blend textures in use
1371
- uint8 getBlendTextureCount() const;
1372
- /// Get the number of blend textures needed for a given number of layers
1373
- uint8 getBlendTextureCount(uint8 numLayers) const;
1374
-
1375
-
1376
- /** Get the name of the packed blend texture at a specific index.
1377
- @param textureIndex This is the blend texture index, not the layer index
1378
- (multiple layers will share a blend texture)
1379
- */
1380
- const String& getBlendTextureName(uint8 textureIndex) const;
1381
-
1382
- /** Set whether a global colour map is enabled.
1383
- @remarks
1384
- A global colour map can add variation to your terrain and reduce the
1385
- perceived tiling effect you might get in areas of continuous lighting
1386
- and the same texture.
1387
- The global colour map is only used when the material generator chooses
1388
- to use it.
1389
- @note You must only call this from the main render thread
1390
- @param enabled Whether the global colour map is enabled or not
1391
- @param size The resolution of the colour map. A value of zero means 'no change'
1392
- and the default is set in TerrainGlobalOptions.
1393
- */
1394
- void setGlobalColourMapEnabled(bool enabled, uint16 size = 0);
1395
- /// Get whether a global colour map is enabled on this terrain
1396
- bool getGlobalColourMapEnabled() const { return mGlobalColourMapEnabled; }
1397
- /// Get the size of the global colour map (if used)
1398
- uint16 getGlobalColourMapSize() const { return mGlobalColourMapSize; }
1399
- /// Get access to the global colour map, if enabled
1400
- const TexturePtr& getGlobalColourMap() const { return mColourMap; }
1401
-
1402
- /** Widen a rectangular area of terrain to take into account an extrusion vector.
1403
- @param vec A vector in world space
1404
- @param inRect Input rectangle
1405
- @param inRect Output rectangle
1406
- */
1407
- void widenRectByVector(const Vector3& vec, const Rect& inRect, Rect& outRect);
1408
-
1409
- /** Widen a rectangular area of terrain to take into account an extrusion vector,
1410
- but specify the min / max heights to extrude manually.
1411
- @param vec A vector in world space
1412
- @param inRect Input rectangle
1413
- @param minHeight, maxHeight The extents of the height to extrude
1414
- @param inRect Output rectangle
1415
- */
1416
- void widenRectByVector(const Vector3& vec, const Rect& inRect,
1417
- Real minHeight, Real maxHeight, Rect& outRect);
1418
-
1419
- /** Free as many resources as possible for optimal run-time memory use.
1420
- @remarks
1421
- This class keeps some temporary storage around in order to make
1422
- certain actions (such as editing) possible more quickly. Calling this
1423
- method will cause as many of those resources as possible to be
1424
- freed. You might want to do this for example when you are finished
1425
- editing a particular terrain and want to have optimal runtime
1426
- efficiency.
1427
- */
1428
- void freeTemporaryResources();
1429
-
1430
- /** Get a blend texture with a given index.
1431
- @param index The blend texture index (note: not layer index; derive
1432
- the texture index from getLayerBlendTextureIndex)
1433
- */
1434
- const TexturePtr& getLayerBlendTexture(uint8 index);
1435
-
1436
- /** Get the texture index and colour channel of the blend information for
1437
- a given layer.
1438
- @param layerIndex The index of the layer (1 or higher, layer 0 has no blend data)
1439
- @return A pair in which the first value is the texture index, and the
1440
- second value is the colour channel (RGBA)
1441
- */
1442
- std::pair<uint8,uint8> getLayerBlendTextureIndex(uint8 layerIndex);
1443
-
1444
- /** Request internal implementation options for the terrain material to use,
1445
- in this case vertex morphing information.
1446
- The TerrainMaterialGenerator should call this method to specify the
1447
- options it would like to use when creating a material. Not all the data
1448
- is guaranteed to be up to date on return from this method - for example som
1449
- maps may be generated in the background. However, on return from this method
1450
- all the features that are requested will be referenceable by materials, the
1451
- data may just take a few frames to be fully populated.
1452
- @param morph Whether LOD morphing information is required to be calculated
1453
- */
1454
- void _setMorphRequired(bool morph) { mLodMorphRequired = morph; }
1455
- /// Get whether LOD morphing is needed
1456
- bool _getMorphRequired() const { return mLodMorphRequired; }
1457
-
1458
- /** Request internal implementation options for the terrain material to use,
1459
- in this case a terrain-wide normal map.
1460
- The TerrainMaterialGenerator should call this method to specify the
1461
- options it would like to use when creating a material. Not all the data
1462
- is guaranteed to be up to date on return from this method - for example some
1463
- maps may be generated in the background. However, on return from this method
1464
- all the features that are requested will be referenceable by materials, the
1465
- data may just take a few frames to be fully populated.
1466
- @param normalMap Whether a terrain-wide normal map is requested. This is usually
1467
- mutually exclusive with the lightmap option.
1468
- */
1469
- void _setNormalMapRequired(bool normalMap);
1470
-
1471
- /** Request internal implementation options for the terrain material to use,
1472
- in this case a terrain-wide normal map.
1473
- The TerrainMaterialGenerator should call this method to specify the
1474
- options it would like to use when creating a material. Not all the data
1475
- is guaranteed to be up to date on return from this method - for example some
1476
- maps may be generated in the background. However, on return from this method
1477
- all the features that are requested will be referenceable by materials, the
1478
- data may just take a few frames to be fully populated.
1479
- @param lightMap Whether a terrain-wide lightmap including precalculated
1480
- lighting is required (light direction in TerrainGlobalOptions)
1481
- @param shadowsOnly If true, the lightmap contains only shadows,
1482
- no directional lighting intensity
1483
- */
1484
- void _setLightMapRequired(bool lightMap, bool shadowsOnly = false);
1485
-
1486
- /** Request internal implementation options for the terrain material to use,
1487
- in this case a terrain-wide composite map.
1488
- The TerrainMaterialGenerator should call this method to specify the
1489
- options it would like to use when creating a material. Not all the data
1490
- is guaranteed to be up to date on return from this method - for example some
1491
- maps may be generated in the background. However, on return from this method
1492
- all the features that are requested will be referenceable by materials, the
1493
- data may just take a few frames to be fully populated.
1494
- @param compositeMap Whether a terrain-wide composite map is needed. A composite
1495
- map is a texture with all of the blending and lighting baked in, such that
1496
- at distance this texture can be used as an approximation of the multi-layer
1497
- blended material. It is actually up to the material generator to render this
1498
- composite map, because obviously precisely what it looks like depends on what
1499
- the main material looks like. For this reason, the composite map is one piece
1500
- of derived terrain data that is always calculated in the render thread, and
1501
- usually on the GPU. It is expected that if this option is requested,
1502
- the material generator will use it to construct distant LOD techniques.
1503
- */
1504
- void _setCompositeMapRequired(bool compositeMap);
1505
-
1506
- /// Whether we're using vertex compression or not
1507
- bool _getUseVertexCompression() const;
1508
-
1509
- /// WorkQueue::RequestHandler override
1510
- bool canHandleRequest(const WorkQueue::Request* req, const WorkQueue* srcQ);
1511
- /// WorkQueue::RequestHandler override
1512
- WorkQueue::Response* handleRequest(const WorkQueue::Request* req, const WorkQueue* srcQ);
1513
- /// WorkQueue::ResponseHandler override
1514
- bool canHandleResponse(const WorkQueue::Response* res, const WorkQueue* srcQ);
1515
- /// WorkQueue::ResponseHandler override
1516
- void handleResponse(const WorkQueue::Response* res, const WorkQueue* srcQ);
1517
-
1518
- static const uint16 WORKQUEUE_DERIVED_DATA_REQUEST;
1519
-
1520
-
1521
- /// Utility method, get the first LOD Level at which this vertex is no longer included
1522
- uint16 getLODLevelWhenVertexEliminated(long x, long y);
1523
- /// Utility method, get the first LOD Level at which this vertex is no longer included
1524
- uint16 getLODLevelWhenVertexEliminated(long rowOrColulmn);
1525
-
1526
-
1527
- /// Get the top level of the quad tree which is used to divide up the terrain
1528
- TerrainQuadTreeNode* getQuadTree() { return mQuadTree; }
1529
-
1530
- /// Get the (global) normal map texture
1531
- TexturePtr getTerrainNormalMap() const { return mTerrainNormalMap; }
1532
-
1533
- /** Retrieve the terrain's neighbour, or null if not present.
1534
- @remarks
1535
- Terrains only know about their neighbours if they are notified via
1536
- setNeighbour. This information is not saved with the terrain since every
1537
- tile must be able to be independent.
1538
- @param index The index of the neighbour
1539
- */
1540
- Terrain* getNeighbour(NeighbourIndex index);
1541
-
1542
- /** Set a terrain's neighbour, or null to detach one.
1543
- @remarks
1544
- This information is not saved with the terrain since every
1545
- tile must be able to be independent. However if modifications are
1546
- made to a tile which can affect its neighbours, while connected the
1547
- changes will be propagated.
1548
- @param index The index of the neighbour
1549
- @param neighbour The terrain instance to become the neighbour, or null to reset.
1550
- @param recalculate If true, this terrain instance will recalculate elements
1551
- that could be affected by the connection of this tile (e.g. matching
1552
- heights, calcaulting normals, calculating shadows crossing the boundary).
1553
- If false, this terrain's state is assumed to be up to date already
1554
- (e.g. was calculated with this tile present before and the state saved).
1555
- @param notifyOther Whether the neighbour should also be notified (recommended
1556
- to leave this at the default so relationships are up to date before
1557
- background updates are triggered)
1558
- */
1559
- void setNeighbour(NeighbourIndex index, Terrain* neighbour, bool recalculate = false, bool notifyOther = true);
1560
-
1561
- /** Get the opposite neighbour relationship (useful for finding the
1562
- neighbour index from the perspective of the tile the other side of the
1563
- boundary).
1564
- */
1565
- static NeighbourIndex getOppositeNeighbour(NeighbourIndex index);
1566
-
1567
- /** Get the neighbour enum for a given offset in a grid (signed).
1568
- */
1569
- static NeighbourIndex getNeighbourIndex(long offsetx, long offsety);
1570
-
1571
- /** Tell this instance to notify all neighbours that will be affected
1572
- by a height change that has taken place.
1573
- @remarks
1574
- This method will determine which neighbours need notification and call
1575
- their neighbourModified method. It is called automatically by
1576
- updateGeometry().
1577
- */
1578
- void notifyNeighbours();
1579
-
1580
- /** Notify that a neighbour has just finished updating and that this
1581
- change affects this tile.
1582
- @param index The neighbour index (from this tile's perspective)
1583
- @param edgerect The area at the edge of this tile that needs height / normal
1584
- recalculation (may be null)
1585
- @param shadowrect The area on this tile where shadows need recalculating (may be null)
1586
- */
1587
- void neighbourModified(NeighbourIndex index, const Rect& edgerect, const Rect& shadowrect);
1588
-
1589
- /** Utility method to pick a neighbour based on a ray.
1590
- @param ray The ray in world space
1591
- @param distanceLimit Limit beyond which we want to ignore neighbours (0 for infinite)
1592
- @return The first neighbour along this ray, or null
1593
- */
1594
- Terrain* raySelectNeighbour(const Ray& ray, Real distanceLimit = 0);
1595
-
1596
- /** Dump textures to files.
1597
- @remarks
1598
- This is a debugging method.
1599
- */
1600
- void _dumpTextures(const String& prefix, const String& suffix);
1601
-
1602
- /** Query whether a derived data update is in progress or not. */
1603
- bool isDerivedDataUpdateInProgress() const { return mDerivedDataUpdateInProgress; }
1604
-
1605
-
1606
- /// Utility method to convert axes from world space to terrain space (xy terrain, z up)
1607
- static void convertWorldToTerrainAxes(Alignment align, const Vector3& worldVec, Vector3* terrainVec);
1608
- /// Utility method to convert axes from terrain space (xy terrain, z up) tp world space
1609
- static void convertTerrainToWorldAxes(Alignment align, const Vector3& terrainVec, Vector3* worldVec);
1610
-
1611
- /// Utility method to write a layer declaration to a stream
1612
- static void writeLayerDeclaration(const TerrainLayerDeclaration& decl, StreamSerialiser& ser);
1613
- /// Utility method to read a layer declaration from a stream
1614
- static bool readLayerDeclaration(StreamSerialiser& ser, TerrainLayerDeclaration& targetdecl);
1615
- /// Utility method to write a layer instance list to a stream
1616
- static void writeLayerInstanceList(const Terrain::LayerInstanceList& lst, StreamSerialiser& ser);
1617
- /// Utility method to read a layer instance list from a stream
1618
- static bool readLayerInstanceList(StreamSerialiser& ser, size_t numSamplers, Terrain::LayerInstanceList& targetlst);
1619
- protected:
1620
-
1621
- void freeCPUResources();
1622
- void freeGPUResources();
1623
- void determineLodLevels();
1624
- void distributeVertexData();
1625
- void updateBaseScale();
1626
- void createGPUBlendTextures();
1627
- void createLayerBlendMaps();
1628
- void createOrDestroyGPUNormalMap();
1629
- void createOrDestroyGPUColourMap();
1630
- void createOrDestroyGPULightmap();
1631
- void createOrDestroyGPUCompositeMap();
1632
- void waitForDerivedProcesses();
1633
- void convertSpace(Space inSpace, const Vector3& inVec, Space outSpace, Vector3& outVec, bool translation) const;
1634
- Vector3 convertWorldToTerrainAxes(const Vector3& inVec) const;
1635
- Vector3 convertTerrainToWorldAxes(const Vector3& inVec) const;
1636
- /** Get a Vector3 of the world-space point on the terrain, aligned Y-up always.
1637
- @note This point is relative to Terrain::getPosition
1638
- */
1639
- void getPointAlign(long x, long y, Alignment align, Vector3* outpos);
1640
- /** Get a Vector3 of the world-space point on the terrain, supplying the
1641
- height data manually (can be more optimal).
1642
- @note This point is relative to Terrain::getPosition
1643
- */
1644
- void getPointAlign(long x, long y, float height, Alignment align, Vector3* outpos);
1645
- void calculateCurrentLod(Viewport* vp);
1646
- /// Test a single quad of the terrain for ray intersection.
1647
- std::pair<bool, Vector3> checkQuadIntersection(int x, int y, const Ray& ray); //const;
1648
-
1649
- /// Delete blend maps for all layers >= lowIndex
1650
- void deleteBlendMaps(uint8 lowIndex);
1651
- /// Shift/slide all GPU blend texture channels > index up one slot. Blend data may shift into the next texture
1652
- void shiftUpGPUBlendChannels(uint8 index);
1653
- /// Shift/slide all GPU blend texture channels > index down one slot. Blend data may shift into the previous texture
1654
- void shiftDownGPUBlendChannels(uint8 index);
1655
- /// Copy a GPU blend channel from one source to another. Source and Dest are not required to be in the same texture
1656
- void copyBlendTextureChannel(uint8 srcIndex, uint8 srcChannel, uint8 destIndex, uint8 destChannel );
1657
- /// Reset a blend channel back to full black
1658
- void clearGPUBlendChannel(uint8 index, uint channel);
1659
-
1660
- void copyGlobalOptions();
1661
- void checkLayers(bool includeGPUResources);
1662
- void checkDeclaration();
1663
- void deriveUVMultipliers();
1664
- PixelFormat getBlendTextureFormat(uint8 textureIndex, uint8 numLayers);
1665
-
1666
- void updateDerivedDataImpl(const Rect& rect, const Rect& lightmapExtraRect, bool synchronous, uint8 typeMask);
1667
-
1668
- void getEdgeRect(NeighbourIndex index, long range, Rect* outRect);
1669
- // get the equivalent of the passed in edge rectangle in neighbour
1670
- void getNeighbourEdgeRect(NeighbourIndex index, const Rect& inRect, Rect* outRect);
1671
- // get the equivalent of the passed in edge point in neighbour
1672
- void getNeighbourPoint(NeighbourIndex index, long x, long y, long *outx, long *outy);
1673
- // overflow a point into a neighbour index and point
1674
- void getNeighbourPointOverflow(long x, long y, NeighbourIndex *outindex, long *outx, long *outy);
1675
-
1676
-
1677
-
1678
- uint16 mWorkQueueChannel;
1679
- SceneManager* mSceneMgr;
1680
- SceneNode* mRootNode;
1681
- String mResourceGroup;
1682
- bool mIsLoaded;
1683
- bool mModified;
1684
- bool mHeightDataModified;
1685
-
1686
- /// The height data (world coords relative to mPos)
1687
- float* mHeightData;
1688
- /// The delta information defining how a vertex moves before it is removed at a lower LOD
1689
- float* mDeltaData;
1690
- Alignment mAlign;
1691
- Real mWorldSize;
1692
- uint16 mSize;
1693
- uint16 mMaxBatchSize;
1694
- uint16 mMinBatchSize;
1695
- Vector3 mPos;
1696
- TerrainQuadTreeNode* mQuadTree;
1697
- uint16 mNumLodLevels;
1698
- uint16 mNumLodLevelsPerLeafNode;
1699
- uint16 mTreeDepth;
1700
- /// Base position in world space, relative to mPos
1701
- Real mBase;
1702
- /// Relationship between one point on the terrain and world size
1703
- Real mScale;
1704
- TerrainLayerDeclaration mLayerDecl;
1705
- LayerInstanceList mLayers;
1706
- RealVector mLayerUVMultiplier;
1707
-
1708
- Real mSkirtSize;
1709
- uint8 mRenderQueueGroup;
1710
- uint32 mVisibilityFlags;
1711
- uint32 mQueryFlags;
1712
-
1713
- Rect mDirtyGeometryRect;
1714
- Rect mDirtyDerivedDataRect;
1715
- Rect mDirtyGeometryRectForNeighbours;
1716
- Rect mDirtyLightmapFromNeighboursRect;
1717
- bool mDerivedDataUpdateInProgress;
1718
- uint8 mDerivedUpdatePendingMask; // if another update is requested while one is already running
1719
-
1720
- /// A data holder for communicating with the background derived data update
1721
- struct DerivedDataRequest
1722
- {
1723
- Terrain* terrain;
1724
- // types requested
1725
- uint8 typeMask;
1726
- Rect dirtyRect;
1727
- Rect lightmapExtraDirtyRect;
1728
- _OgreTerrainExport friend std::ostream& operator<<(std::ostream& o, const DerivedDataRequest& r)
1729
- { return o; }
1730
- };
1731
-
1732
- /// A data holder for communicating with the background derived data update
1733
- struct DerivedDataResponse
1734
- {
1735
- Terrain* terrain;
1736
- // remaining types not yet processed
1737
- uint8 remainingTypeMask;
1738
- // The area of deltas that was updated
1739
- Rect deltaUpdateRect;
1740
- // the area of normals that was updated
1741
- Rect normalUpdateRect;
1742
- // the area of lightmap that was updated
1743
- Rect lightmapUpdateRect;
1744
- // all CPU-side data, independent of textures; to be blitted in main thread
1745
- PixelBox* normalMapBox;
1746
- PixelBox* lightMapBox;
1747
- _OgreTerrainExport friend std::ostream& operator<<(std::ostream& o, const DerivedDataResponse& r)
1748
- { return o; }
1749
- };
1750
-
1751
- String mMaterialName;
1752
- mutable MaterialPtr mMaterial;
1753
- mutable TerrainMaterialGeneratorPtr mMaterialGenerator;
1754
- mutable unsigned long long int mMaterialGenerationCount;
1755
- mutable bool mMaterialDirty;
1756
- mutable bool mMaterialParamsDirty;
1757
-
1758
- uint16 mLayerBlendMapSize;
1759
- uint16 mLayerBlendMapSizeActual;
1760
- typedef vector<uint8*>::type BytePointerList;
1761
- /// Staging post for blend map data
1762
- BytePointerList mCpuBlendMapStorage;
1763
- typedef vector<TexturePtr>::type TexturePtrList;
1764
- TexturePtrList mBlendTextureList;
1765
- TerrainLayerBlendMapList mLayerBlendMapList;
1766
-
1767
- uint16 mGlobalColourMapSize;
1768
- bool mGlobalColourMapEnabled;
1769
- TexturePtr mColourMap;
1770
- uint8* mCpuColourMapStorage;
1771
-
1772
- uint16 mLightmapSize;
1773
- uint16 mLightmapSizeActual;
1774
- TexturePtr mLightmap;
1775
- uint8* mCpuLightmapStorage;
1776
-
1777
- uint16 mCompositeMapSize;
1778
- uint16 mCompositeMapSizeActual;
1779
- TexturePtr mCompositeMap;
1780
- uint8* mCpuCompositeMapStorage;
1781
- Rect mCompositeMapDirtyRect;
1782
- unsigned long mCompositeMapUpdateCountdown;
1783
- unsigned long mLastMillis;
1784
- /// true if the updates included lightmap changes (widen)
1785
- bool mCompositeMapDirtyRectLightmapUpdate;
1786
- mutable MaterialPtr mCompositeMapMaterial;
1787
-
1788
-
1789
- static NameGenerator msBlendTextureGenerator;
1790
- static NameGenerator msNormalMapNameGenerator;
1791
- static NameGenerator msLightmapNameGenerator;
1792
- static NameGenerator msCompositeMapNameGenerator;
1793
-
1794
- bool mLodMorphRequired;
1795
- bool mNormalMapRequired;
1796
- bool mLightMapRequired;
1797
- bool mLightMapShadowsOnly;
1798
- bool mCompositeMapRequired;
1799
- /// Texture storing normals for the whole terrrain
1800
- TexturePtr mTerrainNormalMap;
1801
-
1802
- /// Pending data
1803
- PixelBox* mCpuTerrainNormalMap;
1804
-
1805
- const Camera* mLastLODCamera;
1806
- unsigned long mLastLODFrame;
1807
- int mLastViewportHeight;
1808
-
1809
- Terrain* mNeighbours[NEIGHBOUR_COUNT];
1810
-
1811
- GpuBufferAllocator* mCustomGpuBufferAllocator;
1812
- DefaultGpuBufferAllocator mDefaultGpuBufferAllocator;
1813
-
1814
- size_t getPositionBufVertexSize() const;
1815
- size_t getDeltaBufVertexSize() const;
1816
-
1817
- };
1818
-
1819
-
1820
- /** Options class which just stores default options for the terrain.
1821
- @remarks
1822
- None of these options are stored with the terrain when saved. They are
1823
- options that you can use to modify the behaviour of the terrain when it
1824
- is loaded or created.
1825
- @note
1826
- You should construct a single instance of this class per application and
1827
- do so before you start working with any other terrain classes.
1828
- */
1829
- class _OgreTerrainExport TerrainGlobalOptions : public TerrainAlloc, public Singleton<TerrainGlobalOptions>
1830
- {
1831
- protected:
1832
-
1833
- Real mSkirtSize;
1834
- Vector3 mLightMapDir;
1835
- bool mCastsShadows;
1836
- Real mMaxPixelError;
1837
- uint8 mRenderQueueGroup;
1838
- uint32 mVisibilityFlags;
1839
- uint32 mQueryFlags;
1840
- bool mUseRayBoxDistanceCalculation;
1841
- TerrainMaterialGeneratorPtr mDefaultMaterialGenerator;
1842
- uint16 mLayerBlendMapSize;
1843
- Real mDefaultLayerTextureWorldSize;
1844
- uint16 mDefaultGlobalColourMapSize;
1845
- uint16 mLightmapSize;
1846
- uint16 mCompositeMapSize;
1847
- ColourValue mCompositeMapAmbient;
1848
- ColourValue mCompositeMapDiffuse;
1849
- Real mCompositeMapDistance;
1850
- String mResourceGroup;
1851
- bool mUseVertexCompressionWhenAvailable;
1852
-
1853
- public:
1854
- TerrainGlobalOptions();
1855
- virtual ~TerrainGlobalOptions() {}
1856
-
1857
-
1858
- /** The default size of 'skirts' used to hide terrain cracks
1859
- (default 10)
1860
- */
1861
- Real getSkirtSize() { return mSkirtSize; }
1862
- /** method - the default size of 'skirts' used to hide terrain cracks
1863
- (default 10)
1864
- @remarks
1865
- Changing this value only applies to Terrain instances loaded / reloaded afterwards.
1866
- */
1867
- void setSkirtSize(Real skirtSz) { mSkirtSize = skirtSz; }
1868
- /// Get the shadow map light direction to use (world space)
1869
- const Vector3& getLightMapDirection() { return mLightMapDir; }
1870
- /** Set the shadow map light direction to use (world space). */
1871
- void setLightMapDirection(const Vector3& v) { mLightMapDir = v; }
1872
- /// Get the composite map ambient light to use
1873
- const ColourValue& getCompositeMapAmbient() { return mCompositeMapAmbient; }
1874
- /// Set the composite map ambient light to use
1875
- void setCompositeMapAmbient(const ColourValue& c) { mCompositeMapAmbient = c; }
1876
- /// Get the composite map iffuse light to use
1877
- const ColourValue& getCompositeMapDiffuse() { return mCompositeMapDiffuse; }
1878
- /// Set the composite map diffuse light to use
1879
- void setCompositeMapDiffuse(const ColourValue& c) { mCompositeMapDiffuse = c; }
1880
- /// Get the distance at which to start using a composite map if present
1881
- Real getCompositeMapDistance() { return mCompositeMapDistance; }
1882
- /// Set the distance at which to start using a composite map if present
1883
- void setCompositeMapDistance(Real c) { mCompositeMapDistance = c; }
1884
-
1885
-
1886
- /** Whether the terrain will be able to cast shadows (texture shadows
1887
- only are supported, and you must be using depth shadow maps).
1888
- */
1889
- bool getCastsDynamicShadows() { return mCastsShadows; }
1890
-
1891
- /** Whether the terrain will be able to cast shadows (texture shadows
1892
- only are supported, and you must be using depth shadow maps).
1893
- This value can be set dynamically, and affects all existing terrains.
1894
- It defaults to false.
1895
- */
1896
- void setCastsDynamicShadows(bool s) { mCastsShadows = s; }
1897
-
1898
- /** Get the maximum screen pixel error that should be allowed when rendering. */
1899
- Real getMaxPixelError() { return mMaxPixelError; }
1900
-
1901
- /** Set the maximum screen pixel error that should be allowed when rendering.
1902
- @note
1903
- This value can be varied dynamically and affects all existing terrains.
1904
- It will be weighted by the LOD bias on viewports.
1905
- */
1906
- void setMaxPixelError(Real pixerr) { mMaxPixelError = pixerr; }
1907
-
1908
- /// Get the render queue group that this terrain will be rendered into
1909
- uint8 getRenderQueueGroup(void) { return mRenderQueueGroup; }
1910
- /** Set the render queue group that terrains will be rendered into.
1911
- @remarks This applies to newly created terrains, after which they will
1912
- maintain their own queue group settings
1913
- */
1914
- void setRenderQueueGroup(uint8 grp) { mRenderQueueGroup = grp; }
1915
-
1916
- /// Get the visbility flags that terrains will be rendered with
1917
- uint32 getVisibilityFlags(void) { return mVisibilityFlags; }
1918
- /** Set the visbility flags that terrains will be rendered with
1919
- @remarks This applies to newly created terrains, after which they will
1920
- maintain their own settings
1921
- */
1922
- void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }
1923
-
1924
- /** Set the default query flags for terrains.
1925
- @remarks This applies to newly created terrains, after which they will
1926
- maintain their own settings
1927
- */
1928
- void setQueryFlags(uint32 flags) { mQueryFlags = flags; }
1929
- /** Get the default query flags for terrains.
1930
- */
1931
- uint32 getQueryFlags(void) { return mQueryFlags; }
1932
-
1933
- /** As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. */
1934
- void addQueryFlags(uint32 flags) { mQueryFlags |= flags; }
1935
-
1936
- /* As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. */
1937
- void removeQueryFlags(uint32 flags) { mQueryFlags &= ~flags; }
1938
-
1939
- /** Returns whether or not to use an accurate calculation of camera distance
1940
- from a terrain tile (ray / AABB intersection) or whether to use the
1941
- simpler distance from the tile centre.
1942
- */
1943
- bool getUseRayBoxDistanceCalculation() { return mUseRayBoxDistanceCalculation; }
1944
-
1945
- /** Sets whether to use an accurate ray / box intersection to determine
1946
- distance from a terrain tile, or whether to use the simple distance
1947
- from the tile centre.
1948
- Using ray/box intersection will result in higher detail terrain because
1949
- the LOD calculation is more conservative, assuming the 'worst case scenario'
1950
- of a large height difference at the edge of a tile. This is guaranteed to give you at least
1951
- the max pixel error or better, but will often give you more detail than
1952
- you need. Not using the ray/box method is cheaper but will only use
1953
- the max pixel error as a guide, the actual error will vary above and
1954
- below that. The default is not to use the ray/box approach.
1955
- */
1956
- void setUseRayBoxDistanceCalculation(bool rb) { mUseRayBoxDistanceCalculation = rb; }
1957
-
1958
- /** Get the default material generator.
1959
- */
1960
- TerrainMaterialGeneratorPtr getDefaultMaterialGenerator();
1961
-
1962
- /** Set the default material generator.
1963
- */
1964
- void setDefaultMaterialGenerator(TerrainMaterialGeneratorPtr gen);
1965
-
1966
- /** Get the default size of the blend maps for a new terrain.
1967
- */
1968
- uint16 getLayerBlendMapSize() { return mLayerBlendMapSize; }
1969
-
1970
- /** Sets the default size of blend maps for a new terrain.
1971
- This is the resolution of each blending layer for a new terrain.
1972
- Once created, this information will be stored with the terrain.
1973
- */
1974
- void setLayerBlendMapSize(uint16 sz) { mLayerBlendMapSize = sz;}
1975
-
1976
- /** Get the default world size for a layer 'splat' texture to cover.
1977
- */
1978
- Real getDefaultLayerTextureWorldSize() { return mDefaultLayerTextureWorldSize; }
1979
-
1980
- /** Set the default world size for a layer 'splat' texture to cover.
1981
- */
1982
- void setDefaultLayerTextureWorldSize(Real sz) { mDefaultLayerTextureWorldSize = sz; }
1983
-
1984
- /** Get the default size of the terrain global colour map for a new terrain.
1985
- */
1986
- uint16 getDefaultGlobalColourMapSize() { return mDefaultGlobalColourMapSize; }
1987
-
1988
- /** Set the default size of the terrain global colour map for a new terrain.
1989
- Once created, this information will be stored with the terrain.
1990
- */
1991
- void setDefaultGlobalColourMapSize(uint16 sz) { mDefaultGlobalColourMapSize = sz;}
1992
-
1993
-
1994
- /** Get the default size of the lightmaps for a new terrain.
1995
- */
1996
- uint16 getLightMapSize() { return mLightmapSize; }
1997
-
1998
- /** Sets the default size of lightmaps for a new terrain.
1999
- */
2000
- void setLightMapSize(uint16 sz) { mLightmapSize = sz;}
2001
-
2002
- /** Get the default size of the composite maps for a new terrain.
2003
- */
2004
- uint16 getCompositeMapSize() { return mCompositeMapSize; }
2005
-
2006
- /** Sets the default size of composite maps for a new terrain.
2007
- */
2008
- void setCompositeMapSize(uint16 sz) { mCompositeMapSize = sz;}
2009
-
2010
- /** Set the default resource group to use to load / save terrains.
2011
- */
2012
- void setDefaultResourceGroup(const String& grp) { mResourceGroup = grp; }
2013
-
2014
- /** Get the default resource group to use to load / save terrains.
2015
- */
2016
- const String& getDefaultResourceGroup() { return mResourceGroup; }
2017
-
2018
- /** Get whether to allow vertex compression to be used when the material
2019
- generator states that it supports it.
2020
- */
2021
- bool getUseVertexCompressionWhenAvailable() const { return mUseVertexCompressionWhenAvailable; }
2022
-
2023
- /** Set whether to allow vertex compression to be used when the material
2024
- generator states that it supports it.
2025
- @note You should only call this before creating any terrain instances.
2026
- The default is true, so if a material generator supports compressed vertices,
2027
- and so does the hardware (this basically means shader support), they will be used).
2028
- However you can disable this in an emergency if required.
2029
- */
2030
- void setUseVertexCompressionWhenAvailable(bool enable) { mUseVertexCompressionWhenAvailable = enable; }
2031
-
2032
- /** Override standard Singleton retrieval.
2033
- @remarks
2034
- Why do we do this? Well, it's because the Singleton
2035
- implementation is in a .h file, which means it gets compiled
2036
- into anybody who includes it. This is needed for the
2037
- Singleton template to work, but we actually only want it
2038
- compiled into the implementation of the class based on the
2039
- Singleton, not all of them. If we don't change this, we get
2040
- link errors when trying to use the Singleton-based class from
2041
- an outside dll.
2042
- @par
2043
- This method just delegates to the template version anyway,
2044
- but the implementation stays in this single compilation unit,
2045
- preventing link errors.
2046
- */
2047
- static TerrainGlobalOptions& getSingleton(void);
2048
- /** Override standard Singleton retrieval.
2049
- @remarks
2050
- Why do we do this? Well, it's because the Singleton
2051
- implementation is in a .h file, which means it gets compiled
2052
- into anybody who includes it. This is needed for the
2053
- Singleton template to work, but we actually only want it
2054
- compiled into the implementation of the class based on the
2055
- Singleton, not all of them. If we don't change this, we get
2056
- link errors when trying to use the Singleton-based class from
2057
- an outside dll.
2058
- @par
2059
- This method just delegates to the template version anyway,
2060
- but the implementation stays in this single compilation unit,
2061
- preventing link errors.
2062
- */
2063
- static TerrainGlobalOptions* getSingletonPtr(void);
2064
-
2065
-
2066
- };
2067
-
2068
-
2069
- /** @} */
2070
- /** @} */
2071
- }
2072
-
2073
-
2074
-
2075
-
2076
- #endif