ruby-ogre 0.0.1-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 (1607) hide show
  1. data/INSTALL.md +24 -0
  2. data/LICENSE +23 -0
  3. data/README.md +39 -0
  4. data/Rakefile +271 -0
  5. data/bindings/ogre/interface/AnyVALUE.h +21 -0
  6. data/bindings/ogre/interface/GLX/OgreConfigDialogImp.i +8 -0
  7. data/bindings/ogre/interface/GLX/OgreErrorDialogImp.i +8 -0
  8. data/bindings/ogre/interface/GLX/OgreTimerImp.i +8 -0
  9. data/bindings/ogre/interface/Makefile +19 -0
  10. data/bindings/ogre/interface/Ogre.i +8 -0
  11. data/bindings/ogre/interface/OgreAlignedAllocator.i +10 -0
  12. data/bindings/ogre/interface/OgreAnimable.i +6 -0
  13. data/bindings/ogre/interface/OgreAnimation.i +8 -0
  14. data/bindings/ogre/interface/OgreAnimationBlender.i +8 -0
  15. data/bindings/ogre/interface/OgreAnimationState.i +31 -0
  16. data/bindings/ogre/interface/OgreAnimationTrack.i +6 -0
  17. data/bindings/ogre/interface/OgreAny.i +381 -0
  18. data/bindings/ogre/interface/OgreArchive.i +6 -0
  19. data/bindings/ogre/interface/OgreArchiveFactory.i +10 -0
  20. data/bindings/ogre/interface/OgreArchiveManager.i +8 -0
  21. data/bindings/ogre/interface/OgreAtomicWrappers.i +8 -0
  22. data/bindings/ogre/interface/OgreAutoParamDataSource.i +8 -0
  23. data/bindings/ogre/interface/OgreAxisAlignedBox.i +6 -0
  24. data/bindings/ogre/interface/OgreBillboard.i +8 -0
  25. data/bindings/ogre/interface/OgreBillboardChain.i +8 -0
  26. data/bindings/ogre/interface/OgreBillboardParticleRenderer.i +8 -0
  27. data/bindings/ogre/interface/OgreBillboardSet.i +8 -0
  28. data/bindings/ogre/interface/OgreBitwise.i +10 -0
  29. data/bindings/ogre/interface/OgreBlendMode.i +6 -0
  30. data/bindings/ogre/interface/OgreBone.i +8 -0
  31. data/bindings/ogre/interface/OgreBorderPanelOverlayElement.i +14 -0
  32. data/bindings/ogre/interface/OgreBuildSettings.i +8 -0
  33. data/bindings/ogre/interface/OgreCamera.i +6 -0
  34. data/bindings/ogre/interface/OgreCodec.i +8 -0
  35. data/bindings/ogre/interface/OgreColourValue.i +6 -0
  36. data/bindings/ogre/interface/OgreCommon.i +12 -0
  37. data/bindings/ogre/interface/OgreCompositionPass.i +8 -0
  38. data/bindings/ogre/interface/OgreCompositionTargetPass.i +8 -0
  39. data/bindings/ogre/interface/OgreCompositionTechnique.i +13 -0
  40. data/bindings/ogre/interface/OgreCompositor.i +8 -0
  41. data/bindings/ogre/interface/OgreCompositorChain.i +8 -0
  42. data/bindings/ogre/interface/OgreCompositorInstance.i +8 -0
  43. data/bindings/ogre/interface/OgreCompositorLogic.i +8 -0
  44. data/bindings/ogre/interface/OgreCompositorManager.i +8 -0
  45. data/bindings/ogre/interface/OgreConfig.i +8 -0
  46. data/bindings/ogre/interface/OgreConfigDialog.i +8 -0
  47. data/bindings/ogre/interface/OgreConfigFile.i +88 -0
  48. data/bindings/ogre/interface/OgreConfigOptionMap.i +6 -0
  49. data/bindings/ogre/interface/OgreController.i +8 -0
  50. data/bindings/ogre/interface/OgreControllerManager.i +8 -0
  51. data/bindings/ogre/interface/OgreConvexBody.i +8 -0
  52. data/bindings/ogre/interface/OgreCustomCompositionPass.i +8 -0
  53. data/bindings/ogre/interface/OgreDDSCodec.i +8 -0
  54. data/bindings/ogre/interface/OgreDataStream.i +6 -0
  55. data/bindings/ogre/interface/OgreDefaultHardwareBufferManager.i +8 -0
  56. data/bindings/ogre/interface/OgreDeflate.i +8 -0
  57. data/bindings/ogre/interface/OgreDepthBuffer.i +8 -0
  58. data/bindings/ogre/interface/OgreDistanceLodStrategy.i +8 -0
  59. data/bindings/ogre/interface/OgreDualQuaternion.i +8 -0
  60. data/bindings/ogre/interface/OgreDynLib.i +8 -0
  61. data/bindings/ogre/interface/OgreDynLibManager.i +8 -0
  62. data/bindings/ogre/interface/OgreEdgeListBuilder.i +8 -0
  63. data/bindings/ogre/interface/OgreEntity.i +6 -0
  64. data/bindings/ogre/interface/OgreErrorDialog.i +8 -0
  65. data/bindings/ogre/interface/OgreException.i +8 -0
  66. data/bindings/ogre/interface/OgreExternalTextureSource.i +8 -0
  67. data/bindings/ogre/interface/OgreExternalTextureSourceManager.i +8 -0
  68. data/bindings/ogre/interface/OgreFactoryObj.i +8 -0
  69. data/bindings/ogre/interface/OgreFileSystem.i +8 -0
  70. data/bindings/ogre/interface/OgreFont.i +8 -0
  71. data/bindings/ogre/interface/OgreFontManager.i +8 -0
  72. data/bindings/ogre/interface/OgreFrameListener.i +9 -0
  73. data/bindings/ogre/interface/OgreFreeImageCodec.i +8 -0
  74. data/bindings/ogre/interface/OgreFrustum.i +6 -0
  75. data/bindings/ogre/interface/OgreGpuProgram.i +6 -0
  76. data/bindings/ogre/interface/OgreGpuProgramManager.i +8 -0
  77. data/bindings/ogre/interface/OgreGpuProgramParams.i +13 -0
  78. data/bindings/ogre/interface/OgreGpuProgramUsage.i +8 -0
  79. data/bindings/ogre/interface/OgreHardwareBuffer.i +6 -0
  80. data/bindings/ogre/interface/OgreHardwareBufferManager.i +8 -0
  81. data/bindings/ogre/interface/OgreHardwareIndexBuffer.i +6 -0
  82. data/bindings/ogre/interface/OgreHardwareOcclusionQuery.i +8 -0
  83. data/bindings/ogre/interface/OgreHardwarePixelBuffer.i +6 -0
  84. data/bindings/ogre/interface/OgreHardwareVertexBuffer.i +6 -0
  85. data/bindings/ogre/interface/OgreHeaderPrefix.i +8 -0
  86. data/bindings/ogre/interface/OgreHeaderSuffix.i +8 -0
  87. data/bindings/ogre/interface/OgreHighLevelGpuProgram.i +8 -0
  88. data/bindings/ogre/interface/OgreHighLevelGpuProgramManager.i +8 -0
  89. data/bindings/ogre/interface/OgreImage.i +6 -0
  90. data/bindings/ogre/interface/OgreImageCodec.i +8 -0
  91. data/bindings/ogre/interface/OgreInstanceBatch.i +8 -0
  92. data/bindings/ogre/interface/OgreInstanceBatchHW.i +8 -0
  93. data/bindings/ogre/interface/OgreInstanceBatchHW_VTF.i +8 -0
  94. data/bindings/ogre/interface/OgreInstanceBatchShader.i +8 -0
  95. data/bindings/ogre/interface/OgreInstanceBatchVTF.i +8 -0
  96. data/bindings/ogre/interface/OgreInstanceManager.i +8 -0
  97. data/bindings/ogre/interface/OgreInstancedEntity.i +8 -0
  98. data/bindings/ogre/interface/OgreInstancedGeometry.i +9 -0
  99. data/bindings/ogre/interface/OgreIteratorRange.i +8 -0
  100. data/bindings/ogre/interface/OgreIteratorWrapper.i +6 -0
  101. data/bindings/ogre/interface/OgreIteratorWrappers.i +8 -0
  102. data/bindings/ogre/interface/OgreKeyFrame.i +13 -0
  103. data/bindings/ogre/interface/OgreLight.i +6 -0
  104. data/bindings/ogre/interface/OgreLodListener.i +6 -0
  105. data/bindings/ogre/interface/OgreLodStrategy.i +8 -0
  106. data/bindings/ogre/interface/OgreLodStrategyManager.i +10 -0
  107. data/bindings/ogre/interface/OgreLog.i +11 -0
  108. data/bindings/ogre/interface/OgreLogManager.i +8 -0
  109. data/bindings/ogre/interface/OgreManualObject.i +8 -0
  110. data/bindings/ogre/interface/OgreMaterial.i +17 -0
  111. data/bindings/ogre/interface/OgreMaterialManager.i +6 -0
  112. data/bindings/ogre/interface/OgreMaterialSerializer.i +8 -0
  113. data/bindings/ogre/interface/OgreMath.i +5 -0
  114. data/bindings/ogre/interface/OgreMatrix3.i +8 -0
  115. data/bindings/ogre/interface/OgreMatrix4.i +6 -0
  116. data/bindings/ogre/interface/OgreMemoryAllocatedObject.i +8 -0
  117. data/bindings/ogre/interface/OgreMemoryAllocatorConfig.i +7 -0
  118. data/bindings/ogre/interface/OgreMemoryNedAlloc.i +8 -0
  119. data/bindings/ogre/interface/OgreMemoryNedPooling.i +6 -0
  120. data/bindings/ogre/interface/OgreMemorySTLAllocator.i +5 -0
  121. data/bindings/ogre/interface/OgreMemoryStdAlloc.i +8 -0
  122. data/bindings/ogre/interface/OgreMemoryTracker.i +8 -0
  123. data/bindings/ogre/interface/OgreMesh.i +11 -0
  124. data/bindings/ogre/interface/OgreMeshFileFormat.i +8 -0
  125. data/bindings/ogre/interface/OgreMeshManager.i +6 -0
  126. data/bindings/ogre/interface/OgreMeshSerializer.i +8 -0
  127. data/bindings/ogre/interface/OgreMeshSerializerImpl.i +8 -0
  128. data/bindings/ogre/interface/OgreMovableObject.i +12 -0
  129. data/bindings/ogre/interface/OgreMovablePlane.i +8 -0
  130. data/bindings/ogre/interface/OgreNode.i +8 -0
  131. data/bindings/ogre/interface/OgreNumerics.i +8 -0
  132. data/bindings/ogre/interface/OgreOptimisedUtil.i +8 -0
  133. data/bindings/ogre/interface/OgreOverlay.i +6 -0
  134. data/bindings/ogre/interface/OgreOverlayContainer.i +37 -0
  135. data/bindings/ogre/interface/OgreOverlayElement.i +6 -0
  136. data/bindings/ogre/interface/OgreOverlayElementCommands.i +8 -0
  137. data/bindings/ogre/interface/OgreOverlayElementFactory.i +8 -0
  138. data/bindings/ogre/interface/OgreOverlayManager.i +20 -0
  139. data/bindings/ogre/interface/OgrePanelOverlayElement.i +14 -0
  140. data/bindings/ogre/interface/OgreParticle.i +8 -0
  141. data/bindings/ogre/interface/OgreParticleAffector.i +8 -0
  142. data/bindings/ogre/interface/OgreParticleAffectorFactory.i +8 -0
  143. data/bindings/ogre/interface/OgreParticleEmitter.i +8 -0
  144. data/bindings/ogre/interface/OgreParticleEmitterCommands.i +8 -0
  145. data/bindings/ogre/interface/OgreParticleEmitterFactory.i +8 -0
  146. data/bindings/ogre/interface/OgreParticleIterator.i +8 -0
  147. data/bindings/ogre/interface/OgreParticleScriptCompiler.i +8 -0
  148. data/bindings/ogre/interface/OgreParticleSystem.i +8 -0
  149. data/bindings/ogre/interface/OgreParticleSystemManager.i +8 -0
  150. data/bindings/ogre/interface/OgreParticleSystemRenderer.i +10 -0
  151. data/bindings/ogre/interface/OgrePass.i +6 -0
  152. data/bindings/ogre/interface/OgrePatchMesh.i +6 -0
  153. data/bindings/ogre/interface/OgrePatchSurface.i +6 -0
  154. data/bindings/ogre/interface/OgrePixelCountLodStrategy.i +8 -0
  155. data/bindings/ogre/interface/OgrePixelFormat.i +6 -0
  156. data/bindings/ogre/interface/OgrePlane.i +6 -0
  157. data/bindings/ogre/interface/OgrePlaneBoundedVolume.i +6 -0
  158. data/bindings/ogre/interface/OgrePlatform.i +6 -0
  159. data/bindings/ogre/interface/OgrePlatformInformation.i +8 -0
  160. data/bindings/ogre/interface/OgrePlugin.i +8 -0
  161. data/bindings/ogre/interface/OgrePolygon.i +8 -0
  162. data/bindings/ogre/interface/OgrePose.i +6 -0
  163. data/bindings/ogre/interface/OgrePredefinedControllers.i +8 -0
  164. data/bindings/ogre/interface/OgrePrefabFactory.i +8 -0
  165. data/bindings/ogre/interface/OgrePrerequisites.i +11 -0
  166. data/bindings/ogre/interface/OgreProfiler.i +8 -0
  167. data/bindings/ogre/interface/OgreProgressiveMesh.i +8 -0
  168. data/bindings/ogre/interface/OgreQuaternion.i +6 -0
  169. data/bindings/ogre/interface/OgreRadixSort.i +8 -0
  170. data/bindings/ogre/interface/OgreRay.i +8 -0
  171. data/bindings/ogre/interface/OgreRectangle.i +6 -0
  172. data/bindings/ogre/interface/OgreRectangle2D.i +6 -0
  173. data/bindings/ogre/interface/OgreRenderObjectListener.i +8 -0
  174. data/bindings/ogre/interface/OgreRenderOperation.i +8 -0
  175. data/bindings/ogre/interface/OgreRenderQueue.i +6 -0
  176. data/bindings/ogre/interface/OgreRenderQueueInvocation.i +8 -0
  177. data/bindings/ogre/interface/OgreRenderQueueListener.i +8 -0
  178. data/bindings/ogre/interface/OgreRenderQueueSortingGrouping.i +11 -0
  179. data/bindings/ogre/interface/OgreRenderSystem.i +23 -0
  180. data/bindings/ogre/interface/OgreRenderSystemCapabilities.i +6 -0
  181. data/bindings/ogre/interface/OgreRenderSystemCapabilitiesManager.i +8 -0
  182. data/bindings/ogre/interface/OgreRenderSystemCapabilitiesSerializer.i +8 -0
  183. data/bindings/ogre/interface/OgreRenderTarget.i +6 -0
  184. data/bindings/ogre/interface/OgreRenderTargetListener.i +8 -0
  185. data/bindings/ogre/interface/OgreRenderTexture.i +8 -0
  186. data/bindings/ogre/interface/OgreRenderToVertexBuffer.i +8 -0
  187. data/bindings/ogre/interface/OgreRenderWindow.i +6 -0
  188. data/bindings/ogre/interface/OgreRenderable.i +6 -0
  189. data/bindings/ogre/interface/OgreResource.i +9 -0
  190. data/bindings/ogre/interface/OgreResourceBackgroundQueue.i +8 -0
  191. data/bindings/ogre/interface/OgreResourceGroupManager.i +20 -0
  192. data/bindings/ogre/interface/OgreResourceManager.i +30 -0
  193. data/bindings/ogre/interface/OgreRibbonTrail.i +17 -0
  194. data/bindings/ogre/interface/OgreRoot.i +44 -0
  195. data/bindings/ogre/interface/OgreRotationalSpline.i +8 -0
  196. data/bindings/ogre/interface/OgreSceneManager.i +59 -0
  197. data/bindings/ogre/interface/OgreSceneManagerEnumerator.i +11 -0
  198. data/bindings/ogre/interface/OgreSceneNode.i +9 -0
  199. data/bindings/ogre/interface/OgreSceneQuery.i +6 -0
  200. data/bindings/ogre/interface/OgreScriptCompiler.i +11 -0
  201. data/bindings/ogre/interface/OgreScriptLexer.i +8 -0
  202. data/bindings/ogre/interface/OgreScriptLoader.i +8 -0
  203. data/bindings/ogre/interface/OgreScriptParser.i +8 -0
  204. data/bindings/ogre/interface/OgreScriptTranslator.i +8 -0
  205. data/bindings/ogre/interface/OgreSearchOps.i +8 -0
  206. data/bindings/ogre/interface/OgreSerializer.i +6 -0
  207. data/bindings/ogre/interface/OgreShadowCameraSetup.i +6 -0
  208. data/bindings/ogre/interface/OgreShadowCameraSetupFocused.i +8 -0
  209. data/bindings/ogre/interface/OgreShadowCameraSetupLiSPSM.i +8 -0
  210. data/bindings/ogre/interface/OgreShadowCameraSetupPSSM.i +8 -0
  211. data/bindings/ogre/interface/OgreShadowCameraSetupPlaneOptimal.i +8 -0
  212. data/bindings/ogre/interface/OgreShadowCaster.i +8 -0
  213. data/bindings/ogre/interface/OgreShadowTextureManager.i +6 -0
  214. data/bindings/ogre/interface/OgreShadowVolumeExtrudeProgram.i +8 -0
  215. data/bindings/ogre/interface/OgreSharedPtr.i +6 -0
  216. data/bindings/ogre/interface/OgreSimpleRenderable.i +6 -0
  217. data/bindings/ogre/interface/OgreSimpleSpline.i +8 -0
  218. data/bindings/ogre/interface/OgreSingleton.i +8 -0
  219. data/bindings/ogre/interface/OgreSkeleton.i +6 -0
  220. data/bindings/ogre/interface/OgreSkeletonFileFormat.i +8 -0
  221. data/bindings/ogre/interface/OgreSkeletonInstance.i +6 -0
  222. data/bindings/ogre/interface/OgreSkeletonManager.i +8 -0
  223. data/bindings/ogre/interface/OgreSkeletonSerializer.i +8 -0
  224. data/bindings/ogre/interface/OgreSmallVector.i +8 -0
  225. data/bindings/ogre/interface/OgreSphere.i +8 -0
  226. data/bindings/ogre/interface/OgreSpotShadowFadePng.i +8 -0
  227. data/bindings/ogre/interface/OgreStableHeaders.i +8 -0
  228. data/bindings/ogre/interface/OgreStaticFaceGroup.i +8 -0
  229. data/bindings/ogre/interface/OgreStaticGeometry.i +13 -0
  230. data/bindings/ogre/interface/OgreStaticPluginLoader.i +8 -0
  231. data/bindings/ogre/interface/OgreStdHeaders.i +8 -0
  232. data/bindings/ogre/interface/OgreStreamSerialiser.i +8 -0
  233. data/bindings/ogre/interface/OgreString.i +6 -0
  234. data/bindings/ogre/interface/OgreStringConverter.i +8 -0
  235. data/bindings/ogre/interface/OgreStringInterface.i +8 -0
  236. data/bindings/ogre/interface/OgreStringVector.i +22 -0
  237. data/bindings/ogre/interface/OgreSubEntity.i +8 -0
  238. data/bindings/ogre/interface/OgreSubMesh.i +8 -0
  239. data/bindings/ogre/interface/OgreTagPoint.i +8 -0
  240. data/bindings/ogre/interface/OgreTangentSpaceCalc.i +8 -0
  241. data/bindings/ogre/interface/OgreTechnique.i +18 -0
  242. data/bindings/ogre/interface/OgreTextAreaOverlayElement.i +8 -0
  243. data/bindings/ogre/interface/OgreTexture.i +6 -0
  244. data/bindings/ogre/interface/OgreTextureManager.i +6 -0
  245. data/bindings/ogre/interface/OgreTextureUnitState.i +6 -0
  246. data/bindings/ogre/interface/OgreTimer.i +8 -0
  247. data/bindings/ogre/interface/OgreUTFString.i +26 -0
  248. data/bindings/ogre/interface/OgreUnifiedHighLevelGpuProgram.i +10 -0
  249. data/bindings/ogre/interface/OgreUserObjectBindings.i +8 -0
  250. data/bindings/ogre/interface/OgreVector2.i +8 -0
  251. data/bindings/ogre/interface/OgreVector3.i +9 -0
  252. data/bindings/ogre/interface/OgreVector4.i +8 -0
  253. data/bindings/ogre/interface/OgreVertexBoneAssignment.i +6 -0
  254. data/bindings/ogre/interface/OgreVertexIndexData.i +8 -0
  255. data/bindings/ogre/interface/OgreViewport.i +6 -0
  256. data/bindings/ogre/interface/OgreWindowEventUtilities.i +6 -0
  257. data/bindings/ogre/interface/OgreWireBoundingBox.i +8 -0
  258. data/bindings/ogre/interface/OgreWorkQueue.i +8 -0
  259. data/bindings/ogre/interface/OgreZip.i +12 -0
  260. data/bindings/ogre/interface/Paging/OgreGrid2DPageStrategy.i +8 -0
  261. data/bindings/ogre/interface/Paging/OgreGrid3DPageStrategy.i +8 -0
  262. data/bindings/ogre/interface/Paging/OgrePage.i +8 -0
  263. data/bindings/ogre/interface/Paging/OgrePageConnection.i +8 -0
  264. data/bindings/ogre/interface/Paging/OgrePageContent.i +8 -0
  265. data/bindings/ogre/interface/Paging/OgrePageContentCollection.i +8 -0
  266. data/bindings/ogre/interface/Paging/OgrePageContentCollectionFactory.i +8 -0
  267. data/bindings/ogre/interface/Paging/OgrePageContentFactory.i +8 -0
  268. data/bindings/ogre/interface/Paging/OgrePageFileFormats.i +8 -0
  269. data/bindings/ogre/interface/Paging/OgrePageManager.i +8 -0
  270. data/bindings/ogre/interface/Paging/OgrePageStrategy.i +8 -0
  271. data/bindings/ogre/interface/Paging/OgrePagedWorld.i +8 -0
  272. data/bindings/ogre/interface/Paging/OgrePagedWorldSection.i +8 -0
  273. data/bindings/ogre/interface/Paging/OgrePaging.i +8 -0
  274. data/bindings/ogre/interface/Paging/OgrePagingPrerequisites.i +8 -0
  275. data/bindings/ogre/interface/Paging/OgreSimplePageContentCollection.i +8 -0
  276. data/bindings/ogre/interface/RTShaderSystem/OgreRTShaderSystem.i +8 -0
  277. data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramProcessor.i +8 -0
  278. data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramWriter.i +8 -0
  279. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExDualQuaternionSkinning.i +8 -0
  280. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinning.i +10 -0
  281. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.i +8 -0
  282. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExIntegratedPSSM3.i +8 -0
  283. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLayeredBlending.i +11 -0
  284. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLinearSkinning.i +8 -0
  285. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExNormalMapLighting.i +8 -0
  286. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExPerPixelLighting.i +8 -0
  287. data/bindings/ogre/interface/RTShaderSystem/OgreShaderExTextureAtlasSampler.i +10 -0
  288. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPColour.i +8 -0
  289. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPFog.i +8 -0
  290. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPLighting.i +8 -0
  291. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderState.i +8 -0
  292. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderStateBuilder.i +11 -0
  293. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTexturing.i +8 -0
  294. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTransform.i +8 -0
  295. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunction.i +8 -0
  296. data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunctionAtom.i +8 -0
  297. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramProcessor.i +8 -0
  298. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramWriter.i +11 -0
  299. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramProcessor.i +8 -0
  300. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramWriter.i +8 -0
  301. data/bindings/ogre/interface/RTShaderSystem/OgreShaderGenerator.i +8 -0
  302. data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramProcessor.i +8 -0
  303. data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramWriter.i +8 -0
  304. data/bindings/ogre/interface/RTShaderSystem/OgreShaderMaterialSerializerListener.i +8 -0
  305. data/bindings/ogre/interface/RTShaderSystem/OgreShaderParameter.i +8 -0
  306. data/bindings/ogre/interface/RTShaderSystem/OgreShaderPrerequisites.i +8 -0
  307. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgram.i +8 -0
  308. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramManager.i +8 -0
  309. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramProcessor.i +8 -0
  310. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramSet.i +8 -0
  311. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriter.i +8 -0
  312. data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriterManager.i +8 -0
  313. data/bindings/ogre/interface/RTShaderSystem/OgreShaderRenderState.i +8 -0
  314. data/bindings/ogre/interface/RTShaderSystem/OgreShaderScriptTranslator.i +8 -0
  315. data/bindings/ogre/interface/RTShaderSystem/OgreShaderSubRenderState.i +8 -0
  316. data/bindings/ogre/interface/Terrain/OgreTerrain.i +14 -0
  317. data/bindings/ogre/interface/Terrain/OgreTerrainGroup.i +79 -0
  318. data/bindings/ogre/interface/Terrain/OgreTerrainLayerBlendMap.i +8 -0
  319. data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGenerator.i +8 -0
  320. data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGeneratorA.i +8 -0
  321. data/bindings/ogre/interface/Terrain/OgreTerrainPagedWorldSection.i +8 -0
  322. data/bindings/ogre/interface/Terrain/OgreTerrainPaging.i +8 -0
  323. data/bindings/ogre/interface/Terrain/OgreTerrainPrerequisites.i +8 -0
  324. data/bindings/ogre/interface/Terrain/OgreTerrainQuadTreeNode.i +8 -0
  325. data/bindings/ogre/interface/Threading/OgreDefaultWorkQueue.i +8 -0
  326. data/bindings/ogre/interface/Threading/OgreDefaultWorkQueueStandard.i +8 -0
  327. data/bindings/ogre/interface/Threading/OgreThreadDefines.i +8 -0
  328. data/bindings/ogre/interface/Threading/OgreThreadDefinesNone.i +8 -0
  329. data/bindings/ogre/interface/Threading/OgreThreadHeaders.i +8 -0
  330. data/bindings/ogre/interface/changeFileName +6 -0
  331. data/bindings/ogre/interface/ogre.i +4 -0
  332. data/bindings/ogre/interface/ogre_all.i +353 -0
  333. data/bindings/ogre/interface/ogre_wrap.cpp +411602 -0
  334. data/bindings/ogre/interface/ogre_wrap.h +30 -0
  335. data/bindings/ogre/interface/ogre_wrap.o +0 -0
  336. data/bindings/ogrebites/interface/Makefile +19 -0
  337. data/bindings/ogrebites/interface/SdkCameraMan.i +6 -0
  338. data/bindings/ogrebites/interface/SdkTrays.i +60 -0
  339. data/bindings/ogrebites/interface/ogrebites.i +26 -0
  340. data/bindings/ogrebites/interface/ogrebites_wrap.cpp +19257 -0
  341. data/bindings/ogrebites/interface/ogrebites_wrap.h +34 -0
  342. data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
  343. data/bindings/ois/interface/Makefile +19 -0
  344. data/bindings/ois/interface/OIS_Effect.i +8 -0
  345. data/bindings/ois/interface/OIS_Event.i +8 -0
  346. data/bindings/ois/interface/OIS_Exception.i +8 -0
  347. data/bindings/ois/interface/OIS_FactoryCreator.i +8 -0
  348. data/bindings/ois/interface/OIS_ForceFeedback.i +8 -0
  349. data/bindings/ois/interface/OIS_InputManager.i +20 -0
  350. data/bindings/ois/interface/OIS_Interface.i +8 -0
  351. data/bindings/ois/interface/OIS_JoyStick.i +8 -0
  352. data/bindings/ois/interface/OIS_Keyboard.i +15 -0
  353. data/bindings/ois/interface/OIS_Mouse.i +10 -0
  354. data/bindings/ois/interface/OIS_Object.i +22 -0
  355. data/bindings/ois/interface/OIS_Prereqs.i +20 -0
  356. data/bindings/ois/interface/ois.i +3 -0
  357. data/bindings/ois/interface/ois_all.i +23 -0
  358. data/bindings/ois/interface/ois_wrap.cpp +19311 -0
  359. data/bindings/ois/interface/ois_wrap.h +40 -0
  360. data/bindings/ois/interface/ois_wrap.o +0 -0
  361. data/bindings/procedural/interface/Makefile +19 -0
  362. data/bindings/procedural/interface/ProceduralBoxGenerator.i +12 -0
  363. data/bindings/procedural/interface/ProceduralCapsuleGenerator.i +12 -0
  364. data/bindings/procedural/interface/ProceduralConeGenerator.i +12 -0
  365. data/bindings/procedural/interface/ProceduralCylinderGenerator.i +12 -0
  366. data/bindings/procedural/interface/ProceduralExtruder.i +8 -0
  367. data/bindings/procedural/interface/ProceduralGeometryHelpers.i +15 -0
  368. data/bindings/procedural/interface/ProceduralHeader.i +8 -0
  369. data/bindings/procedural/interface/ProceduralIcoSphereGenerator.i +12 -0
  370. data/bindings/procedural/interface/ProceduralLathe.i +8 -0
  371. data/bindings/procedural/interface/ProceduralMeshGenerator.i +9 -0
  372. data/bindings/procedural/interface/ProceduralMultiShape.i +8 -0
  373. data/bindings/procedural/interface/ProceduralPath.i +8 -0
  374. data/bindings/procedural/interface/ProceduralPathGenerators.i +10 -0
  375. data/bindings/procedural/interface/ProceduralPlaneGenerator.i +12 -0
  376. data/bindings/procedural/interface/ProceduralPlatform.i +8 -0
  377. data/bindings/procedural/interface/ProceduralRoot.i +23 -0
  378. data/bindings/procedural/interface/ProceduralRoundedBoxGenerator.i +12 -0
  379. data/bindings/procedural/interface/ProceduralShape.i +8 -0
  380. data/bindings/procedural/interface/ProceduralShapeGenerators.i +10 -0
  381. data/bindings/procedural/interface/ProceduralSphereGenerator.i +11 -0
  382. data/bindings/procedural/interface/ProceduralSplines.i +8 -0
  383. data/bindings/procedural/interface/ProceduralStableHeaders.i +8 -0
  384. data/bindings/procedural/interface/ProceduralTorusGenerator.i +12 -0
  385. data/bindings/procedural/interface/ProceduralTorusKnotGenerator.i +12 -0
  386. data/bindings/procedural/interface/ProceduralTrack.i +8 -0
  387. data/bindings/procedural/interface/ProceduralTriangleBuffer.i +13 -0
  388. data/bindings/procedural/interface/ProceduralTriangulator.i +8 -0
  389. data/bindings/procedural/interface/ProceduralTubeGenerator.i +12 -0
  390. data/bindings/procedural/interface/ProceduralUtils.i +8 -0
  391. data/bindings/procedural/interface/procedural.i +41 -0
  392. data/bindings/procedural/interface/procedural_wrap.cpp +32082 -0
  393. data/bindings/procedural/interface/procedural_wrap.h +19 -0
  394. data/bindings/procedural/interface/procedural_wrap.o +0 -0
  395. data/deps/include/OGRE/ExampleApplication.h +431 -0
  396. data/deps/include/OGRE/ExampleFrameListener.h +516 -0
  397. data/deps/include/OGRE/ExampleLoadingBar.h +192 -0
  398. data/deps/include/OGRE/FileSystemLayer.h +75 -0
  399. data/deps/include/OGRE/GLX/OgreConfigDialogImp.h +75 -0
  400. data/deps/include/OGRE/GLX/OgreErrorDialogImp.h +52 -0
  401. data/deps/include/OGRE/GLX/OgreTimerImp.h +79 -0
  402. data/deps/include/OGRE/Ogre.h +133 -0
  403. data/deps/include/OGRE/OgreAlignedAllocator.h +107 -0
  404. data/deps/include/OGRE/OgreAnimable.h +335 -0
  405. data/deps/include/OGRE/OgreAnimation.h +544 -0
  406. data/deps/include/OGRE/OgreAnimationState.h +295 -0
  407. data/deps/include/OGRE/OgreAnimationTrack.h +580 -0
  408. data/deps/include/OGRE/OgreAny.h +418 -0
  409. data/deps/include/OGRE/OgreArchive.h +240 -0
  410. data/deps/include/OGRE/OgreArchiveFactory.h +70 -0
  411. data/deps/include/OGRE/OgreArchiveManager.h +139 -0
  412. data/deps/include/OGRE/OgreAtomicWrappers.h +441 -0
  413. data/deps/include/OGRE/OgreAutoParamDataSource.h +265 -0
  414. data/deps/include/OGRE/OgreAxisAlignedBox.h +841 -0
  415. data/deps/include/OGRE/OgreBillboard.h +225 -0
  416. data/deps/include/OGRE/OgreBillboardChain.h +383 -0
  417. data/deps/include/OGRE/OgreBillboardParticleRenderer.h +261 -0
  418. data/deps/include/OGRE/OgreBillboardSet.h +878 -0
  419. data/deps/include/OGRE/OgreBitwise.h +331 -0
  420. data/deps/include/OGRE/OgreBlendMode.h +266 -0
  421. data/deps/include/OGRE/OgreBone.h +154 -0
  422. data/deps/include/OGRE/OgreBorderPanelOverlayElement.h +352 -0
  423. data/deps/include/OGRE/OgreBuildSettings.h +62 -0
  424. data/deps/include/OGRE/OgreCamera.h +680 -0
  425. data/deps/include/OGRE/OgreCodec.h +178 -0
  426. data/deps/include/OGRE/OgreColourValue.h +334 -0
  427. data/deps/include/OGRE/OgreCommon.h +870 -0
  428. data/deps/include/OGRE/OgreCompositionPass.h +356 -0
  429. data/deps/include/OGRE/OgreCompositionTargetPass.h +174 -0
  430. data/deps/include/OGRE/OgreCompositionTechnique.h +188 -0
  431. data/deps/include/OGRE/OgreCompositor.h +235 -0
  432. data/deps/include/OGRE/OgreCompositorChain.h +241 -0
  433. data/deps/include/OGRE/OgreCompositorInstance.h +373 -0
  434. data/deps/include/OGRE/OgreCompositorLogic.h +68 -0
  435. data/deps/include/OGRE/OgreCompositorManager.h +291 -0
  436. data/deps/include/OGRE/OgreConfig.h +189 -0
  437. data/deps/include/OGRE/OgreConfigDialog.h +57 -0
  438. data/deps/include/OGRE/OgreConfigFile.h +110 -0
  439. data/deps/include/OGRE/OgreConfigOptionMap.h +63 -0
  440. data/deps/include/OGRE/OgreController.h +233 -0
  441. data/deps/include/OGRE/OgreControllerManager.h +294 -0
  442. data/deps/include/OGRE/OgreConvexBody.h +260 -0
  443. data/deps/include/OGRE/OgreCustomCompositionPass.h +65 -0
  444. data/deps/include/OGRE/OgreDDSCodec.h +98 -0
  445. data/deps/include/OGRE/OgreDataStream.h +664 -0
  446. data/deps/include/OGRE/OgreDefaultHardwareBufferManager.h +140 -0
  447. data/deps/include/OGRE/OgreDeflate.h +133 -0
  448. data/deps/include/OGRE/OgreDepthBuffer.h +155 -0
  449. data/deps/include/OGRE/OgreDistanceLodStrategy.h +137 -0
  450. data/deps/include/OGRE/OgreDualQuaternion.h +184 -0
  451. data/deps/include/OGRE/OgreDynLib.h +130 -0
  452. data/deps/include/OGRE/OgreDynLibManager.h +117 -0
  453. data/deps/include/OGRE/OgreEdgeListBuilder.h +269 -0
  454. data/deps/include/OGRE/OgreEntity.h +866 -0
  455. data/deps/include/OGRE/OgreErrorDialog.h +57 -0
  456. data/deps/include/OGRE/OgreException.h +351 -0
  457. data/deps/include/OGRE/OgreExternalTextureSource.h +191 -0
  458. data/deps/include/OGRE/OgreExternalTextureSourceManager.h +124 -0
  459. data/deps/include/OGRE/OgreFactoryObj.h +72 -0
  460. data/deps/include/OGRE/OgreFileSystem.h +144 -0
  461. data/deps/include/OGRE/OgreFont.h +478 -0
  462. data/deps/include/OGRE/OgreFontManager.h +102 -0
  463. data/deps/include/OGRE/OgreFrameListener.h +140 -0
  464. data/deps/include/OGRE/OgreFreeImageCodec.h +87 -0
  465. data/deps/include/OGRE/OgreFrustum.h +673 -0
  466. data/deps/include/OGRE/OgreGpuProgram.h +487 -0
  467. data/deps/include/OGRE/OgreGpuProgramManager.h +262 -0
  468. data/deps/include/OGRE/OgreGpuProgramParams.h +1840 -0
  469. data/deps/include/OGRE/OgreGpuProgramUsage.h +149 -0
  470. data/deps/include/OGRE/OgreHardwareBuffer.h +356 -0
  471. data/deps/include/OGRE/OgreHardwareBufferManager.h +539 -0
  472. data/deps/include/OGRE/OgreHardwareIndexBuffer.h +89 -0
  473. data/deps/include/OGRE/OgreHardwareOcclusionQuery.h +132 -0
  474. data/deps/include/OGRE/OgreHardwarePixelBuffer.h +208 -0
  475. data/deps/include/OGRE/OgreHardwareVertexBuffer.h +581 -0
  476. data/deps/include/OGRE/OgreHeaderPrefix.h +82 -0
  477. data/deps/include/OGRE/OgreHeaderSuffix.h +44 -0
  478. data/deps/include/OGRE/OgreHighLevelGpuProgram.h +194 -0
  479. data/deps/include/OGRE/OgreHighLevelGpuProgramManager.h +158 -0
  480. data/deps/include/OGRE/OgreImage.h +510 -0
  481. data/deps/include/OGRE/OgreImageCodec.h +89 -0
  482. data/deps/include/OGRE/OgreInstanceBatch.h +344 -0
  483. data/deps/include/OGRE/OgreInstanceBatchHW.h +110 -0
  484. data/deps/include/OGRE/OgreInstanceBatchHW_VTF.h +113 -0
  485. data/deps/include/OGRE/OgreInstanceBatchShader.h +99 -0
  486. data/deps/include/OGRE/OgreInstanceBatchVTF.h +226 -0
  487. data/deps/include/OGRE/OgreInstanceManager.h +280 -0
  488. data/deps/include/OGRE/OgreInstancedEntity.h +277 -0
  489. data/deps/include/OGRE/OgreInstancedGeometry.h +890 -0
  490. data/deps/include/OGRE/OgreIteratorRange.h +321 -0
  491. data/deps/include/OGRE/OgreIteratorWrapper.h +383 -0
  492. data/deps/include/OGRE/OgreIteratorWrappers.h +35 -0
  493. data/deps/include/OGRE/OgreKeyFrame.h +257 -0
  494. data/deps/include/OGRE/OgreLight.h +597 -0
  495. data/deps/include/OGRE/OgreLodListener.h +207 -0
  496. data/deps/include/OGRE/OgreLodStrategy.h +132 -0
  497. data/deps/include/OGRE/OgreLodStrategyManager.h +133 -0
  498. data/deps/include/OGRE/OgreLog.h +263 -0
  499. data/deps/include/OGRE/OgreLogManager.h +175 -0
  500. data/deps/include/OGRE/OgreManualObject.h +572 -0
  501. data/deps/include/OGRE/OgreMaterial.h +741 -0
  502. data/deps/include/OGRE/OgreMaterialManager.h +304 -0
  503. data/deps/include/OGRE/OgreMaterialSerializer.h +447 -0
  504. data/deps/include/OGRE/OgreMath.h +743 -0
  505. data/deps/include/OGRE/OgreMatrix3.h +286 -0
  506. data/deps/include/OGRE/OgreMatrix4.h +660 -0
  507. data/deps/include/OGRE/OgreMemoryAllocatedObject.h +129 -0
  508. data/deps/include/OGRE/OgreMemoryAllocatorConfig.h +493 -0
  509. data/deps/include/OGRE/OgreMemoryNedAlloc.h +140 -0
  510. data/deps/include/OGRE/OgreMemoryNedPooling.h +143 -0
  511. data/deps/include/OGRE/OgreMemorySTLAllocator.h +225 -0
  512. data/deps/include/OGRE/OgreMemoryStdAlloc.h +155 -0
  513. data/deps/include/OGRE/OgreMemoryTracker.h +197 -0
  514. data/deps/include/OGRE/OgreMesh.h +922 -0
  515. data/deps/include/OGRE/OgreMeshFileFormat.h +295 -0
  516. data/deps/include/OGRE/OgreMeshManager.h +497 -0
  517. data/deps/include/OGRE/OgreMeshSerializer.h +206 -0
  518. data/deps/include/OGRE/OgreMeshSerializerImpl.h +274 -0
  519. data/deps/include/OGRE/OgreMovableObject.h +641 -0
  520. data/deps/include/OGRE/OgreMovablePlane.h +97 -0
  521. data/deps/include/OGRE/OgreNode.h +774 -0
  522. data/deps/include/OGRE/OgreNumerics.h +66 -0
  523. data/deps/include/OGRE/OgreOptimisedUtil.h +232 -0
  524. data/deps/include/OGRE/OgreOverlay.h +280 -0
  525. data/deps/include/OGRE/OgreOverlayContainer.h +152 -0
  526. data/deps/include/OGRE/OgreOverlayElement.h +501 -0
  527. data/deps/include/OGRE/OgreOverlayElementCommands.h +122 -0
  528. data/deps/include/OGRE/OgreOverlayElementFactory.h +116 -0
  529. data/deps/include/OGRE/OgreOverlayManager.h +256 -0
  530. data/deps/include/OGRE/OgrePanelOverlayElement.h +161 -0
  531. data/deps/include/OGRE/OgreParticle.h +154 -0
  532. data/deps/include/OGRE/OgreParticleAffector.h +127 -0
  533. data/deps/include/OGRE/OgreParticleAffectorFactory.h +81 -0
  534. data/deps/include/OGRE/OgreParticleEmitter.h +524 -0
  535. data/deps/include/OGRE/OgreParticleEmitterCommands.h +215 -0
  536. data/deps/include/OGRE/OgreParticleEmitterFactory.h +84 -0
  537. data/deps/include/OGRE/OgreParticleIterator.h +68 -0
  538. data/deps/include/OGRE/OgreParticleScriptCompiler.h +92 -0
  539. data/deps/include/OGRE/OgreParticleSystem.h +911 -0
  540. data/deps/include/OGRE/OgreParticleSystemManager.h +406 -0
  541. data/deps/include/OGRE/OgreParticleSystemRenderer.h +139 -0
  542. data/deps/include/OGRE/OgrePass.h +1775 -0
  543. data/deps/include/OGRE/OgrePatchMesh.h +164 -0
  544. data/deps/include/OGRE/OgrePatchSurface.h +240 -0
  545. data/deps/include/OGRE/OgrePixelCountLodStrategy.h +113 -0
  546. data/deps/include/OGRE/OgrePixelFormat.h +513 -0
  547. data/deps/include/OGRE/OgrePlane.h +166 -0
  548. data/deps/include/OGRE/OgrePlaneBoundedVolume.h +135 -0
  549. data/deps/include/OGRE/OgrePlatform.h +311 -0
  550. data/deps/include/OGRE/OgrePlatformInformation.h +202 -0
  551. data/deps/include/OGRE/OgrePlugin.h +139 -0
  552. data/deps/include/OGRE/OgrePolygon.h +145 -0
  553. data/deps/include/OGRE/OgrePose.h +141 -0
  554. data/deps/include/OGRE/OgrePredefinedControllers.h +292 -0
  555. data/deps/include/OGRE/OgrePrefabFactory.h +73 -0
  556. data/deps/include/OGRE/OgrePrerequisites.h +563 -0
  557. data/deps/include/OGRE/OgreProfiler.h +506 -0
  558. data/deps/include/OGRE/OgreProgressiveMesh.h +416 -0
  559. data/deps/include/OGRE/OgreQuaternion.h +330 -0
  560. data/deps/include/OGRE/OgreRadixSort.h +330 -0
  561. data/deps/include/OGRE/OgreRay.h +122 -0
  562. data/deps/include/OGRE/OgreRectangle.h +77 -0
  563. data/deps/include/OGRE/OgreRectangle2D.h +101 -0
  564. data/deps/include/OGRE/OgreRenderObjectListener.h +64 -0
  565. data/deps/include/OGRE/OgreRenderOperation.h +100 -0
  566. data/deps/include/OGRE/OgreRenderQueue.h +516 -0
  567. data/deps/include/OGRE/OgreRenderQueueInvocation.h +225 -0
  568. data/deps/include/OGRE/OgreRenderQueueListener.h +106 -0
  569. data/deps/include/OGRE/OgreRenderQueueSortingGrouping.h +733 -0
  570. data/deps/include/OGRE/OgreRenderSystem.h +1572 -0
  571. data/deps/include/OGRE/OgreRenderSystemCapabilities.h +727 -0
  572. data/deps/include/OGRE/OgreRenderSystemCapabilitiesManager.h +129 -0
  573. data/deps/include/OGRE/OgreRenderSystemCapabilitiesSerializer.h +248 -0
  574. data/deps/include/OGRE/OgreRenderTarget.h +534 -0
  575. data/deps/include/OGRE/OgreRenderTargetListener.h +146 -0
  576. data/deps/include/OGRE/OgreRenderTexture.h +140 -0
  577. data/deps/include/OGRE/OgreRenderToVertexBuffer.h +151 -0
  578. data/deps/include/OGRE/OgreRenderWindow.h +225 -0
  579. data/deps/include/OGRE/OgreRenderable.h +428 -0
  580. data/deps/include/OGRE/OgreResource.h +536 -0
  581. data/deps/include/OGRE/OgreResourceBackgroundQueue.h +359 -0
  582. data/deps/include/OGRE/OgreResourceGroupManager.h +1092 -0
  583. data/deps/include/OGRE/OgreResourceManager.h +538 -0
  584. data/deps/include/OGRE/OgreRibbonTrail.h +245 -0
  585. data/deps/include/OGRE/OgreRoot.h +1075 -0
  586. data/deps/include/OGRE/OgreRotationalSpline.h +136 -0
  587. data/deps/include/OGRE/OgreSceneManager.h +3670 -0
  588. data/deps/include/OGRE/OgreSceneManagerEnumerator.h +233 -0
  589. data/deps/include/OGRE/OgreSceneNode.h +472 -0
  590. data/deps/include/OGRE/OgreSceneQuery.h +564 -0
  591. data/deps/include/OGRE/OgreScriptCompiler.h +851 -0
  592. data/deps/include/OGRE/OgreScriptLexer.h +96 -0
  593. data/deps/include/OGRE/OgreScriptLoader.h +96 -0
  594. data/deps/include/OGRE/OgreScriptParser.h +63 -0
  595. data/deps/include/OGRE/OgreScriptTranslator.h +286 -0
  596. data/deps/include/OGRE/OgreSearchOps.h +74 -0
  597. data/deps/include/OGRE/OgreSerializer.h +120 -0
  598. data/deps/include/OGRE/OgreShadowCameraSetup.h +107 -0
  599. data/deps/include/OGRE/OgreShadowCameraSetupFocused.h +289 -0
  600. data/deps/include/OGRE/OgreShadowCameraSetupLiSPSM.h +254 -0
  601. data/deps/include/OGRE/OgreShadowCameraSetupPSSM.h +126 -0
  602. data/deps/include/OGRE/OgreShadowCameraSetupPlaneOptimal.h +88 -0
  603. data/deps/include/OGRE/OgreShadowCaster.h +225 -0
  604. data/deps/include/OGRE/OgreShadowTextureManager.h +156 -0
  605. data/deps/include/OGRE/OgreShadowVolumeExtrudeProgram.h +286 -0
  606. data/deps/include/OGRE/OgreSharedPtr.h +278 -0
  607. data/deps/include/OGRE/OgreSimpleRenderable.h +111 -0
  608. data/deps/include/OGRE/OgreSimpleSpline.h +137 -0
  609. data/deps/include/OGRE/OgreSingleton.h +104 -0
  610. data/deps/include/OGRE/OgreSkeleton.h +539 -0
  611. data/deps/include/OGRE/OgreSkeletonFileFormat.h +117 -0
  612. data/deps/include/OGRE/OgreSkeletonInstance.h +163 -0
  613. data/deps/include/OGRE/OgreSkeletonManager.h +105 -0
  614. data/deps/include/OGRE/OgreSkeletonSerializer.h +151 -0
  615. data/deps/include/OGRE/OgreSmallVector.h +814 -0
  616. data/deps/include/OGRE/OgreSphere.h +145 -0
  617. data/deps/include/OGRE/OgreSpotShadowFadePng.h +647 -0
  618. data/deps/include/OGRE/OgreStableHeaders.h +82 -0
  619. data/deps/include/OGRE/OgreStaticFaceGroup.h +141 -0
  620. data/deps/include/OGRE/OgreStaticGeometry.h +781 -0
  621. data/deps/include/OGRE/OgreStaticPluginLoader.h +205 -0
  622. data/deps/include/OGRE/OgreStdHeaders.h +128 -0
  623. data/deps/include/OGRE/OgreStreamSerialiser.h +386 -0
  624. data/deps/include/OGRE/OgreString.h +223 -0
  625. data/deps/include/OGRE/OgreStringConverter.h +270 -0
  626. data/deps/include/OGRE/OgreStringInterface.h +335 -0
  627. data/deps/include/OGRE/OgreStringVector.h +53 -0
  628. data/deps/include/OGRE/OgreSubEntity.h +288 -0
  629. data/deps/include/OGRE/OgreSubMesh.h +294 -0
  630. data/deps/include/OGRE/OgreTagPoint.h +123 -0
  631. data/deps/include/OGRE/OgreTangentSpaceCalc.h +269 -0
  632. data/deps/include/OGRE/OgreTechnique.h +714 -0
  633. data/deps/include/OGRE/OgreTextAreaOverlayElement.h +258 -0
  634. data/deps/include/OGRE/OgreTexture.h +496 -0
  635. data/deps/include/OGRE/OgreTextureManager.h +508 -0
  636. data/deps/include/OGRE/OgreTextureUnitState.h +1265 -0
  637. data/deps/include/OGRE/OgreTimer.h +49 -0
  638. data/deps/include/OGRE/OgreUTFString.h +1115 -0
  639. data/deps/include/OGRE/OgreUnifiedHighLevelGpuProgram.h +177 -0
  640. data/deps/include/OGRE/OgreUserObjectBindings.h +140 -0
  641. data/deps/include/OGRE/OgreVector2.h +609 -0
  642. data/deps/include/OGRE/OgreVector3.h +818 -0
  643. data/deps/include/OGRE/OgreVector4.h +414 -0
  644. data/deps/include/OGRE/OgreVertexBoneAssignment.h +63 -0
  645. data/deps/include/OGRE/OgreVertexIndexData.h +323 -0
  646. data/deps/include/OGRE/OgreViewport.h +433 -0
  647. data/deps/include/OGRE/OgreWindowEventUtilities.h +186 -0
  648. data/deps/include/OGRE/OgreWireBoundingBox.h +87 -0
  649. data/deps/include/OGRE/OgreWorkQueue.h +556 -0
  650. data/deps/include/OGRE/OgreZip.h +196 -0
  651. data/deps/include/OGRE/Paging/OgreGrid2DPageStrategy.h +250 -0
  652. data/deps/include/OGRE/Paging/OgreGrid3DPageStrategy.h +222 -0
  653. data/deps/include/OGRE/Paging/OgrePage.h +205 -0
  654. data/deps/include/OGRE/Paging/OgrePageConnection.h +50 -0
  655. data/deps/include/OGRE/Paging/OgrePageContent.h +90 -0
  656. data/deps/include/OGRE/Paging/OgrePageContentCollection.h +103 -0
  657. data/deps/include/OGRE/Paging/OgrePageContentCollectionFactory.h +62 -0
  658. data/deps/include/OGRE/Paging/OgrePageContentFactory.h +67 -0
  659. data/deps/include/OGRE/Paging/OgrePageFileFormats.h +223 -0
  660. data/deps/include/OGRE/Paging/OgrePageManager.h +481 -0
  661. data/deps/include/OGRE/Paging/OgrePageStrategy.h +138 -0
  662. data/deps/include/OGRE/Paging/OgrePagedWorld.h +252 -0
  663. data/deps/include/OGRE/Paging/OgrePagedWorldSection.h +316 -0
  664. data/deps/include/OGRE/Paging/OgrePaging.h +45 -0
  665. data/deps/include/OGRE/Paging/OgrePagingPrerequisites.h +84 -0
  666. data/deps/include/OGRE/Paging/OgreSimplePageContentCollection.h +137 -0
  667. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspLevel.h +278 -0
  668. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspNode.h +212 -0
  669. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspPrerequisites.h +65 -0
  670. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspResourceManager.h +110 -0
  671. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManager.h +280 -0
  672. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManagerPlugin.h +67 -0
  673. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneNode.h +79 -0
  674. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Level.h +167 -0
  675. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Shader.h +119 -0
  676. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3ShaderManager.h +125 -0
  677. data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Types.h +250 -0
  678. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgFxScriptLoader.h +1544 -0
  679. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPlugin.h +65 -0
  680. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPrerequisites.h +62 -0
  681. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgram.h +149 -0
  682. data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgramFactory.h +55 -0
  683. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctree.h +164 -0
  684. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeCamera.h +89 -0
  685. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeNode.h +148 -0
  686. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePlugin.h +64 -0
  687. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePrerequisites.h +59 -0
  688. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneManager.h +253 -0
  689. data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneQuery.h +102 -0
  690. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZone.h +264 -0
  691. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZoneOctree.h +203 -0
  692. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePlugin.h +72 -0
  693. data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePrerequisites.h +67 -0
  694. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreAntiPortal.h +75 -0
  695. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreCapsule.h +68 -0
  696. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreDefaultZone.h +154 -0
  697. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCPlane.h +94 -0
  698. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZCamera.h +113 -0
  699. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZFrustum.h +136 -0
  700. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZLight.h +137 -0
  701. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPlugin.h +77 -0
  702. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPrerequisites.h +63 -0
  703. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneManager.h +410 -0
  704. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneNode.h +135 -0
  705. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneQuery.h +134 -0
  706. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZone.h +316 -0
  707. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZoneFactory.h +126 -0
  708. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortal.h +106 -0
  709. data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortalBase.h +303 -0
  710. data/deps/include/OGRE/Plugins/PCZSceneManager/OgreSegment.h +81 -0
  711. data/deps/include/OGRE/Plugins/ParticleFX/OgreAreaEmitter.h +139 -0
  712. data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitter.h +60 -0
  713. data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitterFactory.h +66 -0
  714. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector.h +167 -0
  715. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector2.h +226 -0
  716. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory.h +56 -0
  717. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory2.h +56 -0
  718. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffector.h +80 -0
  719. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffectorFactory.h +56 -0
  720. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffector.h +97 -0
  721. data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffectorFactory.h +56 -0
  722. data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitter.h +68 -0
  723. data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitterFactory.h +67 -0
  724. data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffector.h +114 -0
  725. data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffectorFactory.h +56 -0
  726. data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffector.h +109 -0
  727. data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffectorFactory.h +54 -0
  728. data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitter.h +64 -0
  729. data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitterFactory.h +67 -0
  730. data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitter.h +126 -0
  731. data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitterFactory.h +67 -0
  732. data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffector.h +120 -0
  733. data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffectorFactory.h +56 -0
  734. data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPlugin.h +66 -0
  735. data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPrerequisites.h +68 -0
  736. data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitter.h +62 -0
  737. data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitterFactory.h +66 -0
  738. data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitter.h +111 -0
  739. data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitterFactory.h +67 -0
  740. data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffector.h +131 -0
  741. data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffectorFactory.h +56 -0
  742. data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffector.h +84 -0
  743. data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffectorFactory.h +56 -0
  744. data/deps/include/OGRE/RTShaderSystem/OgreRTShaderSystem.h +76 -0
  745. data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h +85 -0
  746. data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h +145 -0
  747. data/deps/include/OGRE/RTShaderSystem/OgreShaderExDualQuaternionSkinning.h +127 -0
  748. data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinning.h +357 -0
  749. data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.h +156 -0
  750. data/deps/include/OGRE/RTShaderSystem/OgreShaderExIntegratedPSSM3.h +213 -0
  751. data/deps/include/OGRE/RTShaderSystem/OgreShaderExLayeredBlending.h +257 -0
  752. data/deps/include/OGRE/RTShaderSystem/OgreShaderExLinearSkinning.h +97 -0
  753. data/deps/include/OGRE/RTShaderSystem/OgreShaderExNormalMapLighting.h +391 -0
  754. data/deps/include/OGRE/RTShaderSystem/OgreShaderExPerPixelLighting.h +276 -0
  755. data/deps/include/OGRE/RTShaderSystem/OgreShaderExTextureAtlasSampler.h +367 -0
  756. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPColour.h +180 -0
  757. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPFog.h +200 -0
  758. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPLighting.h +241 -0
  759. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderState.h +134 -0
  760. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderStateBuilder.h +146 -0
  761. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTexturing.h +272 -0
  762. data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTransform.h +121 -0
  763. data/deps/include/OGRE/RTShaderSystem/OgreShaderFunction.h +227 -0
  764. data/deps/include/OGRE/RTShaderSystem/OgreShaderFunctionAtom.h +250 -0
  765. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramProcessor.h +92 -0
  766. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramWriter.h +193 -0
  767. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h +97 -0
  768. data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h +146 -0
  769. data/deps/include/OGRE/RTShaderSystem/OgreShaderGenerator.h +936 -0
  770. data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h +84 -0
  771. data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h +145 -0
  772. data/deps/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h +109 -0
  773. data/deps/include/OGRE/RTShaderSystem/OgreShaderParameter.h +652 -0
  774. data/deps/include/OGRE/RTShaderSystem/OgreShaderPrerequisites.h +120 -0
  775. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgram.h +218 -0
  776. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramManager.h +236 -0
  777. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h +266 -0
  778. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramSet.h +98 -0
  779. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriter.h +110 -0
  780. data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriterManager.h +130 -0
  781. data/deps/include/OGRE/RTShaderSystem/OgreShaderRenderState.h +219 -0
  782. data/deps/include/OGRE/RTShaderSystem/OgreShaderScriptTranslator.h +144 -0
  783. data/deps/include/OGRE/RTShaderSystem/OgreShaderSubRenderState.h +321 -0
  784. data/deps/include/OGRE/RenderSystems/GL/GL/gl.h +1918 -0
  785. data/deps/include/OGRE/RenderSystems/GL/GL/glew.h +16131 -0
  786. data/deps/include/OGRE/RenderSystems/GL/GL/glext.h +6030 -0
  787. data/deps/include/OGRE/RenderSystems/GL/GL/glxew.h +1587 -0
  788. data/deps/include/OGRE/RenderSystems/GL/GL/glxext.h +681 -0
  789. data/deps/include/OGRE/RenderSystems/GL/GL/glxtokens.h +231 -0
  790. data/deps/include/OGRE/RenderSystems/GL/GL/wglew.h +1363 -0
  791. data/deps/include/OGRE/RenderSystems/GL/GL/wglext.h +608 -0
  792. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLUtil.h +43 -0
  793. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXContext.h +62 -0
  794. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXGLSupport.h +201 -0
  795. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXRenderTexture.h +52 -0
  796. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXUtils.h +102 -0
  797. data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXWindow.h +126 -0
  798. data/deps/include/OGRE/RenderSystems/GL/OgreGLATIFSInit.h +41 -0
  799. data/deps/include/OGRE/RenderSystems/GL/OgreGLContext.h +75 -0
  800. data/deps/include/OGRE/RenderSystems/GL/OgreGLDefaultHardwareBufferManager.h +135 -0
  801. data/deps/include/OGRE/RenderSystems/GL/OgreGLDepthBuffer.h +71 -0
  802. data/deps/include/OGRE/RenderSystems/GL/OgreGLFBOMultiRenderTarget.h +59 -0
  803. data/deps/include/OGRE/RenderSystems/GL/OgreGLFBORenderTexture.h +200 -0
  804. data/deps/include/OGRE/RenderSystems/GL/OgreGLFrameBufferObject.h +105 -0
  805. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuNvparseProgram.h +69 -0
  806. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgram.h +120 -0
  807. data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgramManager.h +68 -0
  808. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareBufferManager.h +141 -0
  809. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareIndexBuffer.h +70 -0
  810. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareOcclusionQuery.h +108 -0
  811. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwarePixelBuffer.h +138 -0
  812. data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareVertexBuffer.h +69 -0
  813. data/deps/include/OGRE/RenderSystems/GL/OgreGLPBRenderTexture.h +106 -0
  814. data/deps/include/OGRE/RenderSystems/GL/OgreGLPBuffer.h +62 -0
  815. data/deps/include/OGRE/RenderSystems/GL/OgreGLPixelFormat.h +100 -0
  816. data/deps/include/OGRE/RenderSystems/GL/OgreGLPlugin.h +63 -0
  817. data/deps/include/OGRE/RenderSystems/GL/OgreGLPrerequisites.h +105 -0
  818. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderSystem.h +521 -0
  819. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderTexture.h +141 -0
  820. data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderToVertexBuffer.h +72 -0
  821. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLExtSupport.h +66 -0
  822. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLGpuProgram.h +104 -0
  823. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgram.h +149 -0
  824. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgramManager.h +144 -0
  825. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLPreprocessor.h +524 -0
  826. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgram.h +200 -0
  827. data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgramFactory.h +60 -0
  828. data/deps/include/OGRE/RenderSystems/GL/OgreGLSupport.h +137 -0
  829. data/deps/include/OGRE/RenderSystems/GL/OgreGLTexture.h +191 -0
  830. data/deps/include/OGRE/RenderSystems/GL/OgreGLTextureManager.h +67 -0
  831. data/deps/include/OGRE/Sample.h +325 -0
  832. data/deps/include/OGRE/SampleContext.h +864 -0
  833. data/deps/include/OGRE/SamplePlugin.h +99 -0
  834. data/deps/include/OGRE/SdkCameraMan.h +367 -0
  835. data/deps/include/OGRE/SdkSample.h +552 -0
  836. data/deps/include/OGRE/SdkTrays.h +3168 -0
  837. data/deps/include/OGRE/Terrain/OgreTerrain.h +2076 -0
  838. data/deps/include/OGRE/Terrain/OgreTerrainGroup.h +545 -0
  839. data/deps/include/OGRE/Terrain/OgreTerrainLayerBlendMap.h +199 -0
  840. data/deps/include/OGRE/Terrain/OgreTerrainMaterialGenerator.h +404 -0
  841. data/deps/include/OGRE/Terrain/OgreTerrainMaterialGeneratorA.h +279 -0
  842. data/deps/include/OGRE/Terrain/OgreTerrainPagedWorldSection.h +165 -0
  843. data/deps/include/OGRE/Terrain/OgreTerrainPaging.h +135 -0
  844. data/deps/include/OGRE/Terrain/OgreTerrainPrerequisites.h +68 -0
  845. data/deps/include/OGRE/Terrain/OgreTerrainQuadTreeNode.h +413 -0
  846. data/deps/include/OGRE/Threading/OgreDefaultWorkQueue.h +42 -0
  847. data/deps/include/OGRE/Threading/OgreDefaultWorkQueueStandard.h +82 -0
  848. data/deps/include/OGRE/Threading/OgreThreadDefines.h +41 -0
  849. data/deps/include/OGRE/Threading/OgreThreadDefinesNone.h +59 -0
  850. data/deps/include/OGRE/Threading/OgreThreadHeaders.h +39 -0
  851. data/deps/include/OGRE/asm_math.h +376 -0
  852. data/deps/include/OIS/OIS.h +41 -0
  853. data/deps/include/OIS/OISConfig.h +75 -0
  854. data/deps/include/OIS/OISEffect.h +278 -0
  855. data/deps/include/OIS/OISEvents.h +43 -0
  856. data/deps/include/OIS/OISException.h +78 -0
  857. data/deps/include/OIS/OISFactoryCreator.h +81 -0
  858. data/deps/include/OIS/OISForceFeedback.h +120 -0
  859. data/deps/include/OIS/OISInputManager.h +205 -0
  860. data/deps/include/OIS/OISInterface.h +47 -0
  861. data/deps/include/OIS/OISJoyStick.h +228 -0
  862. data/deps/include/OIS/OISKeyboard.h +312 -0
  863. data/deps/include/OIS/OISMouse.h +138 -0
  864. data/deps/include/OIS/OISMultiTouch.h +169 -0
  865. data/deps/include/OIS/OISObject.h +95 -0
  866. data/deps/include/OIS/OISPrereqs.h +226 -0
  867. data/deps/include/OgreProcedural/Procedural.h +54 -0
  868. data/deps/include/OgreProcedural/ProceduralBoxGenerator.h +110 -0
  869. data/deps/include/OgreProcedural/ProceduralCapsuleGenerator.h +103 -0
  870. data/deps/include/OgreProcedural/ProceduralConeGenerator.h +90 -0
  871. data/deps/include/OgreProcedural/ProceduralCylinderGenerator.h +99 -0
  872. data/deps/include/OgreProcedural/ProceduralExtruder.h +131 -0
  873. data/deps/include/OgreProcedural/ProceduralGeometryHelpers.h +171 -0
  874. data/deps/include/OgreProcedural/ProceduralIcoSphereGenerator.h +76 -0
  875. data/deps/include/OgreProcedural/ProceduralLathe.h +129 -0
  876. data/deps/include/OgreProcedural/ProceduralMeshGenerator.h +286 -0
  877. data/deps/include/OgreProcedural/ProceduralMultiShape.h +126 -0
  878. data/deps/include/OgreProcedural/ProceduralPath.h +322 -0
  879. data/deps/include/OgreProcedural/ProceduralPathGenerators.h +281 -0
  880. data/deps/include/OgreProcedural/ProceduralPlaneGenerator.h +93 -0
  881. data/deps/include/OgreProcedural/ProceduralPlatform.h +54 -0
  882. data/deps/include/OgreProcedural/ProceduralRoot.h +65 -0
  883. data/deps/include/OgreProcedural/ProceduralRoundedBoxGenerator.h +118 -0
  884. data/deps/include/OgreProcedural/ProceduralShape.h +532 -0
  885. data/deps/include/OgreProcedural/ProceduralShapeGenerators.h +362 -0
  886. data/deps/include/OgreProcedural/ProceduralSphereGenerator.h +80 -0
  887. data/deps/include/OgreProcedural/ProceduralSplines.h +168 -0
  888. data/deps/include/OgreProcedural/ProceduralStableHeaders.h +28 -0
  889. data/deps/include/OgreProcedural/ProceduralTorusGenerator.h +88 -0
  890. data/deps/include/OgreProcedural/ProceduralTorusKnotGenerator.h +106 -0
  891. data/deps/include/OgreProcedural/ProceduralTrack.h +122 -0
  892. data/deps/include/OgreProcedural/ProceduralTriangleBuffer.h +328 -0
  893. data/deps/include/OgreProcedural/ProceduralTriangulator.h +173 -0
  894. data/deps/include/OgreProcedural/ProceduralTubeGenerator.h +96 -0
  895. data/deps/include/OgreProcedural/ProceduralUtils.h +185 -0
  896. data/deps/lib/OGRE/Plugin_BSPSceneManager.so +0 -0
  897. data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.0 +0 -0
  898. data/deps/lib/OGRE/Plugin_CgProgramManager.so +0 -0
  899. data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.0 +0 -0
  900. data/deps/lib/OGRE/Plugin_OctreeSceneManager.so +0 -0
  901. data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.0 +0 -0
  902. data/deps/lib/OGRE/Plugin_OctreeZone.so +0 -0
  903. data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.0 +0 -0
  904. data/deps/lib/OGRE/Plugin_PCZSceneManager.so +0 -0
  905. data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.0 +0 -0
  906. data/deps/lib/OGRE/Plugin_ParticleFX.so +0 -0
  907. data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.0 +0 -0
  908. data/deps/lib/OGRE/RenderSystem_GL.so +0 -0
  909. data/deps/lib/OGRE/RenderSystem_GL.so.1.8.0 +0 -0
  910. data/deps/lib/libOIS-1.3.0.so +0 -0
  911. data/deps/lib/libOIS.so +0 -0
  912. data/deps/lib/libOgreMain.so +0 -0
  913. data/deps/lib/libOgreMain.so.1.8.0 +0 -0
  914. data/deps/lib/libOgrePaging.so +0 -0
  915. data/deps/lib/libOgrePaging.so.1.8.0 +0 -0
  916. data/deps/lib/libOgreProcedural.so +0 -0
  917. data/deps/lib/libOgreRTShaderSystem.so +0 -0
  918. data/deps/lib/libOgreRTShaderSystem.so.1.8.0 +0 -0
  919. data/deps/lib/libOgreTerrain.so +0 -0
  920. data/deps/lib/libOgreTerrain.so.1.8.0 +0 -0
  921. data/deps/share/OGRE/media/DeferredShadingMedia/COPYING +18 -0
  922. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/Ambient_ps.cg +68 -0
  923. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_ps.cg +187 -0
  924. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_vs.cg +53 -0
  925. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowColour_ps.cg +41 -0
  926. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowDS_ps.cg +40 -0
  927. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowNormal_ps.cg +39 -0
  928. data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/vs.cg +54 -0
  929. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.cg +25 -0
  930. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.material +15 -0
  931. data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.program +24 -0
  932. data/deps/share/OGRE/media/DeferredShadingMedia/deferred.compositor +147 -0
  933. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.material +148 -0
  934. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.program +85 -0
  935. data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post_minilight.material +71 -0
  936. data/deps/share/OGRE/media/DeferredShadingMedia/deferreddemo.material +73 -0
  937. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.cg +178 -0
  938. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.compositor +93 -0
  939. data/deps/share/OGRE/media/DeferredShadingMedia/ssao.material +148 -0
  940. data/deps/share/OGRE/media/PCZAppMedia/Carpet_Diamond_Olive.jpg +0 -0
  941. data/deps/share/OGRE/media/PCZAppMedia/Metal_Brass_Ceiling.jpg +0 -0
  942. data/deps/share/OGRE/media/PCZAppMedia/Metal_Embossed.jpg +0 -0
  943. data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted.jpg +0 -0
  944. data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted1.jpg +0 -0
  945. data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured.jpg +0 -0
  946. data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured_White.jpg +0 -0
  947. data/deps/share/OGRE/media/PCZAppMedia/ROOM.material +149 -0
  948. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NX.mesh +0 -0
  949. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NY.mesh +0 -0
  950. data/deps/share/OGRE/media/PCZAppMedia/ROOM_NZ.mesh +0 -0
  951. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PX.mesh +0 -0
  952. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PY.mesh +0 -0
  953. data/deps/share/OGRE/media/PCZAppMedia/ROOM_PZ.mesh +0 -0
  954. data/deps/share/OGRE/media/PCZAppMedia/Roofing_Tile_Spanish.jpg +0 -0
  955. data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted.jpg +0 -0
  956. data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted1.jpg +0 -0
  957. data/deps/share/OGRE/media/PCZAppMedia/Wood_Floor.jpg +0 -0
  958. data/deps/share/OGRE/media/PCZAppMedia/building_exterior.mesh +0 -0
  959. data/deps/share/OGRE/media/PCZAppMedia/room_nxnynz.mesh +0 -0
  960. data/deps/share/OGRE/media/PCZAppMedia/room_nxpx.mesh +0 -0
  961. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnypynzpz.mesh +0 -0
  962. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnz.mesh +0 -0
  963. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnzpz.mesh +0 -0
  964. data/deps/share/OGRE/media/PCZAppMedia/room_nxpxpz.mesh +0 -0
  965. data/deps/share/OGRE/media/PCZAppMedia/room_nxpynz.mesh +0 -0
  966. data/deps/share/OGRE/media/PCZAppMedia/room_nxpz.mesh +0 -0
  967. data/deps/share/OGRE/media/PCZAppMedia/room_nypy.mesh +0 -0
  968. data/deps/share/OGRE/media/PCZAppMedia/room_nypy_4y.mesh +0 -0
  969. data/deps/share/OGRE/media/PCZAppMedia/room_nzpz.mesh +0 -0
  970. data/deps/share/OGRE/media/PCZAppMedia/room_pxnynz.mesh +0 -0
  971. data/deps/share/OGRE/media/PCZAppMedia/room_pxpynz.mesh +0 -0
  972. data/deps/share/OGRE/media/PCZAppMedia/room_pxpz.mesh +0 -0
  973. data/deps/share/OGRE/media/PCZAppMedia/terrain2.cfg +71 -0
  974. data/deps/share/OGRE/media/PCZAppMedia/terrain2.png +0 -0
  975. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.cg +248 -0
  976. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsl +248 -0
  977. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsles +231 -0
  978. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.hlsl +219 -0
  979. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.cg +138 -0
  980. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsl +139 -0
  981. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsles +141 -0
  982. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.hlsl +138 -0
  983. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.cg +225 -0
  984. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsl +226 -0
  985. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsles +227 -0
  986. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.hlsl +225 -0
  987. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.cg +319 -0
  988. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsl +334 -0
  989. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsles +355 -0
  990. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.hlsl +319 -0
  991. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.cg +78 -0
  992. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsl +71 -0
  993. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsles +65 -0
  994. data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.hlsl +71 -0
  995. data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.cg +130 -0
  996. data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.glsl +132 -0
  997. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.cg +81 -0
  998. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsl +107 -0
  999. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsles +112 -0
  1000. data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.hlsl +81 -0
  1001. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.cg +728 -0
  1002. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsl +825 -0
  1003. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsles +889 -0
  1004. data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.hlsl +730 -0
  1005. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.cg +257 -0
  1006. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsl +269 -0
  1007. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsles +264 -0
  1008. data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.hlsl +257 -0
  1009. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.cg +226 -0
  1010. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsl +228 -0
  1011. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsles +223 -0
  1012. data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.hlsl +226 -0
  1013. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.cg +122 -0
  1014. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsl +124 -0
  1015. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsles +122 -0
  1016. data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.hlsl +122 -0
  1017. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.cg +76 -0
  1018. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.glsl +93 -0
  1019. data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.hlsl +76 -0
  1020. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.cg +62 -0
  1021. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsl +65 -0
  1022. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsles +67 -0
  1023. data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.hlsl +62 -0
  1024. data/deps/share/OGRE/media/RTShaderLib/cache/dummy.txt +1 -0
  1025. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.cg +292 -0
  1026. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.material +384 -0
  1027. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowFourWeights.glsl +29 -0
  1028. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowOneWeight.glsl +28 -0
  1029. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_ps.glsl +9 -0
  1030. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_vs.glsl +15 -0
  1031. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowThreeWeights.glsl +29 -0
  1032. data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowTwoWeights.glsl +29 -0
  1033. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.cg +111 -0
  1034. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.material +265 -0
  1035. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_Fragment.glsl +6 -0
  1036. data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_TwoWeights.glsl +18 -0
  1037. data/deps/share/OGRE/media/RTShaderLib/materials/RTShaderSystem.material +221 -0
  1038. data/deps/share/OGRE/media/fonts/bluebold.ttf +0 -0
  1039. data/deps/share/OGRE/media/fonts/bluecond.ttf +0 -0
  1040. data/deps/share/OGRE/media/fonts/bluehigh.ttf +0 -0
  1041. data/deps/share/OGRE/media/fonts/bluehighway-10.font +2 -0
  1042. data/deps/share/OGRE/media/fonts/bluehighway-12.font +2 -0
  1043. data/deps/share/OGRE/media/fonts/bluehighway-8.font +2 -0
  1044. data/deps/share/OGRE/media/fonts/read_me.html +2 -0
  1045. data/deps/share/OGRE/media/fonts/sample.fontdef +11 -0
  1046. data/deps/share/OGRE/media/fonts/solo5.ttf +0 -0
  1047. data/deps/share/OGRE/media/materials/programs/ASCIIFP.cg +32 -0
  1048. data/deps/share/OGRE/media/materials/programs/ASCIIFP.glsles +31 -0
  1049. data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsl +13 -0
  1050. data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsles +20 -0
  1051. data/deps/share/OGRE/media/materials/programs/AmbientOneTextureWithUV.glsles +23 -0
  1052. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsl +27 -0
  1053. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsles +30 -0
  1054. data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.hlsl +58 -0
  1055. data/deps/share/OGRE/media/materials/programs/Bloom_ps20.hlsl +52 -0
  1056. data/deps/share/OGRE/media/materials/programs/Bloom_vs11.hlsl +21 -0
  1057. data/deps/share/OGRE/media/materials/programs/Blur0_ps20.hlsl +31 -0
  1058. data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsl +15 -0
  1059. data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsles +22 -0
  1060. data/deps/share/OGRE/media/materials/programs/Blur0_vs11.hlsl +22 -0
  1061. data/deps/share/OGRE/media/materials/programs/Blur1_ps20.hlsl +28 -0
  1062. data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsl +15 -0
  1063. data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsles +22 -0
  1064. data/deps/share/OGRE/media/materials/programs/Blur1_vs11.hlsl +19 -0
  1065. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsl +56 -0
  1066. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsles +58 -0
  1067. data/deps/share/OGRE/media/materials/programs/BlurH_ps20.hlsl +51 -0
  1068. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsl +60 -0
  1069. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsles +63 -0
  1070. data/deps/share/OGRE/media/materials/programs/BlurV_ps20.hlsl +51 -0
  1071. data/deps/share/OGRE/media/materials/programs/Blur_ps.glsl +14 -0
  1072. data/deps/share/OGRE/media/materials/programs/Blur_ps.glsles +18 -0
  1073. data/deps/share/OGRE/media/materials/programs/Blur_vs.glsl +14 -0
  1074. data/deps/share/OGRE/media/materials/programs/Blur_vs.glsles +24 -0
  1075. data/deps/share/OGRE/media/materials/programs/Blur_vs11.hlsl +19 -0
  1076. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsl +29 -0
  1077. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsles +32 -0
  1078. data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.hlsl +20 -0
  1079. data/deps/share/OGRE/media/materials/programs/ColdCasterFp.glsles +11 -0
  1080. data/deps/share/OGRE/media/materials/programs/ColdCasterVp.glsles +18 -0
  1081. data/deps/share/OGRE/media/materials/programs/Combine_fp.cg +15 -0
  1082. data/deps/share/OGRE/media/materials/programs/Combine_fp.glsles +17 -0
  1083. data/deps/share/OGRE/media/materials/programs/Common.cg +81 -0
  1084. data/deps/share/OGRE/media/materials/programs/DOF_ps.cg +47 -0
  1085. data/deps/share/OGRE/media/materials/programs/DOF_ps.glsles +94 -0
  1086. data/deps/share/OGRE/media/materials/programs/DepthShadowmap.hlsl +309 -0
  1087. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsl +16 -0
  1088. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsles +19 -0
  1089. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsl +24 -0
  1090. data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsles +27 -0
  1091. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsl +84 -0
  1092. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsles +86 -0
  1093. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsl +42 -0
  1094. data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsles +51 -0
  1095. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsl +66 -0
  1096. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsles +67 -0
  1097. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsl +32 -0
  1098. data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsles +42 -0
  1099. data/deps/share/OGRE/media/materials/programs/DitherFP.cg +18 -0
  1100. data/deps/share/OGRE/media/materials/programs/DitherFP.glsles +25 -0
  1101. data/deps/share/OGRE/media/materials/programs/DualQuaternion.cg +159 -0
  1102. data/deps/share/OGRE/media/materials/programs/DualQuaternion.glsl +42 -0
  1103. data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.cg +85 -0
  1104. data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.glsl +70 -0
  1105. data/deps/share/OGRE/media/materials/programs/DualQuaternion_ShadowCaster.glsl +29 -0
  1106. data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhase.glsl +77 -0
  1107. data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhaseShadowCaster.glsl +41 -0
  1108. data/deps/share/OGRE/media/materials/programs/EmbossedFp.glsles +18 -0
  1109. data/deps/share/OGRE/media/materials/programs/Example_Basic.cg +400 -0
  1110. data/deps/share/OGRE/media/materials/programs/Example_Basic.hlsl +273 -0
  1111. data/deps/share/OGRE/media/materials/programs/Example_BasicFp.glsles +620 -0
  1112. data/deps/share/OGRE/media/materials/programs/Example_BasicVp.glsles +620 -0
  1113. data/deps/share/OGRE/media/materials/programs/Example_BumpMapping.cg +235 -0
  1114. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingFp.glsles +29 -0
  1115. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvFp.glsles +34 -0
  1116. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvVp.glsles +55 -0
  1117. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularFp.glsles +41 -0
  1118. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularVp.glsles +50 -0
  1119. data/deps/share/OGRE/media/materials/programs/Example_BumpMappingVp.glsles +50 -0
  1120. data/deps/share/OGRE/media/materials/programs/Example_CelShading.cg +64 -0
  1121. data/deps/share/OGRE/media/materials/programs/Example_CelShadingFp.glsles +25 -0
  1122. data/deps/share/OGRE/media/materials/programs/Example_CelShadingVp.glsles +50 -0
  1123. data/deps/share/OGRE/media/materials/programs/Example_Fresnel.cg +116 -0
  1124. data/deps/share/OGRE/media/materials/programs/Example_FresnelFp.glsles +40 -0
  1125. data/deps/share/OGRE/media/materials/programs/Example_FresnelPS.asm +72 -0
  1126. data/deps/share/OGRE/media/materials/programs/Example_FresnelVp.glsles +39 -0
  1127. data/deps/share/OGRE/media/materials/programs/Example_Projection.cg +28 -0
  1128. data/deps/share/OGRE/media/materials/programs/Example_ProjectionFp.glsles +56 -0
  1129. data/deps/share/OGRE/media/materials/programs/Example_ProjectionVp.glsles +26 -0
  1130. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.asm +10 -0
  1131. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.glsl +17 -0
  1132. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.hlsl4 +33 -0
  1133. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.cg +14 -0
  1134. data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.glsl +11 -0
  1135. data/deps/share/OGRE/media/materials/programs/GlassFP.cg +9 -0
  1136. data/deps/share/OGRE/media/materials/programs/GlassFP.glsles +15 -0
  1137. data/deps/share/OGRE/media/materials/programs/Grass.cg +283 -0
  1138. data/deps/share/OGRE/media/materials/programs/GrassAmbientFp.glsles +22 -0
  1139. data/deps/share/OGRE/media/materials/programs/GrassAmbientVp.glsles +41 -0
  1140. data/deps/share/OGRE/media/materials/programs/GrassCasterFp.glsles +33 -0
  1141. data/deps/share/OGRE/media/materials/programs/GrassCasterVp.glsles +32 -0
  1142. data/deps/share/OGRE/media/materials/programs/GrassFp.glsles +25 -0
  1143. data/deps/share/OGRE/media/materials/programs/GrassReceiverFp.glsles +47 -0
  1144. data/deps/share/OGRE/media/materials/programs/GrassReceiverVp.glsles +57 -0
  1145. data/deps/share/OGRE/media/materials/programs/GrassTexVp.glsles +26 -0
  1146. data/deps/share/OGRE/media/materials/programs/GrassVp.glsles +38 -0
  1147. data/deps/share/OGRE/media/materials/programs/GrayScale.cg +20 -0
  1148. data/deps/share/OGRE/media/materials/programs/GrayScale.glsles +13 -0
  1149. data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.cg +69 -0
  1150. data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.vert +69 -0
  1151. data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.cg +124 -0
  1152. data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.vert +131 -0
  1153. data/deps/share/OGRE/media/materials/programs/HalftoneFP.cg +19 -0
  1154. data/deps/share/OGRE/media/materials/programs/HalftoneFP.glsles +24 -0
  1155. data/deps/share/OGRE/media/materials/programs/HeatBlurFp.glsles +63 -0
  1156. data/deps/share/OGRE/media/materials/programs/HeatBlurVp.glsles +16 -0
  1157. data/deps/share/OGRE/media/materials/programs/HeatCasterFp.glsles +11 -0
  1158. data/deps/share/OGRE/media/materials/programs/HeatCasterVp.glsles +18 -0
  1159. data/deps/share/OGRE/media/materials/programs/HeatVision.cg +230 -0
  1160. data/deps/share/OGRE/media/materials/programs/Instancing.frag +66 -0
  1161. data/deps/share/OGRE/media/materials/programs/Instancing.program +84 -0
  1162. data/deps/share/OGRE/media/materials/programs/InstancingMisc.cg +63 -0
  1163. data/deps/share/OGRE/media/materials/programs/InstancingMisc.vert +62 -0
  1164. data/deps/share/OGRE/media/materials/programs/InstancingVertexInterpolators.cg +34 -0
  1165. data/deps/share/OGRE/media/materials/programs/Instancing_ps.cg +57 -0
  1166. data/deps/share/OGRE/media/materials/programs/InvertFP.cg +6 -0
  1167. data/deps/share/OGRE/media/materials/programs/InvertFP.glsles +13 -0
  1168. data/deps/share/OGRE/media/materials/programs/LaplaceFP.cg +37 -0
  1169. data/deps/share/OGRE/media/materials/programs/LaplaceFP.glsles +40 -0
  1170. data/deps/share/OGRE/media/materials/programs/LightToHeatFp.glsles +39 -0
  1171. data/deps/share/OGRE/media/materials/programs/LightToHeatVp.glsles +17 -0
  1172. data/deps/share/OGRE/media/materials/programs/NightVisionFP.cg +27 -0
  1173. data/deps/share/OGRE/media/materials/programs/NightVisionFP.glsles +26 -0
  1174. data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.frag +71 -0
  1175. data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.vert +91 -0
  1176. data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.frag +76 -0
  1177. data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.vert +101 -0
  1178. data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.frag +85 -0
  1179. data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.vert +108 -0
  1180. data/deps/share/OGRE/media/materials/programs/OffsetMapping.cg +84 -0
  1181. data/deps/share/OGRE/media/materials/programs/OffsetMapping.hlsl +135 -0
  1182. data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsl +69 -0
  1183. data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsles +43 -0
  1184. data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsFp.glsles +70 -0
  1185. data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsVp.glsles +63 -0
  1186. data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsl +54 -0
  1187. data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsles +50 -0
  1188. data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.asm +44 -0
  1189. data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.glsles +49 -0
  1190. data/deps/share/OGRE/media/materials/programs/OldMovieFP.cg +55 -0
  1191. data/deps/share/OGRE/media/materials/programs/OldMovieFP.glsles +58 -0
  1192. data/deps/share/OGRE/media/materials/programs/OldTV.cg +42 -0
  1193. data/deps/share/OGRE/media/materials/programs/ParticleGS.cg +324 -0
  1194. data/deps/share/OGRE/media/materials/programs/ParticleGS.hlsl +316 -0
  1195. data/deps/share/OGRE/media/materials/programs/PassthroughFP.cg +14 -0
  1196. data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsl +9 -0
  1197. data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsles +14 -0
  1198. data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsl +5 -0
  1199. data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsles +13 -0
  1200. data/deps/share/OGRE/media/materials/programs/PosterizeFP.cg +17 -0
  1201. data/deps/share/OGRE/media/materials/programs/PosterizeFP.glsles +22 -0
  1202. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.cg +58 -0
  1203. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.glsles +62 -0
  1204. data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.hlsl +58 -0
  1205. data/deps/share/OGRE/media/materials/programs/ShaderInstancing.cg +101 -0
  1206. data/deps/share/OGRE/media/materials/programs/ShaderInstancing.vert +117 -0
  1207. data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.cg +23 -0
  1208. data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.glsles +31 -0
  1209. data/deps/share/OGRE/media/materials/programs/ShowNormals.glsles +16 -0
  1210. data/deps/share/OGRE/media/materials/programs/ShowTangents.glsles +16 -0
  1211. data/deps/share/OGRE/media/materials/programs/ShowUV.glsles +12 -0
  1212. data/deps/share/OGRE/media/materials/programs/ShowUVdir3D.glsles +14 -0
  1213. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2_vp.glsles +23 -0
  1214. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2a_vp.glsles +23 -0
  1215. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex3_vp.glsles +25 -0
  1216. data/deps/share/OGRE/media/materials/programs/StdQuad_Tex4_vp.glsles +27 -0
  1217. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.cg +113 -0
  1218. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsl +11 -0
  1219. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsles +17 -0
  1220. data/deps/share/OGRE/media/materials/programs/StdQuad_vp.hlsl +20 -0
  1221. data/deps/share/OGRE/media/materials/programs/Swizzle.gp +39 -0
  1222. data/deps/share/OGRE/media/materials/programs/SwizzleGP.cg +14 -0
  1223. data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsl +40 -0
  1224. data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsles +80 -0
  1225. data/deps/share/OGRE/media/materials/programs/TilingFP.cg +33 -0
  1226. data/deps/share/OGRE/media/materials/programs/TilingFP.glsles +36 -0
  1227. data/deps/share/OGRE/media/materials/programs/VTFInstancing.cg +107 -0
  1228. data/deps/share/OGRE/media/materials/programs/VTFInstancing.vert +113 -0
  1229. data/deps/share/OGRE/media/materials/programs/crowdVp.glsl +62 -0
  1230. data/deps/share/OGRE/media/materials/programs/crowdVp.glsles +68 -0
  1231. data/deps/share/OGRE/media/materials/programs/depthshadowobject.cg +185 -0
  1232. data/deps/share/OGRE/media/materials/programs/depthshadowobjectFp.glsles +183 -0
  1233. data/deps/share/OGRE/media/materials/programs/depthshadowobjectVp.glsles +183 -0
  1234. data/deps/share/OGRE/media/materials/programs/hdr.cg +25 -0
  1235. data/deps/share/OGRE/media/materials/programs/hdr.hlsl +165 -0
  1236. data/deps/share/OGRE/media/materials/programs/hdrFp.glsles +15 -0
  1237. data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsl +22 -0
  1238. data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsles +25 -0
  1239. data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsl +24 -0
  1240. data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsles +26 -0
  1241. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsl +26 -0
  1242. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsles +30 -0
  1243. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsl +37 -0
  1244. data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsles +64 -0
  1245. data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsl +28 -0
  1246. data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsles +54 -0
  1247. data/deps/share/OGRE/media/materials/programs/hdr_tonemap_util.glsl +29 -0
  1248. data/deps/share/OGRE/media/materials/programs/hdrutils.hlsl +65 -0
  1249. data/deps/share/OGRE/media/materials/programs/instancing.cg +125 -0
  1250. data/deps/share/OGRE/media/materials/programs/instancingVp.glsl +39 -0
  1251. data/deps/share/OGRE/media/materials/programs/instancingVp.glsles +51 -0
  1252. data/deps/share/OGRE/media/materials/programs/isosurf.cg +155 -0
  1253. data/deps/share/OGRE/media/materials/programs/isosurf.hlsl +145 -0
  1254. data/deps/share/OGRE/media/materials/programs/mrttestfp.hlsl +48 -0
  1255. data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsl +17 -0
  1256. data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsles +20 -0
  1257. data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsl +20 -0
  1258. data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsles +21 -0
  1259. data/deps/share/OGRE/media/materials/programs/oceanGLSL.frag +45 -0
  1260. data/deps/share/OGRE/media/materials/programs/oceanGLSL.vert +32 -0
  1261. data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.frag +45 -0
  1262. data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.vert +41 -0
  1263. data/deps/share/OGRE/media/materials/programs/particlesgs.fx +367 -0
  1264. data/deps/share/OGRE/media/materials/programs/pssm.cg +164 -0
  1265. data/deps/share/OGRE/media/materials/programs/pssm.hlsl +167 -0
  1266. data/deps/share/OGRE/media/materials/programs/pssmCasterFp.glsles +13 -0
  1267. data/deps/share/OGRE/media/materials/programs/pssmCasterVp.glsles +21 -0
  1268. data/deps/share/OGRE/media/materials/programs/pssmFp.glsles +0 -0
  1269. data/deps/share/OGRE/media/materials/programs/pssmReceiverFp.glsles +92 -0
  1270. data/deps/share/OGRE/media/materials/programs/pssmReceiverVp.glsles +63 -0
  1271. data/deps/share/OGRE/media/materials/programs/pssmVp.glsles +0 -0
  1272. data/deps/share/OGRE/media/materials/programs/shadows.cg +144 -0
  1273. data/deps/share/OGRE/media/materials/programs/shadows.glsl +146 -0
  1274. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsl +42 -0
  1275. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsles +46 -0
  1276. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsl +61 -0
  1277. data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsles +63 -0
  1278. data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.cg +65 -0
  1279. data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.glsles +132 -0
  1280. data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.cg +44 -0
  1281. data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.glsles +88 -0
  1282. data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.cg +107 -0
  1283. data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.glsles +214 -0
  1284. data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.cg +47 -0
  1285. data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.glsles +94 -0
  1286. data/deps/share/OGRE/media/materials/scripts/ASCII.material +55 -0
  1287. data/deps/share/OGRE/media/materials/scripts/ASMSwizzle.material +19 -0
  1288. data/deps/share/OGRE/media/materials/scripts/BlackAndWhite.material +45 -0
  1289. data/deps/share/OGRE/media/materials/scripts/Bloom.material +217 -0
  1290. data/deps/share/OGRE/media/materials/scripts/Bloom2.material +360 -0
  1291. data/deps/share/OGRE/media/materials/scripts/CGSwizzle.material +20 -0
  1292. data/deps/share/OGRE/media/materials/scripts/CompositorDemo.material +18 -0
  1293. data/deps/share/OGRE/media/materials/scripts/DOF.material +94 -0
  1294. data/deps/share/OGRE/media/materials/scripts/DepthShadowmap.material +747 -0
  1295. data/deps/share/OGRE/media/materials/scripts/Dither.material +57 -0
  1296. data/deps/share/OGRE/media/materials/scripts/DualQuaternion.material +112 -0
  1297. data/deps/share/OGRE/media/materials/scripts/DualQuaternion.program +154 -0
  1298. data/deps/share/OGRE/media/materials/scripts/Embossed.material +44 -0
  1299. data/deps/share/OGRE/media/materials/scripts/Example-Water.material +183 -0
  1300. data/deps/share/OGRE/media/materials/scripts/Examples-Advanced.material +842 -0
  1301. data/deps/share/OGRE/media/materials/scripts/Examples-DynTex.material +38 -0
  1302. data/deps/share/OGRE/media/materials/scripts/Examples-Water.material +183 -0
  1303. data/deps/share/OGRE/media/materials/scripts/Examples.compositor +788 -0
  1304. data/deps/share/OGRE/media/materials/scripts/Examples.material +2035 -0
  1305. data/deps/share/OGRE/media/materials/scripts/Examples.program +340 -0
  1306. data/deps/share/OGRE/media/materials/scripts/GLSLSwizzle.material +37 -0
  1307. data/deps/share/OGRE/media/materials/scripts/Glass.material +56 -0
  1308. data/deps/share/OGRE/media/materials/scripts/HWInstancing.material +131 -0
  1309. data/deps/share/OGRE/media/materials/scripts/HW_VTFInstancing.material +445 -0
  1310. data/deps/share/OGRE/media/materials/scripts/HW_VTF_LUTInstancing.material +438 -0
  1311. data/deps/share/OGRE/media/materials/scripts/Halftone.material +56 -0
  1312. data/deps/share/OGRE/media/materials/scripts/HeatVision.material +317 -0
  1313. data/deps/share/OGRE/media/materials/scripts/Hurt.material +18 -0
  1314. data/deps/share/OGRE/media/materials/scripts/InstancingMisc.material +81 -0
  1315. data/deps/share/OGRE/media/materials/scripts/Invert.material +47 -0
  1316. data/deps/share/OGRE/media/materials/scripts/IsoSurf.material +127 -0
  1317. data/deps/share/OGRE/media/materials/scripts/Laplace.material +49 -0
  1318. data/deps/share/OGRE/media/materials/scripts/MRTtest.material +133 -0
  1319. data/deps/share/OGRE/media/materials/scripts/MotionBlur.material +101 -0
  1320. data/deps/share/OGRE/media/materials/scripts/NightVision.material +49 -0
  1321. data/deps/share/OGRE/media/materials/scripts/Ocean.controls +90 -0
  1322. data/deps/share/OGRE/media/materials/scripts/Ocean.material +618 -0
  1323. data/deps/share/OGRE/media/materials/scripts/OffsetMapping.material +447 -0
  1324. data/deps/share/OGRE/media/materials/scripts/Ogre.material +66 -0
  1325. data/deps/share/OGRE/media/materials/scripts/OldMovie.material +85 -0
  1326. data/deps/share/OGRE/media/materials/scripts/OldTV.material +59 -0
  1327. data/deps/share/OGRE/media/materials/scripts/ParticleGS.material +200 -0
  1328. data/deps/share/OGRE/media/materials/scripts/Penguin.material +13 -0
  1329. data/deps/share/OGRE/media/materials/scripts/Posterize.material +46 -0
  1330. data/deps/share/OGRE/media/materials/scripts/RZR-002.material +15 -0
  1331. data/deps/share/OGRE/media/materials/scripts/RadialBlur.material +49 -0
  1332. data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.cg +65 -0
  1333. data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.material +57 -0
  1334. data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.cg +88 -0
  1335. data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.material +57 -0
  1336. data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.cg +40 -0
  1337. data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.material +61 -0
  1338. data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.cg +86 -0
  1339. data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.material +60 -0
  1340. data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.cg +95 -0
  1341. data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.material +58 -0
  1342. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAO.compositor +224 -0
  1343. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.cg +153 -0
  1344. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.compositor +77 -0
  1345. data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.material +239 -0
  1346. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.cg +13 -0
  1347. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.material +47 -0
  1348. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.cg +11 -0
  1349. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.material +40 -0
  1350. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.cg +11 -0
  1351. data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.material +40 -0
  1352. data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.cg +79 -0
  1353. data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.material +141 -0
  1354. data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.cg +82 -0
  1355. data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.material +59 -0
  1356. data/deps/share/OGRE/media/materials/scripts/ShaderInstancing.material +380 -0
  1357. data/deps/share/OGRE/media/materials/scripts/ShaderSystem.material +20 -0
  1358. data/deps/share/OGRE/media/materials/scripts/SharpenEdges.material +66 -0
  1359. data/deps/share/OGRE/media/materials/scripts/StdQuad_vp.program +162 -0
  1360. data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleOrg.tai +36 -0
  1361. data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleWrap.tai +36 -0
  1362. data/deps/share/OGRE/media/materials/scripts/Tiling.material +50 -0
  1363. data/deps/share/OGRE/media/materials/scripts/VTFInstancing.material +438 -0
  1364. data/deps/share/OGRE/media/materials/scripts/VarianceShadowmap.material +103 -0
  1365. data/deps/share/OGRE/media/materials/scripts/facial.material +98 -0
  1366. data/deps/share/OGRE/media/materials/scripts/hdr.material +332 -0
  1367. data/deps/share/OGRE/media/materials/scripts/instancing.material +185 -0
  1368. data/deps/share/OGRE/media/materials/scripts/pssm.material +226 -0
  1369. data/deps/share/OGRE/media/materials/scripts/shadows.material +130 -0
  1370. data/deps/share/OGRE/media/materials/scripts/sibenik.material +305 -0
  1371. data/deps/share/OGRE/media/materials/scripts/smoke.material +19 -0
  1372. data/deps/share/OGRE/media/materials/textures/10points.png +0 -0
  1373. data/deps/share/OGRE/media/materials/textures/1D_Noise.png +0 -0
  1374. data/deps/share/OGRE/media/materials/textures/1D_Noise2.png +0 -0
  1375. data/deps/share/OGRE/media/materials/textures/1d_SPIRAL.png +0 -0
  1376. data/deps/share/OGRE/media/materials/textures/1d_debug.png +0 -0
  1377. data/deps/share/OGRE/media/materials/textures/8x8PagesSplotches2.png +0 -0
  1378. data/deps/share/OGRE/media/materials/textures/ASCII.dds +0 -0
  1379. data/deps/share/OGRE/media/materials/textures/BeachStones.jpg +0 -0
  1380. data/deps/share/OGRE/media/materials/textures/BumpyMetal.jpg +0 -0
  1381. data/deps/share/OGRE/media/materials/textures/Chrome.jpg +0 -0
  1382. data/deps/share/OGRE/media/materials/textures/Dirt.jpg +0 -0
  1383. data/deps/share/OGRE/media/materials/textures/Dr_Bunsen_Head.jpg +0 -0
  1384. data/deps/share/OGRE/media/materials/textures/GLX_icon.png +0 -0
  1385. data/deps/share/OGRE/media/materials/textures/GreenSkin.jpg +0 -0
  1386. data/deps/share/OGRE/media/materials/textures/HeatLookup.tga +0 -0
  1387. data/deps/share/OGRE/media/materials/textures/HeatNoise.tga +0 -0
  1388. data/deps/share/OGRE/media/materials/textures/KAMEN-stup.jpg +0 -0
  1389. data/deps/share/OGRE/media/materials/textures/KAMEN320x240-bump.jpg +0 -0
  1390. data/deps/share/OGRE/media/materials/textures/KAMEN320x240.jpg +0 -0
  1391. data/deps/share/OGRE/media/materials/textures/LowRes.png +0 -0
  1392. data/deps/share/OGRE/media/materials/textures/MRAMOR-bump.jpg +0 -0
  1393. data/deps/share/OGRE/media/materials/textures/MRAMOR6X6.jpg +0 -0
  1394. data/deps/share/OGRE/media/materials/textures/MtlPlat2.jpg +0 -0
  1395. data/deps/share/OGRE/media/materials/textures/NMBalls.png +0 -0
  1396. data/deps/share/OGRE/media/materials/textures/NMBumpsOut.png +0 -0
  1397. data/deps/share/OGRE/media/materials/textures/NMHollyBumps.png +0 -0
  1398. data/deps/share/OGRE/media/materials/textures/NMStripes.png +0 -0
  1399. data/deps/share/OGRE/media/materials/textures/NPRMetallic.tga +0 -0
  1400. data/deps/share/OGRE/media/materials/textures/NoiseVolume.dds +0 -0
  1401. data/deps/share/OGRE/media/materials/textures/Panels_Diffuse.png +0 -0
  1402. data/deps/share/OGRE/media/materials/textures/Panels_Normal_Obj.png +0 -0
  1403. data/deps/share/OGRE/media/materials/textures/Panels_Normal_Tangent.png +0 -0
  1404. data/deps/share/OGRE/media/materials/textures/Panels_reflection.png +0 -0
  1405. data/deps/share/OGRE/media/materials/textures/Panels_refmask.png +0 -0
  1406. data/deps/share/OGRE/media/materials/textures/RZR-002.png +0 -0
  1407. data/deps/share/OGRE/media/materials/textures/Random3D.dds +0 -0
  1408. data/deps/share/OGRE/media/materials/textures/RustedMetal.jpg +0 -0
  1409. data/deps/share/OGRE/media/materials/textures/RustyBarrel.png +0 -0
  1410. data/deps/share/OGRE/media/materials/textures/RustySteel.jpg +0 -0
  1411. data/deps/share/OGRE/media/materials/textures/SSAO/4InterleavedKMeansDisk8x4.png +0 -0
  1412. data/deps/share/OGRE/media/materials/textures/SSAO/gray256.png +0 -0
  1413. data/deps/share/OGRE/media/materials/textures/SSAO/importance4InterleavedSphereHemisphere8x4.png +0 -0
  1414. data/deps/share/OGRE/media/materials/textures/SSAO/rand1x32.png +0 -0
  1415. data/deps/share/OGRE/media/materials/textures/SSAO/randCosSinJitter4x4.png +0 -0
  1416. data/deps/share/OGRE/media/materials/textures/SSAO/regularSphereJittered4.png +0 -0
  1417. data/deps/share/OGRE/media/materials/textures/Sepia1D.tga +0 -0
  1418. data/deps/share/OGRE/media/materials/textures/SmallLeaf_BP.png +0 -0
  1419. data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleOrg0.png +0 -0
  1420. data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleWrap0.png +0 -0
  1421. data/deps/share/OGRE/media/materials/textures/Water01.jpg +0 -0
  1422. data/deps/share/OGRE/media/materials/textures/Water02.jpg +0 -0
  1423. data/deps/share/OGRE/media/materials/textures/WaterNormal1.tga +0 -0
  1424. data/deps/share/OGRE/media/materials/textures/WaterNormal2.tga +0 -0
  1425. data/deps/share/OGRE/media/materials/textures/WoodPallet.png +0 -0
  1426. data/deps/share/OGRE/media/materials/textures/atheneNormalMap.png +0 -0
  1427. data/deps/share/OGRE/media/materials/textures/aureola.png +0 -0
  1428. data/deps/share/OGRE/media/materials/textures/basic_droplet.png +0 -0
  1429. data/deps/share/OGRE/media/materials/textures/blue_jaiqua.jpg +0 -0
  1430. data/deps/share/OGRE/media/materials/textures/cel_shading_diffuse.png +0 -0
  1431. data/deps/share/OGRE/media/materials/textures/cel_shading_edge.png +0 -0
  1432. data/deps/share/OGRE/media/materials/textures/cel_shading_specular.png +0 -0
  1433. data/deps/share/OGRE/media/materials/textures/checker.png +0 -0
  1434. data/deps/share/OGRE/media/materials/textures/circuit.dds +0 -0
  1435. data/deps/share/OGRE/media/materials/textures/clouds.jpg +0 -0
  1436. data/deps/share/OGRE/media/materials/textures/cursor.png +0 -0
  1437. data/deps/share/OGRE/media/materials/textures/dark_grid.png +0 -0
  1438. data/deps/share/OGRE/media/materials/textures/dirt01.jpg +0 -0
  1439. data/deps/share/OGRE/media/materials/textures/dkyellow.png +0 -0
  1440. data/deps/share/OGRE/media/materials/textures/droplet.png +0 -0
  1441. data/deps/share/OGRE/media/materials/textures/egyptrockyfull.jpg +0 -0
  1442. data/deps/share/OGRE/media/materials/textures/flare.png +0 -0
  1443. data/deps/share/OGRE/media/materials/textures/flare_alpha.dds +0 -0
  1444. data/deps/share/OGRE/media/materials/textures/flaretrail.png +0 -0
  1445. data/deps/share/OGRE/media/materials/textures/frost.png +0 -0
  1446. data/deps/share/OGRE/media/materials/textures/fw12b.jpg +0 -0
  1447. data/deps/share/OGRE/media/materials/textures/gras_02.png +0 -0
  1448. data/deps/share/OGRE/media/materials/textures/grassWalpha.tga +0 -0
  1449. data/deps/share/OGRE/media/materials/textures/grass_1024.jpg +0 -0
  1450. data/deps/share/OGRE/media/materials/textures/img1.png +0 -0
  1451. data/deps/share/OGRE/media/materials/textures/img2.png +0 -0
  1452. data/deps/share/OGRE/media/materials/textures/leaf.png +0 -0
  1453. data/deps/share/OGRE/media/materials/textures/nm_bk.png +0 -0
  1454. data/deps/share/OGRE/media/materials/textures/nm_dn.png +0 -0
  1455. data/deps/share/OGRE/media/materials/textures/nm_fr.png +0 -0
  1456. data/deps/share/OGRE/media/materials/textures/nm_lf.png +0 -0
  1457. data/deps/share/OGRE/media/materials/textures/nm_rt.png +0 -0
  1458. data/deps/share/OGRE/media/materials/textures/nm_up.png +0 -0
  1459. data/deps/share/OGRE/media/materials/textures/normalNoiseColor.png +0 -0
  1460. data/deps/share/OGRE/media/materials/textures/nskingr.jpg +0 -0
  1461. data/deps/share/OGRE/media/materials/textures/nvidia/TextureUsageAgreement.txt +26 -0
  1462. data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_diffusespecular.dds +0 -0
  1463. data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_normalheight.dds +0 -0
  1464. data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_diffusespecular.dds +0 -0
  1465. data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_normalheight.dds +0 -0
  1466. data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_diffusespecular.dds +0 -0
  1467. data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_normalheight.dds +0 -0
  1468. data/deps/share/OGRE/media/materials/textures/ogreborder.png +0 -0
  1469. data/deps/share/OGRE/media/materials/textures/ogreborderUp.png +0 -0
  1470. data/deps/share/OGRE/media/materials/textures/ogrebordercenter.png +0 -0
  1471. data/deps/share/OGRE/media/materials/textures/ogregui.tga +0 -0
  1472. data/deps/share/OGRE/media/materials/textures/ogrelogo-small.jpg +0 -0
  1473. data/deps/share/OGRE/media/materials/textures/ogrelogo.png +0 -0
  1474. data/deps/share/OGRE/media/materials/textures/particle.dds +0 -0
  1475. data/deps/share/OGRE/media/materials/textures/penguin.jpg +0 -0
  1476. data/deps/share/OGRE/media/materials/textures/perlinvolume.dds +0 -0
  1477. data/deps/share/OGRE/media/materials/textures/r2skin.jpg +0 -0
  1478. data/deps/share/OGRE/media/materials/textures/radial.png +0 -0
  1479. data/deps/share/OGRE/media/materials/textures/random.png +0 -0
  1480. data/deps/share/OGRE/media/materials/textures/ribbonband.png +0 -0
  1481. data/deps/share/OGRE/media/materials/textures/rockwall.tga +0 -0
  1482. data/deps/share/OGRE/media/materials/textures/rockwall_NH.tga +0 -0
  1483. data/deps/share/OGRE/media/materials/textures/scr-back.png +0 -0
  1484. data/deps/share/OGRE/media/materials/textures/scr-down-p.png +0 -0
  1485. data/deps/share/OGRE/media/materials/textures/scr-down.png +0 -0
  1486. data/deps/share/OGRE/media/materials/textures/scr-thumb.png +0 -0
  1487. data/deps/share/OGRE/media/materials/textures/scr-up-p.png +0 -0
  1488. data/deps/share/OGRE/media/materials/textures/scr-up.png +0 -0
  1489. data/deps/share/OGRE/media/materials/textures/smoke.png +0 -0
  1490. data/deps/share/OGRE/media/materials/textures/smokecolors.png +0 -0
  1491. data/deps/share/OGRE/media/materials/textures/snow_1024.jpg +0 -0
  1492. data/deps/share/OGRE/media/materials/textures/spacesky.jpg +0 -0
  1493. data/deps/share/OGRE/media/materials/textures/spheremap.png +0 -0
  1494. data/deps/share/OGRE/media/materials/textures/spine_strips.dds +0 -0
  1495. data/deps/share/OGRE/media/materials/textures/spotlight_image.png +0 -0
  1496. data/deps/share/OGRE/media/materials/textures/steelhead.png +0 -0
  1497. data/deps/share/OGRE/media/materials/textures/strugotine.jpg +0 -0
  1498. data/deps/share/OGRE/media/materials/textures/terr_dirt-grass.jpg +0 -0
  1499. data/deps/share/OGRE/media/materials/textures/terr_rock-dirt.jpg +0 -0
  1500. data/deps/share/OGRE/media/materials/textures/terr_rock6.jpg +0 -0
  1501. data/deps/share/OGRE/media/materials/textures/terrain.png +0 -0
  1502. data/deps/share/OGRE/media/materials/textures/terrain_detail.jpg +0 -0
  1503. data/deps/share/OGRE/media/materials/textures/terrain_texture.jpg +0 -0
  1504. data/deps/share/OGRE/media/materials/textures/texmap2.jpg +0 -0
  1505. data/deps/share/OGRE/media/materials/textures/tusk.jpg +0 -0
  1506. data/deps/share/OGRE/media/materials/textures/waveNM.png +0 -0
  1507. data/deps/share/OGRE/media/materials/textures/waves2.dds +0 -0
  1508. data/deps/share/OGRE/media/materials/textures/white.bmp +0 -0
  1509. data/deps/share/OGRE/media/models/Barrel.mesh +0 -0
  1510. data/deps/share/OGRE/media/models/RZR-002.mesh +0 -0
  1511. data/deps/share/OGRE/media/models/ShaderSystem.mesh +0 -0
  1512. data/deps/share/OGRE/media/models/WoodPallet.mesh +0 -0
  1513. data/deps/share/OGRE/media/models/athene.mesh +0 -0
  1514. data/deps/share/OGRE/media/models/column.mesh +0 -0
  1515. data/deps/share/OGRE/media/models/cornell.mesh +0 -0
  1516. data/deps/share/OGRE/media/models/cube.mesh +0 -0
  1517. data/deps/share/OGRE/media/models/facial.mesh +0 -0
  1518. data/deps/share/OGRE/media/models/fish.mesh +0 -0
  1519. data/deps/share/OGRE/media/models/fish.skeleton +0 -0
  1520. data/deps/share/OGRE/media/models/geosphere4500.mesh +0 -0
  1521. data/deps/share/OGRE/media/models/geosphere8000.mesh +0 -0
  1522. data/deps/share/OGRE/media/models/jaiqua.mesh +0 -0
  1523. data/deps/share/OGRE/media/models/jaiqua.skeleton +0 -0
  1524. data/deps/share/OGRE/media/models/knot.mesh +0 -0
  1525. data/deps/share/OGRE/media/models/ninja.mesh +0 -0
  1526. data/deps/share/OGRE/media/models/ninja.skeleton +0 -0
  1527. data/deps/share/OGRE/media/models/ogrehead.mesh +0 -0
  1528. data/deps/share/OGRE/media/models/penguin.mesh +0 -0
  1529. data/deps/share/OGRE/media/models/penguin.skeleton +0 -0
  1530. data/deps/share/OGRE/media/models/razor.mesh +0 -0
  1531. data/deps/share/OGRE/media/models/robot.mesh +0 -0
  1532. data/deps/share/OGRE/media/models/robot.skeleton +0 -0
  1533. data/deps/share/OGRE/media/models/sibenik.mesh +0 -0
  1534. data/deps/share/OGRE/media/models/sphere.mesh +0 -0
  1535. data/deps/share/OGRE/media/models/spine.mesh +0 -0
  1536. data/deps/share/OGRE/media/models/spine.mesh.skeleton +0 -0
  1537. data/deps/share/OGRE/media/models/tudorhouse.mesh +0 -0
  1538. data/deps/share/OGRE/media/packs/SdkTrays.zip +0 -0
  1539. data/deps/share/OGRE/media/packs/Sinbad.zip +0 -0
  1540. data/deps/share/OGRE/media/packs/chiropteraDM.pk3 +0 -0
  1541. data/deps/share/OGRE/media/packs/chiropteraDM.txt +99 -0
  1542. data/deps/share/OGRE/media/packs/cubemap.zip +0 -0
  1543. data/deps/share/OGRE/media/packs/cubemapsJS.zip +0 -0
  1544. data/deps/share/OGRE/media/packs/dragon.zip +0 -0
  1545. data/deps/share/OGRE/media/packs/fresneldemo.zip +0 -0
  1546. data/deps/share/OGRE/media/packs/ogredance.zip +0 -0
  1547. data/deps/share/OGRE/media/packs/ogretestmap.zip +0 -0
  1548. data/deps/share/OGRE/media/packs/skybox.zip +0 -0
  1549. data/deps/share/OGRE/media/particle/Examples-Water.particle +35 -0
  1550. data/deps/share/OGRE/media/particle/Examples.particle +381 -0
  1551. data/deps/share/OGRE/media/particle/emitted_emitter.particle +56 -0
  1552. data/deps/share/OGRE/media/particle/smoke.particle +44 -0
  1553. data/deps/share/OGRE/media/terrain.cfg +71 -0
  1554. data/deps/share/OGRE/media/thumbnails/thumb_bezier.png +0 -0
  1555. data/deps/share/OGRE/media/thumbnails/thumb_bsp.png +0 -0
  1556. data/deps/share/OGRE/media/thumbnails/thumb_bump.png +0 -0
  1557. data/deps/share/OGRE/media/thumbnails/thumb_camtrack.png +0 -0
  1558. data/deps/share/OGRE/media/thumbnails/thumb_cel.png +0 -0
  1559. data/deps/share/OGRE/media/thumbnails/thumb_char.png +0 -0
  1560. data/deps/share/OGRE/media/thumbnails/thumb_comp.png +0 -0
  1561. data/deps/share/OGRE/media/thumbnails/thumb_cubemap.png +0 -0
  1562. data/deps/share/OGRE/media/thumbnails/thumb_deferred.png +0 -0
  1563. data/deps/share/OGRE/media/thumbnails/thumb_dualquaternionskinning.png +0 -0
  1564. data/deps/share/OGRE/media/thumbnails/thumb_dyntex.png +0 -0
  1565. data/deps/share/OGRE/media/thumbnails/thumb_error.png +0 -0
  1566. data/deps/share/OGRE/media/thumbnails/thumb_facial.png +0 -0
  1567. data/deps/share/OGRE/media/thumbnails/thumb_fresnel.png +0 -0
  1568. data/deps/share/OGRE/media/thumbnails/thumb_grass.png +0 -0
  1569. data/deps/share/OGRE/media/thumbnails/thumb_instancing.png +0 -0
  1570. data/deps/share/OGRE/media/thumbnails/thumb_isosurf.png +0 -0
  1571. data/deps/share/OGRE/media/thumbnails/thumb_lighting.png +0 -0
  1572. data/deps/share/OGRE/media/thumbnails/thumb_newinstancing.png +0 -0
  1573. data/deps/share/OGRE/media/thumbnails/thumb_ocean.png +0 -0
  1574. data/deps/share/OGRE/media/thumbnails/thumb_particlegs.png +0 -0
  1575. data/deps/share/OGRE/media/thumbnails/thumb_particles.png +0 -0
  1576. data/deps/share/OGRE/media/thumbnails/thumb_playpen.png +0 -0
  1577. data/deps/share/OGRE/media/thumbnails/thumb_shadersystem.png +0 -0
  1578. data/deps/share/OGRE/media/thumbnails/thumb_shadows.png +0 -0
  1579. data/deps/share/OGRE/media/thumbnails/thumb_skelanim.png +0 -0
  1580. data/deps/share/OGRE/media/thumbnails/thumb_skybox.png +0 -0
  1581. data/deps/share/OGRE/media/thumbnails/thumb_skydome.png +0 -0
  1582. data/deps/share/OGRE/media/thumbnails/thumb_skyplane.png +0 -0
  1583. data/deps/share/OGRE/media/thumbnails/thumb_smoke.png +0 -0
  1584. data/deps/share/OGRE/media/thumbnails/thumb_spheremap.png +0 -0
  1585. data/deps/share/OGRE/media/thumbnails/thumb_ssao.png +0 -0
  1586. data/deps/share/OGRE/media/thumbnails/thumb_terrain.png +0 -0
  1587. data/deps/share/OGRE/media/thumbnails/thumb_texarray.png +0 -0
  1588. data/deps/share/OGRE/media/thumbnails/thumb_texfx.png +0 -0
  1589. data/deps/share/OGRE/media/thumbnails/thumb_trans.png +0 -0
  1590. data/deps/share/OGRE/media/thumbnails/thumb_visual_tests.png +0 -0
  1591. data/deps/share/OGRE/media/thumbnails/thumb_voltex.png +0 -0
  1592. data/deps/share/OGRE/media/thumbnails/thumb_water.png +0 -0
  1593. data/lib/OIS.so +0 -0
  1594. data/lib/Ogre.so +0 -0
  1595. data/lib/OgreBites.so +0 -0
  1596. data/lib/OgreConfig.rb +37 -0
  1597. data/lib/Procedural.so +0 -0
  1598. data/lib/Version.rb +5 -0
  1599. data/sample/Charactor/CameraMover.rb +184 -0
  1600. data/sample/Charactor/Sinbad.rb +246 -0
  1601. data/sample/Charactor/SinbadCharacter.rb +379 -0
  1602. data/sample/Charactor/UiListener.rb +65 -0
  1603. data/sample/Charactor/plugins.cfg +17 -0
  1604. data/sample/Charactor/resources.cfg +22 -0
  1605. data/sample/Charactor/sinbad +5 -0
  1606. data/sample/Charactor/sinbad.win +5 -0
  1607. metadata +1651 -0
@@ -0,0 +1,1572 @@
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
+ #ifndef __RenderSystem_H_
29
+ #define __RenderSystem_H_
30
+
31
+ // Precompiler options
32
+ #include "OgrePrerequisites.h"
33
+
34
+ #include "OgreString.h"
35
+
36
+ #include "OgreTextureUnitState.h"
37
+ #include "OgreCommon.h"
38
+
39
+ #include "OgreMaterialManager.h"
40
+ #include "OgreRenderOperation.h"
41
+ #include "OgreRenderSystemCapabilities.h"
42
+ #include "OgreRenderTarget.h"
43
+ #include "OgreRenderTexture.h"
44
+ #include "OgreFrameListener.h"
45
+ #include "OgreConfigOptionMap.h"
46
+ #include "OgreGpuProgram.h"
47
+ #include "OgrePlane.h"
48
+ #include "OgreIteratorWrappers.h"
49
+
50
+ namespace Ogre
51
+ {
52
+ /** \addtogroup Core
53
+ * @{
54
+ */
55
+ /** \addtogroup RenderSystem
56
+ * @{
57
+ */
58
+
59
+ typedef vector<DepthBuffer*>::type DepthBufferVec;
60
+ typedef map< uint16, DepthBufferVec >::type DepthBufferMap;
61
+ typedef map< String, RenderTarget * >::type RenderTargetMap;
62
+ typedef multimap<uchar, RenderTarget * >::type RenderTargetPriorityMap;
63
+
64
+ class TextureManager;
65
+ /// Enum describing the ways to generate texture coordinates
66
+ enum TexCoordCalcMethod
67
+ {
68
+ /// No calculated texture coordinates
69
+ TEXCALC_NONE,
70
+ /// Environment map based on vertex normals
71
+ TEXCALC_ENVIRONMENT_MAP,
72
+ /// Environment map based on vertex positions
73
+ TEXCALC_ENVIRONMENT_MAP_PLANAR,
74
+ TEXCALC_ENVIRONMENT_MAP_REFLECTION,
75
+ TEXCALC_ENVIRONMENT_MAP_NORMAL,
76
+ /// Projective texture
77
+ TEXCALC_PROJECTIVE_TEXTURE
78
+ };
79
+ /// Enum describing the various actions which can be taken onthe stencil buffer
80
+ enum StencilOperation
81
+ {
82
+ /// Leave the stencil buffer unchanged
83
+ SOP_KEEP,
84
+ /// Set the stencil value to zero
85
+ SOP_ZERO,
86
+ /// Set the stencil value to the reference value
87
+ SOP_REPLACE,
88
+ /// Increase the stencil value by 1, clamping at the maximum value
89
+ SOP_INCREMENT,
90
+ /// Decrease the stencil value by 1, clamping at 0
91
+ SOP_DECREMENT,
92
+ /// Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value
93
+ SOP_INCREMENT_WRAP,
94
+ /// Decrease the stencil value by 1, wrapping when decrementing 0
95
+ SOP_DECREMENT_WRAP,
96
+ /// Invert the bits of the stencil buffer
97
+ SOP_INVERT
98
+ };
99
+
100
+
101
+ /** Defines the functionality of a 3D API
102
+ @remarks
103
+ The RenderSystem class provides a base interface
104
+ which abstracts the general functionality of the 3D API
105
+ e.g. Direct3D or OpenGL. Whilst a few of the general
106
+ methods have implementations, most of this class is
107
+ abstract, requiring a subclass based on a specific API
108
+ to be constructed to provide the full functionality.
109
+ Note there are 2 levels to the interface - one which
110
+ will be used often by the caller of the Ogre library,
111
+ and one which is at a lower level and will be used by the
112
+ other classes provided by Ogre. These lower level
113
+ methods are prefixed with '_' to differentiate them.
114
+ The advanced user of the library may use these lower
115
+ level methods to access the 3D API at a more fundamental
116
+ level (dealing direct with render states and rendering
117
+ primitives), but still benefiting from Ogre's abstraction
118
+ of exactly which 3D API is in use.
119
+ @author
120
+ Steven Streeting
121
+ @version
122
+ 1.0
123
+ */
124
+ class _OgreExport RenderSystem : public RenderSysAlloc
125
+ {
126
+ public:
127
+ /** Default Constructor.
128
+ */
129
+ RenderSystem();
130
+
131
+ /** Destructor.
132
+ */
133
+ virtual ~RenderSystem();
134
+
135
+ /** Returns the name of the rendering system.
136
+ */
137
+ virtual const String& getName(void) const = 0;
138
+
139
+ /** Returns the details of this API's configuration options
140
+ @remarks
141
+ Each render system must be able to inform the world
142
+ of what options must/can be specified for it's
143
+ operation.
144
+ @par
145
+ These are passed as strings for portability, but
146
+ grouped into a structure (_ConfigOption) which includes
147
+ both options and current value.
148
+ @par
149
+ Note that the settings returned from this call are
150
+ affected by the options that have been set so far,
151
+ since some options are interdependent.
152
+ @par
153
+ This routine is called automatically by the default
154
+ configuration dialogue produced by Root::showConfigDialog
155
+ or may be used by the caller for custom settings dialogs
156
+ @return
157
+ A 'map' of options, i.e. a list of options which is also
158
+ indexed by option name.
159
+ */
160
+ virtual ConfigOptionMap& getConfigOptions(void) = 0;
161
+
162
+ /** Sets an option for this API
163
+ @remarks
164
+ Used to confirm the settings (normally chosen by the user) in
165
+ order to make the renderer able to initialise with the settings as required.
166
+ This may be video mode, D3D driver, full screen / windowed etc.
167
+ Called automatically by the default configuration
168
+ dialog, and by the restoration of saved settings.
169
+ These settings are stored and only activated when
170
+ RenderSystem::initialise or RenderSystem::reinitialise
171
+ are called.
172
+ @par
173
+ If using a custom configuration dialog, it is advised that the
174
+ caller calls RenderSystem::getConfigOptions
175
+ again, since some options can alter resulting from a selection.
176
+ @param
177
+ name The name of the option to alter.
178
+ @param
179
+ value The value to set the option to.
180
+ */
181
+ virtual void setConfigOption(const String &name, const String &value) = 0;
182
+
183
+ /** Create an object for performing hardware occlusion queries.
184
+ */
185
+ virtual HardwareOcclusionQuery* createHardwareOcclusionQuery(void) = 0;
186
+
187
+ /** Destroy a hardware occlusion query object.
188
+ */
189
+ virtual void destroyHardwareOcclusionQuery(HardwareOcclusionQuery *hq);
190
+
191
+ /** Validates the options set for the rendering system, returning a message if there are problems.
192
+ @note
193
+ If the returned string is empty, there are no problems.
194
+ */
195
+ virtual String validateConfigOptions(void) = 0;
196
+
197
+ /** Start up the renderer using the settings selected (Or the defaults if none have been selected).
198
+ @remarks
199
+ Called by Root::setRenderSystem. Shouldn't really be called
200
+ directly, although this can be done if the app wants to.
201
+ @param
202
+ autoCreateWindow If true, creates a render window
203
+ automatically, based on settings chosen so far. This saves
204
+ an extra call to _createRenderWindow
205
+ for the main render window.
206
+ @par
207
+ If an application has more specific window requirements,
208
+ however (e.g. a level design app), it should specify false
209
+ for this parameter and do it manually.
210
+ @return
211
+ A pointer to the automatically created window, if requested, otherwise null.
212
+ */
213
+ virtual RenderWindow* _initialise(bool autoCreateWindow, const String& windowTitle = "OGRE Render Window");
214
+
215
+
216
+ /** Query the real capabilities of the GPU and driver in the RenderSystem*/
217
+ virtual RenderSystemCapabilities* createRenderSystemCapabilities() const = 0;
218
+
219
+ /** Get a pointer to the current capabilities being used by the RenderSystem.
220
+ @remarks
221
+ The capabilities may be modified using this pointer, this will only have an effect
222
+ before the RenderSystem has been initialised. It's intended use is to allow a
223
+ listener of the RenderSystemCapabilitiesCreated event to customise the capabilities
224
+ on the fly before the RenderSystem is initialised.
225
+ */
226
+ RenderSystemCapabilities* getMutableCapabilities(){ return mCurrentCapabilities; }
227
+
228
+ /** Force the render system to use the special capabilities. Can only be called
229
+ * before the render system has been fully initializer (before createWindow is called)
230
+ * @param
231
+ * capabilities has to be a subset of the real capabilities and the caller is
232
+ * responsible for deallocating capabilities.
233
+ */
234
+ virtual void useCustomRenderSystemCapabilities(RenderSystemCapabilities* capabilities);
235
+
236
+ /** Restart the renderer (normally following a change in settings).
237
+ */
238
+ virtual void reinitialise(void) = 0;
239
+
240
+ /** Shutdown the renderer and cleanup resources.
241
+ */
242
+ virtual void shutdown(void);
243
+
244
+
245
+ /** Sets the colour & strength of the ambient (global directionless) light in the world.
246
+ */
247
+ virtual void setAmbientLight(float r, float g, float b) = 0;
248
+
249
+ /** Sets the type of light shading required (default = Gouraud).
250
+ */
251
+ virtual void setShadingType(ShadeOptions so) = 0;
252
+
253
+ /** Sets whether or not dynamic lighting is enabled.
254
+ @param
255
+ enabled If true, dynamic lighting is performed on geometry with normals supplied, geometry without
256
+ normals will not be displayed. If false, no lighting is applied and all geometry will be full brightness.
257
+ */
258
+ virtual void setLightingEnabled(bool enabled) = 0;
259
+
260
+ /** Sets whether or not W-buffers are enabled if they are available for this renderer.
261
+ @param
262
+ enabled If true and the renderer supports them W-buffers will be used. If false
263
+ W-buffers will not be used even if available. W-buffers are enabled by default
264
+ for 16bit depth buffers and disabled for all other depths.
265
+ */
266
+ void setWBufferEnabled(bool enabled);
267
+
268
+ /** Returns true if the renderer will try to use W-buffers when avalible.
269
+ */
270
+ bool getWBufferEnabled(void) const;
271
+
272
+ /** Creates a new rendering window.
273
+ @remarks
274
+ This method creates a new rendering window as specified
275
+ by the paramteters. The rendering system could be
276
+ responible for only a single window (e.g. in the case
277
+ of a game), or could be in charge of multiple ones (in the
278
+ case of a level editor). The option to create the window
279
+ as a child of another is therefore given.
280
+ This method will create an appropriate subclass of
281
+ RenderWindow depending on the API and platform implementation.
282
+ @par
283
+ After creation, this window can be retrieved using getRenderTarget().
284
+ @param
285
+ name The name of the window. Used in other methods
286
+ later like setRenderTarget and getRenderTarget.
287
+ @param
288
+ width The width of the new window.
289
+ @param
290
+ height The height of the new window.
291
+ @param
292
+ fullScreen Specify true to make the window full screen
293
+ without borders, title bar or menu bar.
294
+ @param
295
+ miscParams A NameValuePairList describing the other parameters for the new rendering window.
296
+ Options are case sensitive. Unrecognised parameters will be ignored silently.
297
+ These values might be platform dependent, but these are present for all platforms unless
298
+ indicated otherwise:
299
+ <table>
300
+ <tr>
301
+ <td><b>Key</b></td>
302
+ <td><b>Type/Values</b></td>
303
+ <td><b>Default</b></td>
304
+ <td><b>Description</b></td>
305
+ <td><b>Notes</b></td>
306
+ </tr>
307
+ <tr>
308
+ <td>title</td>
309
+ <td>Any string</td>
310
+ <td>RenderTarget name</td>
311
+ <td>The title of the window that will appear in the title bar</td>
312
+ <td>&nbsp;</td>
313
+ </tr>
314
+ <tr>
315
+ <td>colourDepth</td>
316
+ <td>16, 32</td>
317
+ <td>Desktop depth</td>
318
+ <td>Colour depth of the resulting rendering window; only applies if fullScreen</td>
319
+ <td>Win32 Specific</td>
320
+ </tr>
321
+ <tr>
322
+ <td>left</td>
323
+ <td>Positive integers</td>
324
+ <td>Centred</td>
325
+ <td>Screen x coordinate from left</td>
326
+ <td>&nbsp;</td>
327
+ </tr>
328
+ <tr>
329
+ <td>top</td>
330
+ <td>Positive integers</td>
331
+ <td>Centred</td>
332
+ <td>Screen y coordinate from left</td>
333
+ <td>&nbsp;</td>
334
+ </tr>
335
+ <tr>
336
+ <td>depthBuffer</td>
337
+ <td>true, false</td>
338
+ <td>true</td>
339
+ <td>Use depth buffer</td>
340
+ <td>DirectX9 specific</td>
341
+ </tr>
342
+ <tr>
343
+ <td>externalWindowHandle</td>
344
+ <td>Win32: HWND as integer<br/>
345
+ GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)<br/>
346
+ OS X: WindowRef for Carbon or NSWindow for Cocoa address as an integer
347
+ iOS: UIWindow address as an integer
348
+ </td>
349
+ <td>0 (none)</td>
350
+ <td>External window handle, for embedding the OGRE render in an existing window</td>
351
+ <td>&nbsp;</td>
352
+ </tr>
353
+ <tr>
354
+ <td>externalGLControl</td>
355
+ <td>true, false</td>
356
+ <td>false</td>
357
+ <td>Let the external window control OpenGL i.e. don't select a pixel format for the window,
358
+ do not change v-sync and do not swap buffer. When set to true, the calling application
359
+ is responsible of OpenGL initialization and buffer swapping. It should also create an
360
+ OpenGL context for its own rendering, Ogre will create one for its use. Then the calling
361
+ application must also enable Ogre OpenGL context before calling any Ogre function and
362
+ restore its OpenGL context after these calls.</td>
363
+ <td>OpenGL specific</td>
364
+ </tr>
365
+ <tr>
366
+ <td>externalGLContext</td>
367
+ <td>Context as Unsigned Long</td>
368
+ <td>0 (create own context)</td>
369
+ <td>Use an externally created GL context</td>
370
+ <td>OpenGL Specific</td>
371
+ </tr>
372
+ <tr>
373
+ <td>parentWindowHandle</td>
374
+ <td>Win32: HWND as integer<br/>
375
+ GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)</td>
376
+ <td>0 (none)</td>
377
+ <td>Parent window handle, for embedding the OGRE in a child of an external window</td>
378
+ <td>&nbsp;</td>
379
+ </tr>
380
+ <tr>
381
+ <td>macAPI</td>
382
+ <td>String: "cocoa" or "carbon"</td>
383
+ <td>"carbon"</td>
384
+ <td>Specifies the type of rendering window on the Mac Platform.</td>
385
+ <td>Mac OS X Specific</td>
386
+ <td>&nbsp;</td>
387
+ </tr>
388
+ <tr>
389
+ <td>macAPICocoaUseNSView</td>
390
+ <td>bool "true" or "false"</td>
391
+ <td>"false"</td>
392
+ <td>On the Mac platform the most diffused method to embed OGRE in a custom application is to use Interface Builder
393
+ and add to the interface an instance of OgreView.
394
+ The pointer to this instance is then used as "externalWindowHandle".
395
+ However, there are cases where you are NOT using Interface Builder and you get the Cocoa NSView* of an existing interface.
396
+ For example, this is happens when you want to render into a Java/AWT interface.
397
+ In short, by setting this flag to "true" the Ogre::Root::createRenderWindow interprets the "externalWindowHandle" as a NSView*
398
+ instead of an OgreView*. See OgreOSXCocoaView.h/mm.
399
+ </td>
400
+ <td>Mac OS X Specific</td>
401
+ <td>&nbsp;</td>
402
+ </tr>
403
+ <tr>
404
+ <td>contentScalingFactor</td>
405
+ <td>Positive Float greater than 1.0</td>
406
+ <td>The default content scaling factor of the screen</td>
407
+ <td>Specifies the CAEAGLLayer content scaling factor. Only supported on iOS 4 or greater.
408
+ This can be useful to limit the resolution of the OpenGL ES backing store. For example, the iPhone 4's
409
+ native resolution is 960 x 640. Windows are always 320 x 480, if you would like to limit the display
410
+ to 720 x 480, specify 1.5 as the scaling factor.
411
+ </td>
412
+ <td>iOS Specific</td>
413
+ <td>&nbsp;</td>
414
+ </tr>
415
+ <tr>
416
+ <td>externalViewHandle</td>
417
+ <td>UIView pointer as an integer</td>
418
+ <td>0</td>
419
+ <td>External view handle, for rendering OGRE render in an existing view</td>
420
+ <td>iOS Specific</td>
421
+ <td>&nbsp;</td>
422
+ </tr>
423
+ <tr>
424
+ <td>externalViewControllerHandle</td>
425
+ <td>UIViewController pointer as an integer</td>
426
+ <td>0</td>
427
+ <td>External view controller handle, for embedding OGRE in an existing view controller</td>
428
+ <td>iOS Specific</td>
429
+ <td>&nbsp;</td>
430
+ </tr>
431
+ <tr>
432
+ <td>FSAA</td>
433
+ <td>Positive integer (usually 0, 2, 4, 8, 16)</td>
434
+ <td>0</td>
435
+ <td>Full screen antialiasing factor</td>
436
+ <td>&nbsp;</td>
437
+ </tr>
438
+ <tr>
439
+ <td>FSAAHint</td>
440
+ <td>Depends on RenderSystem and hardware. Currently supports:<br/>
441
+ "Quality": on systems that have an option to prefer higher AA quality over speed, use it</td>
442
+ <td>Blank</td>
443
+ <td>Full screen antialiasing hint</td>
444
+ <td>&nbsp;</td>
445
+ </tr>
446
+ <tr>
447
+ <td>displayFrequency</td>
448
+ <td>Refresh rate in Hertz (e.g. 60, 75, 100)</td>
449
+ <td>Desktop vsync rate</td>
450
+ <td>Display frequency rate, for fullscreen mode</td>
451
+ <td>&nbsp;</td>
452
+ </tr>
453
+ <tr>
454
+ <td>vsync</td>
455
+ <td>true, false</td>
456
+ <td>false</td>
457
+ <td>Synchronize buffer swaps to monitor vsync, eliminating tearing at the expense of a fixed frame rate</td>
458
+ <td>&nbsp;</td>
459
+ </tr>
460
+ <tr>
461
+ <td>vsyncInterval</td>
462
+ <td>1, 2, 3, 4</td>
463
+ <td>1</td>
464
+ <td>If vsync is enabled, the minimum number of vertical blanks that should occur between renders.
465
+ For example if vsync is enabled, the refresh rate is 60 and this is set to 2, then the
466
+ frame rate will be locked at 30.</td>
467
+ <td>&nbsp;</td>
468
+ </tr>
469
+ <tr>
470
+ <td>border</td>
471
+ <td>none, fixed, resize</td>
472
+ <td>resize</td>
473
+ <td>The type of window border (in windowed mode)</td>
474
+ <td>&nbsp;</td>
475
+ </tr>
476
+ <tr>
477
+ <td>outerDimensions</td>
478
+ <td>true, false</td>
479
+ <td>false</td>
480
+ <td>Whether the width/height is expressed as the size of the
481
+ outer window, rather than the content area</td>
482
+ <td>&nbsp;</td>
483
+ </tr>
484
+ <tr>
485
+ <td>useNVPerfHUD</td>
486
+ <td>true, false</td>
487
+ <td>false</td>
488
+ <td>Enable the use of nVidia NVPerfHUD</td>
489
+ <td>&nbsp;</td>
490
+ </tr>
491
+ <tr>
492
+ <td>gamma</td>
493
+ <td>true, false</td>
494
+ <td>false</td>
495
+ <td>Enable hardware conversion from linear colour space to gamma
496
+ colour space on rendering to the window.</td>
497
+ <td>&nbsp;</td>
498
+ </tr>
499
+ <tr>
500
+ <td>enableDoubleClick</td>
501
+ <td>true, false</td>
502
+ <td>false</td>
503
+ <td>Enable the window to keep track and transmit double click messages.</td>
504
+ <td>Win32 Specific</td>
505
+ </tr>
506
+
507
+ */
508
+ virtual RenderWindow* _createRenderWindow(const String &name, unsigned int width, unsigned int height,
509
+ bool fullScreen, const NameValuePairList *miscParams = 0) = 0;
510
+
511
+ /** Creates multiple rendering windows.
512
+ @param
513
+ renderWindowDescriptions Array of structures containing the descriptions of each render window.
514
+ The structure's members are the same as the parameters of _createRenderWindow:
515
+ * name
516
+ * width
517
+ * height
518
+ * fullScreen
519
+ * miscParams
520
+ See _createRenderWindow for details about each member.
521
+ @param
522
+ createdWindows This array will hold the created render windows.
523
+ @return
524
+ true on success.
525
+ */
526
+ virtual bool _createRenderWindows(const RenderWindowDescriptionList& renderWindowDescriptions,
527
+ RenderWindowList& createdWindows);
528
+
529
+
530
+ /** Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures
531
+ at once. Surfaces can be bound and unbound at will.
532
+ This fails if mCapabilities->getNumMultiRenderTargets() is smaller than 2.
533
+ */
534
+ virtual MultiRenderTarget * createMultiRenderTarget(const String & name) = 0;
535
+
536
+ /** Destroys a render window */
537
+ virtual void destroyRenderWindow(const String& name);
538
+ /** Destroys a render texture */
539
+ virtual void destroyRenderTexture(const String& name);
540
+ /** Destroys a render target of any sort */
541
+ virtual void destroyRenderTarget(const String& name);
542
+
543
+ /** Attaches the passed render target to the render system.
544
+ */
545
+ virtual void attachRenderTarget( RenderTarget &target );
546
+ /** Returns a pointer to the render target with the passed name, or NULL if that
547
+ render target cannot be found.
548
+ */
549
+ virtual RenderTarget * getRenderTarget( const String &name );
550
+ /** Detaches the render target with the passed name from the render system and
551
+ returns a pointer to it.
552
+ @note
553
+ If the render target cannot be found, NULL is returned.
554
+ */
555
+ virtual RenderTarget * detachRenderTarget( const String &name );
556
+
557
+ /// Iterator over RenderTargets
558
+ typedef MapIterator<Ogre::RenderTargetMap> RenderTargetIterator;
559
+
560
+ /** Returns a specialised MapIterator over all render targets attached to the RenderSystem. */
561
+ virtual RenderTargetIterator getRenderTargetIterator(void) {
562
+ return RenderTargetIterator( mRenderTargets.begin(), mRenderTargets.end() );
563
+ }
564
+ /** Returns a description of an error code.
565
+ */
566
+ virtual String getErrorDescription(long errorNumber) const = 0;
567
+
568
+ /** Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers.
569
+ @remarks
570
+ By default, all rendering windows wait for a vertical blank (when the CRT beam turns off briefly to move
571
+ from the bottom right of the screen back to the top left) before flipping the screen buffers. This ensures
572
+ that the image you see on the screen is steady. However it restricts the frame rate to the refresh rate of
573
+ the monitor, and can slow the frame rate down. You can speed this up by not waiting for the blank, but
574
+ this has the downside of introducing 'tearing' artefacts where part of the previous frame is still displayed
575
+ as the buffers are switched. Speed vs quality, you choose.
576
+ @note
577
+ Has NO effect on windowed mode render targets. Only affects fullscreen mode.
578
+ @param
579
+ enabled If true, the system waits for vertical blanks - quality over speed. If false it doesn't - speed over quality.
580
+ */
581
+ void setWaitForVerticalBlank(bool enabled);
582
+
583
+ /** Returns true if the system is synchronising frames with the monitor vertical blank.
584
+ */
585
+ bool getWaitForVerticalBlank(void) const;
586
+
587
+ /** Returns the global instance vertex buffer.
588
+ */
589
+ HardwareVertexBufferSharedPtr getGlobalInstanceVertexBuffer() const;
590
+ /** Sets the global instance vertex buffer.
591
+ */
592
+ void setGlobalInstanceVertexBuffer(const HardwareVertexBufferSharedPtr val);
593
+ /** Gets vertex declaration for the global vertex buffer for the global instancing
594
+ */
595
+ VertexDeclaration* getGlobalInstanceVertexBufferVertexDeclaration() const;
596
+ /** Sets vertex declaration for the global vertex buffer for the global instancing
597
+ */
598
+ void setGlobalInstanceVertexBufferVertexDeclaration( VertexDeclaration* val);
599
+ /** Gets the global number of instances.
600
+ */
601
+ size_t getGlobalNumberOfInstances() const;
602
+ /** Sets the global number of instances.
603
+ */
604
+ void setGlobalNumberOfInstances(const size_t val);
605
+
606
+ #ifdef RTSHADER_SYSTEM_BUILD_CORE_SHADERS
607
+ /** Sets if fixed pipeline rendering is enabled on the system.
608
+ */
609
+ void setFixedPipelineEnabled(bool enabled);
610
+
611
+ /** Returns true if fixed pipeline rendering is enabled on the system.
612
+ */
613
+ bool getFixedPipelineEnabled(void) const;
614
+ #endif
615
+
616
+ /** Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget
617
+ and sets it.
618
+ @remarks
619
+ RenderTarget's pool ID is respected. @see RenderTarget::setDepthBufferPool()
620
+ */
621
+ virtual void setDepthBufferFor( RenderTarget *renderTarget );
622
+
623
+ // ------------------------------------------------------------------------
624
+ // Internal Rendering Access
625
+ // All methods below here are normally only called by other OGRE classes
626
+ // They can be called by library user if required
627
+ // ------------------------------------------------------------------------
628
+
629
+
630
+ /** Tells the rendersystem to use the attached set of lights (and no others)
631
+ up to the number specified (this allows the same list to be used with different
632
+ count limits) */
633
+ virtual void _useLights(const LightList& lights, unsigned short limit) = 0;
634
+ /** Are fixed-function lights provided in view space? Affects optimisation.
635
+ */
636
+ virtual bool areFixedFunctionLightsInViewSpace() const { return false; }
637
+ /** Sets the world transform matrix. */
638
+ virtual void _setWorldMatrix(const Matrix4 &m) = 0;
639
+ /** Sets multiple world matrices (vertex blending). */
640
+ virtual void _setWorldMatrices(const Matrix4* m, unsigned short count);
641
+ /** Sets the view transform matrix */
642
+ virtual void _setViewMatrix(const Matrix4 &m) = 0;
643
+ /** Sets the projection transform matrix */
644
+ virtual void _setProjectionMatrix(const Matrix4 &m) = 0;
645
+ /** Utility function for setting all the properties of a texture unit at once.
646
+ This method is also worth using over the individual texture unit settings because it
647
+ only sets those settings which are different from the current settings for this
648
+ unit, thus minimising render state changes.
649
+ */
650
+ virtual void _setTextureUnitSettings(size_t texUnit, TextureUnitState& tl);
651
+ /** Turns off a texture unit. */
652
+ virtual void _disableTextureUnit(size_t texUnit);
653
+ /** Disables all texture units from the given unit upwards */
654
+ virtual void _disableTextureUnitsFrom(size_t texUnit);
655
+ /** Sets the surface properties to be used for future rendering.
656
+
657
+ This method sets the the properties of the surfaces of objects
658
+ to be rendered after it. In this context these surface properties
659
+ are the amount of each type of light the object reflects (determining
660
+ it's colour under different types of light), whether it emits light
661
+ itself, and how shiny it is. Textures are not dealt with here,
662
+ see the _setTetxure method for details.
663
+ This method is used by _setMaterial so does not need to be called
664
+ direct if that method is being used.
665
+
666
+ @param ambient The amount of ambient (sourceless and directionless)
667
+ light an object reflects. Affected by the colour/amount of ambient light in the scene.
668
+ @param diffuse The amount of light from directed sources that is
669
+ reflected (affected by colour/amount of point, directed and spot light sources)
670
+ @param specular The amount of specular light reflected. This is also
671
+ affected by directed light sources but represents the colour at the
672
+ highlights of the object.
673
+ @param emissive The colour of light emitted from the object. Note that
674
+ this will make an object seem brighter and not dependent on lights in
675
+ the scene, but it will not act as a light, so will not illuminate other
676
+ objects. Use a light attached to the same SceneNode as the object for this purpose.
677
+ @param shininess A value which only has an effect on specular highlights (so
678
+ specular must be non-black). The higher this value, the smaller and crisper the
679
+ specular highlights will be, imitating a more highly polished surface.
680
+ This value is not constrained to 0.0-1.0, in fact it is likely to
681
+ be more (10.0 gives a modest sheen to an object).
682
+ @param tracking A bit field that describes which of the ambient, diffuse, specular
683
+ and emissive colours follow the vertex colour of the primitive. When a bit in this field is set
684
+ its ColourValue is ignored. This is a combination of TVC_AMBIENT, TVC_DIFFUSE, TVC_SPECULAR(note that the shininess value is still
685
+ taken from shininess) and TVC_EMISSIVE. TVC_NONE means that there will be no material property
686
+ tracking the vertex colours.
687
+ */
688
+ virtual void _setSurfaceParams(const ColourValue &ambient,
689
+ const ColourValue &diffuse, const ColourValue &specular,
690
+ const ColourValue &emissive, Real shininess,
691
+ TrackVertexColourType tracking = TVC_NONE) = 0;
692
+
693
+ /** Sets whether or not rendering points using OT_POINT_LIST will
694
+ render point sprites (textured quads) or plain points.
695
+ @param enabled True enables point sprites, false returns to normal
696
+ point rendering.
697
+ */
698
+ virtual void _setPointSpritesEnabled(bool enabled) = 0;
699
+
700
+ /** Sets the size of points and how they are attenuated with distance.
701
+ @remarks
702
+ When performing point rendering or point sprite rendering,
703
+ point size can be attenuated with distance. The equation for
704
+ doing this is attenuation = 1 / (constant + linear * dist + quadratic * d^2) .
705
+ @par
706
+ For example, to disable distance attenuation (constant screensize)
707
+ you would set constant to 1, and linear and quadratic to 0. A
708
+ standard perspective attenuation would be 0, 1, 0 respectively.
709
+ */
710
+ virtual void _setPointParameters(Real size, bool attenuationEnabled,
711
+ Real constant, Real linear, Real quadratic, Real minSize, Real maxSize) = 0;
712
+
713
+
714
+ /**
715
+ Sets the texture to bind to a given texture unit.
716
+
717
+ User processes would not normally call this direct unless rendering
718
+ primitives themselves.
719
+
720
+ @param unit The index of the texture unit to modify. Multitexturing
721
+ hardware can support multiple units (see
722
+ RenderSystemCapabilites::getNumTextureUnits)
723
+ @param enabled Boolean to turn the unit on/off
724
+ @param texPtr Pointer to the texture to use.
725
+ */
726
+ virtual void _setTexture(size_t unit, bool enabled,
727
+ const TexturePtr &texPtr) = 0;
728
+ /**
729
+ Sets the texture to bind to a given texture unit.
730
+
731
+ User processes would not normally call this direct unless rendering
732
+ primitives themselves.
733
+
734
+ @param unit The index of the texture unit to modify. Multitexturing
735
+ hardware can support multiple units (see
736
+ RenderSystemCapabilites::getNumTextureUnits)
737
+ @param enabled Boolean to turn the unit on/off
738
+ @param texname The name of the texture to use - this should have
739
+ already been loaded with TextureManager::load.
740
+ */
741
+ virtual void _setTexture(size_t unit, bool enabled, const String &texname);
742
+
743
+ /** Binds a texture to a vertex sampler.
744
+ @remarks
745
+ Not all rendersystems support separate vertex samplers. For those that
746
+ do, you can set a texture for them, separate to the regular texture
747
+ samplers, using this method. For those that don't, you should use the
748
+ regular texture samplers which are shared between the vertex and
749
+ fragment units; calling this method will throw an exception.
750
+ @see RenderSystemCapabilites::getVertexTextureUnitsShared
751
+ */
752
+ virtual void _setVertexTexture(size_t unit, const TexturePtr& tex);
753
+
754
+ /**
755
+ Sets the texture coordinate set to use for a texture unit.
756
+
757
+ Meant for use internally - not generally used directly by apps - the Material and TextureUnitState
758
+ classes let you manage textures far more easily.
759
+
760
+ @param unit Texture unit as above
761
+ @param index The index of the texture coordinate set to use.
762
+ */
763
+ virtual void _setTextureCoordSet(size_t unit, size_t index) = 0;
764
+
765
+ /**
766
+ Sets a method for automatically calculating texture coordinates for a stage.
767
+ Should not be used by apps - for use by Ogre only.
768
+ @param unit Texture unit as above
769
+ @param m Calculation method to use
770
+ @param frustum Optional Frustum param, only used for projective effects
771
+ */
772
+ virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m,
773
+ const Frustum* frustum = 0) = 0;
774
+
775
+ /** Sets the texture blend modes from a TextureUnitState record.
776
+ Meant for use internally only - apps should use the Material
777
+ and TextureUnitState classes.
778
+ @param unit Texture unit as above
779
+ @param bm Details of the blending mode
780
+ */
781
+ virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx& bm) = 0;
782
+
783
+ /** Sets the filtering options for a given texture unit.
784
+ @param unit The texture unit to set the filtering options for
785
+ @param minFilter The filter used when a texture is reduced in size
786
+ @param magFilter The filter used when a texture is magnified
787
+ @param mipFilter The filter used between mipmap levels, FO_NONE disables mipmapping
788
+ */
789
+ virtual void _setTextureUnitFiltering(size_t unit, FilterOptions minFilter,
790
+ FilterOptions magFilter, FilterOptions mipFilter);
791
+
792
+ /** Sets a single filter for a given texture unit.
793
+ @param unit The texture unit to set the filtering options for
794
+ @param ftype The filter type
795
+ @param filter The filter to be used
796
+ */
797
+ virtual void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter) = 0;
798
+
799
+ /** Sets the maximal anisotropy for the specified texture unit.*/
800
+ virtual void _setTextureLayerAnisotropy(size_t unit, unsigned int maxAnisotropy) = 0;
801
+
802
+ /** Sets the texture addressing mode for a texture unit.*/
803
+ virtual void _setTextureAddressingMode(size_t unit, const TextureUnitState::UVWAddressingMode& uvw) = 0;
804
+
805
+ /** Sets the texture border colour for a texture unit.*/
806
+ virtual void _setTextureBorderColour(size_t unit, const ColourValue& colour) = 0;
807
+
808
+ /** Sets the mipmap bias value for a given texture unit.
809
+ @remarks
810
+ This allows you to adjust the mipmap calculation up or down for a
811
+ given texture unit. Negative values force a larger mipmap to be used,
812
+ positive values force a smaller mipmap to be used. Units are in numbers
813
+ of levels, so +1 forces the mipmaps to one smaller level.
814
+ @note Only does something if render system has capability RSC_MIPMAP_LOD_BIAS.
815
+ */
816
+ virtual void _setTextureMipmapBias(size_t unit, float bias) = 0;
817
+
818
+ /** Sets the texture coordinate transformation matrix for a texture unit.
819
+ @param unit Texture unit to affect
820
+ @param xform The 4x4 matrix
821
+ */
822
+ virtual void _setTextureMatrix(size_t unit, const Matrix4& xform) = 0;
823
+
824
+ /** Sets the global blending factors for combining subsequent renders with the existing frame contents.
825
+ The result of the blending operation is:</p>
826
+ <p align="center">final = (texture * sourceFactor) + (pixel * destFactor)</p>
827
+ Each of the factors is specified as one of a number of options, as specified in the SceneBlendFactor
828
+ enumerated type.
829
+ By changing the operation you can change addition between the source and destination pixels to a different operator.
830
+ @param sourceFactor The source factor in the above calculation, i.e. multiplied by the texture colour components.
831
+ @param destFactor The destination factor in the above calculation, i.e. multiplied by the pixel colour components.
832
+ @param op The blend operation mode for combining pixels
833
+ */
834
+ virtual void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op = SBO_ADD) = 0;
835
+
836
+ /** Sets the global blending factors for combining subsequent renders with the existing frame contents.
837
+ The result of the blending operation is:</p>
838
+ <p align="center">final = (texture * sourceFactor) + (pixel * destFactor)</p>
839
+ Each of the factors is specified as one of a number of options, as specified in the SceneBlendFactor
840
+ enumerated type.
841
+ @param sourceFactor The source factor in the above calculation, i.e. multiplied by the texture colour components.
842
+ @param destFactor The destination factor in the above calculation, i.e. multiplied by the pixel colour components.
843
+ @param sourceFactorAlpha The source factor in the above calculation for the alpha channel, i.e. multiplied by the texture alpha components.
844
+ @param destFactorAlpha The destination factor in the above calculation for the alpha channel, i.e. multiplied by the pixel alpha components.
845
+ @param op The blend operation mode for combining pixels
846
+ @param alphaOp The blend operation mode for combining pixel alpha values
847
+ */
848
+ virtual void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha,
849
+ SceneBlendFactor destFactorAlpha, SceneBlendOperation op = SBO_ADD, SceneBlendOperation alphaOp = SBO_ADD) = 0;
850
+
851
+ /** Sets the global alpha rejection approach for future renders.
852
+ By default images are rendered regardless of texture alpha. This method lets you change that.
853
+ @param func The comparison function which must pass for a pixel to be written.
854
+ @param val The value to compare each pixels alpha value to (0-255)
855
+ @param alphaToCoverage Whether to enable alpha to coverage, if supported
856
+ */
857
+ virtual void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage) = 0;
858
+
859
+ /** Notify the rendersystem that it should adjust texture projection to be
860
+ relative to a different origin.
861
+ */
862
+ virtual void _setTextureProjectionRelativeTo(bool enabled, const Vector3& pos);
863
+
864
+ /** Creates a DepthBuffer that can be attached to the specified RenderTarget
865
+ @remarks
866
+ It doesn't attach anything, it just returns a pointer to a new DepthBuffer
867
+ Caller is responsible for putting this buffer into the right pool, for
868
+ attaching, and deleting it. Here's where API-specific magic happens.
869
+ Don't call this directly unless you know what you're doing.
870
+ */
871
+ virtual DepthBuffer* _createDepthBufferFor( RenderTarget *renderTarget ) = 0;
872
+
873
+ /** Removes all depth buffers. Should be called on device lost and shutdown
874
+ @remarks
875
+ Advanced users can call this directly with bCleanManualBuffers=false to
876
+ remove all depth buffers created for RTTs; when they think the pool has
877
+ grown too big or they've used lots of depth buffers they don't need anymore,
878
+ freeing GPU RAM.
879
+ */
880
+ void _cleanupDepthBuffers( bool bCleanManualBuffers=true );
881
+
882
+ /**
883
+ * Signifies the beginning of a frame, i.e. the start of rendering on a single viewport. Will occur
884
+ * several times per complete frame if multiple viewports exist.
885
+ */
886
+ virtual void _beginFrame(void) = 0;
887
+
888
+ //Dummy structure for render system contexts - implementing RenderSystems can extend
889
+ //as needed
890
+ struct RenderSystemContext { };
891
+ /**
892
+ * Pause rendering for a frame. This has to be called after _beginFrame and before _endFrame.
893
+ * Will usually be called by the SceneManager, don't use this manually unless you know what
894
+ * you are doing.
895
+ */
896
+ virtual RenderSystemContext* _pauseFrame(void);
897
+ /**
898
+ * Resume rendering for a frame. This has to be called after a _pauseFrame call
899
+ * Will usually be called by the SceneManager, don't use this manually unless you know what
900
+ * you are doing.
901
+ * @param context the render system context, as returned by _pauseFrame
902
+ */
903
+ virtual void _resumeFrame(RenderSystemContext* context);
904
+
905
+ /**
906
+ * Ends rendering of a frame to the current viewport.
907
+ */
908
+ virtual void _endFrame(void) = 0;
909
+ /**
910
+ Sets the provided viewport as the active one for future
911
+ rendering operations. This viewport is aware of it's own
912
+ camera and render target. Must be implemented by subclass.
913
+
914
+ @param target Pointer to the appropriate viewport.
915
+ */
916
+ virtual void _setViewport(Viewport *vp) = 0;
917
+ /** Get the current active viewport for rendering. */
918
+ virtual Viewport* _getViewport(void);
919
+
920
+ /** Sets the culling mode for the render system based on the 'vertex winding'.
921
+ A typical way for the rendering engine to cull triangles is based on the
922
+ 'vertex winding' of triangles. Vertex winding refers to the direction in
923
+ which the vertices are passed or indexed to in the rendering operation as viewed
924
+ from the camera, and will wither be clockwise or anticlockwise (that's 'counterclockwise' for
925
+ you Americans out there ;) The default is CULL_CLOCKWISE i.e. that only triangles whose vertices
926
+ are passed/indexed in anticlockwise order are rendered - this is a common approach and is used in 3D studio models
927
+ for example. You can alter this culling mode if you wish but it is not advised unless you know what you are doing.
928
+ You may wish to use the CULL_NONE option for mesh data that you cull yourself where the vertex
929
+ winding is uncertain.
930
+ */
931
+ virtual void _setCullingMode(CullingMode mode) = 0;
932
+
933
+ virtual CullingMode _getCullingMode(void) const;
934
+
935
+ /** Sets the mode of operation for depth buffer tests from this point onwards.
936
+ Sometimes you may wish to alter the behaviour of the depth buffer to achieve
937
+ special effects. Because it's unlikely that you'll set these options for an entire frame,
938
+ but rather use them to tweak settings between rendering objects, this is an internal
939
+ method (indicated by the '_' prefix) which will be used by a SceneManager implementation
940
+ rather than directly from the client application.
941
+ If this method is never called the settings are automatically the same as the default parameters.
942
+ @param depthTest If true, the depth buffer is tested for each pixel and the frame buffer is only updated
943
+ if the depth function test succeeds. If false, no test is performed and pixels are always written.
944
+ @param depthWrite If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds.
945
+ If false, the depth buffer is left unchanged even if a new pixel is written.
946
+ @param depthFunction Sets the function required for the depth test.
947
+ */
948
+ virtual void _setDepthBufferParams(bool depthTest = true, bool depthWrite = true, CompareFunction depthFunction = CMPF_LESS_EQUAL) = 0;
949
+
950
+ /** Sets whether or not the depth buffer check is performed before a pixel write.
951
+ @param enabled If true, the depth buffer is tested for each pixel and the frame buffer is only updated
952
+ if the depth function test succeeds. If false, no test is performed and pixels are always written.
953
+ */
954
+ virtual void _setDepthBufferCheckEnabled(bool enabled = true) = 0;
955
+ /** Sets whether or not the depth buffer is updated after a pixel write.
956
+ @param enabled If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds.
957
+ If false, the depth buffer is left unchanged even if a new pixel is written.
958
+ */
959
+ virtual void _setDepthBufferWriteEnabled(bool enabled = true) = 0;
960
+ /** Sets the comparison function for the depth buffer check.
961
+ Advanced use only - allows you to choose the function applied to compare the depth values of
962
+ new and existing pixels in the depth buffer. Only an issue if the deoth buffer check is enabled
963
+ (see _setDepthBufferCheckEnabled)
964
+ @param func The comparison between the new depth and the existing depth which must return true
965
+ for the new pixel to be written.
966
+ */
967
+ virtual void _setDepthBufferFunction(CompareFunction func = CMPF_LESS_EQUAL) = 0;
968
+ /** Sets whether or not colour buffer writing is enabled, and for which channels.
969
+ @remarks
970
+ For some advanced effects, you may wish to turn off the writing of certain colour
971
+ channels, or even all of the colour channels so that only the depth buffer is updated
972
+ in a rendering pass. However, the chances are that you really want to use this option
973
+ through the Material class.
974
+ @param red, green, blue, alpha Whether writing is enabled for each of the 4 colour channels. */
975
+ virtual void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha) = 0;
976
+ /** Sets the depth bias, NB you should use the Material version of this.
977
+ @remarks
978
+ When polygons are coplanar, you can get problems with 'depth fighting' where
979
+ the pixels from the two polys compete for the same screen pixel. This is particularly
980
+ a problem for decals (polys attached to another surface to represent details such as
981
+ bulletholes etc.).
982
+ @par
983
+ A way to combat this problem is to use a depth bias to adjust the depth buffer value
984
+ used for the decal such that it is slightly higher than the true value, ensuring that
985
+ the decal appears on top.
986
+ @note
987
+ The final bias value is a combination of a constant bias and a bias proportional
988
+ to the maximum depth slope of the polygon being rendered. The final bias
989
+ is constantBias + slopeScaleBias * maxslope. Slope scale biasing is
990
+ generally preferable but is not available on older hardware.
991
+ @param constantBias The constant bias value, expressed as a value in
992
+ homogeneous depth coordinates.
993
+ @param slopeScaleBias The bias value which is factored by the maximum slope
994
+ of the polygon, see the description above. This is not supported by all
995
+ cards.
996
+
997
+ */
998
+ virtual void _setDepthBias(float constantBias, float slopeScaleBias = 0.0f) = 0;
999
+ /** Sets the fogging mode for future geometry.
1000
+ @param mode Set up the mode of fog as described in the FogMode enum, or set to FOG_NONE to turn off.
1001
+ @param colour The colour of the fog. Either set this to the same as your viewport background colour,
1002
+ or to blend in with a skydome or skybox.
1003
+ @param expDensity The density of the fog in FOG_EXP or FOG_EXP2 mode, as a value between 0 and 1. The default is 1. i.e. completely opaque, lower values can mean
1004
+ that fog never completely obscures the scene.
1005
+ @param linearStart Distance at which linear fog starts to encroach. The distance must be passed
1006
+ as a parametric value between 0 and 1, with 0 being the near clipping plane, and 1 being the far clipping plane. Only applicable if mode is FOG_LINEAR.
1007
+ @param linearEnd Distance at which linear fog becomes completely opaque.The distance must be passed
1008
+ as a parametric value between 0 and 1, with 0 being the near clipping plane, and 1 being the far clipping plane. Only applicable if mode is FOG_LINEAR.
1009
+ */
1010
+ virtual void _setFog(FogMode mode = FOG_NONE, const ColourValue& colour = ColourValue::White, Real expDensity = 1.0, Real linearStart = 0.0, Real linearEnd = 1.0) = 0;
1011
+
1012
+
1013
+ /** The RenderSystem will keep a count of tris rendered, this resets the count. */
1014
+ virtual void _beginGeometryCount(void);
1015
+ /** Reports the number of tris rendered since the last _beginGeometryCount call. */
1016
+ virtual unsigned int _getFaceCount(void) const;
1017
+ /** Reports the number of batches rendered since the last _beginGeometryCount call. */
1018
+ virtual unsigned int _getBatchCount(void) const;
1019
+ /** Reports the number of vertices passed to the renderer since the last _beginGeometryCount call. */
1020
+ virtual unsigned int _getVertexCount(void) const;
1021
+
1022
+ /** Generates a packed data version of the passed in ColourValue suitable for
1023
+ use as with this RenderSystem.
1024
+ @remarks
1025
+ Since different render systems have different colour data formats (eg
1026
+ RGBA for GL, ARGB for D3D) this method allows you to use 1 method for all.
1027
+ @param colour The colour to convert
1028
+ @param pDest Pointer to location to put the result.
1029
+ */
1030
+ virtual void convertColourValue(const ColourValue& colour, uint32* pDest);
1031
+ /** Get the native VertexElementType for a compact 32-bit colour value
1032
+ for this rendersystem.
1033
+ */
1034
+ virtual VertexElementType getColourVertexElementType(void) const = 0;
1035
+
1036
+ /** Converts a uniform projection matrix to suitable for this render system.
1037
+ @remarks
1038
+ Because different APIs have different requirements (some incompatible) for the
1039
+ projection matrix, this method allows each to implement their own correctly and pass
1040
+ back a generic OGRE matrix for storage in the engine.
1041
+ */
1042
+ virtual void _convertProjectionMatrix(const Matrix4& matrix,
1043
+ Matrix4& dest, bool forGpuProgram = false) = 0;
1044
+
1045
+ /** Builds a perspective projection matrix suitable for this render system.
1046
+ @remarks
1047
+ Because different APIs have different requirements (some incompatible) for the
1048
+ projection matrix, this method allows each to implement their own correctly and pass
1049
+ back a generic OGRE matrix for storage in the engine.
1050
+ */
1051
+ virtual void _makeProjectionMatrix(const Radian& fovy, Real aspect, Real nearPlane, Real farPlane,
1052
+ Matrix4& dest, bool forGpuProgram = false) = 0;
1053
+
1054
+ /** Builds a perspective projection matrix for the case when frustum is
1055
+ not centered around camera.
1056
+ @remarks
1057
+ Viewport coordinates are in camera coordinate frame, i.e. camera is
1058
+ at the origin.
1059
+ */
1060
+ virtual void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top,
1061
+ Real nearPlane, Real farPlane, Matrix4& dest, bool forGpuProgram = false) = 0;
1062
+ /** Builds an orthographic projection matrix suitable for this render system.
1063
+ @remarks
1064
+ Because different APIs have different requirements (some incompatible) for the
1065
+ projection matrix, this method allows each to implement their own correctly and pass
1066
+ back a generic OGRE matrix for storage in the engine.
1067
+ */
1068
+ virtual void _makeOrthoMatrix(const Radian& fovy, Real aspect, Real nearPlane, Real farPlane,
1069
+ Matrix4& dest, bool forGpuProgram = false) = 0;
1070
+
1071
+ /** Update a perspective projection matrix to use 'oblique depth projection'.
1072
+ @remarks
1073
+ This method can be used to change the nature of a perspective
1074
+ transform in order to make the near plane not perpendicular to the
1075
+ camera view direction, but to be at some different orientation.
1076
+ This can be useful for performing arbitrary clipping (e.g. to a
1077
+ reflection plane) which could otherwise only be done using user
1078
+ clip planes, which are more expensive, and not necessarily supported
1079
+ on all cards.
1080
+ @param matrix The existing projection matrix. Note that this must be a
1081
+ perspective transform (not orthographic), and must not have already
1082
+ been altered by this method. The matrix will be altered in-place.
1083
+ @param plane The plane which is to be used as the clipping plane. This
1084
+ plane must be in CAMERA (view) space.
1085
+ @param forGpuProgram Is this for use with a Gpu program or fixed-function
1086
+ */
1087
+ virtual void _applyObliqueDepthProjection(Matrix4& matrix, const Plane& plane,
1088
+ bool forGpuProgram) = 0;
1089
+
1090
+ /** Sets how to rasterise triangles, as points, wireframe or solid polys. */
1091
+ virtual void _setPolygonMode(PolygonMode level) = 0;
1092
+
1093
+ /** Turns stencil buffer checking on or off.
1094
+ @remarks
1095
+ Stencilling (masking off areas of the rendering target based on the stencil
1096
+ buffer) can be turned on or off using this method. By default, stencilling is
1097
+ disabled.
1098
+ */
1099
+ virtual void setStencilCheckEnabled(bool enabled) = 0;
1100
+ /** Determines if this system supports hardware accelerated stencil buffer.
1101
+ @remarks
1102
+ Note that the lack of this function doesn't mean you can't do stencilling, but
1103
+ the stencilling operations will be provided in software, which will NOT be
1104
+ fast.
1105
+ @par
1106
+ Generally hardware stencils are only supported in 32-bit colour modes, because
1107
+ the stencil buffer shares the memory of the z-buffer, and in most cards the
1108
+ z-buffer has to be the same depth as the colour buffer. This means that in 32-bit
1109
+ mode, 24 bits of the z-buffer are depth and 8 bits are stencil. In 16-bit mode there
1110
+ is no room for a stencil (although some cards support a 15:1 depth:stencil option,
1111
+ this isn't useful for very much) so 8 bits of stencil are provided in software.
1112
+ This can mean that if you use stencilling, your applications may be faster in
1113
+ 32-but colour than in 16-bit, which may seem odd to some people.
1114
+ */
1115
+ /*virtual bool hasHardwareStencil(void) = 0;*/
1116
+
1117
+ /** This method allows you to set all the stencil buffer parameters in one call.
1118
+ @remarks
1119
+ The stencil buffer is used to mask out pixels in the render target, allowing
1120
+ you to do effects like mirrors, cut-outs, stencil shadows and more. Each of
1121
+ your batches of rendering is likely to ignore the stencil buffer,
1122
+ update it with new values, or apply it to mask the output of the render.
1123
+ The stencil test is:<PRE>
1124
+ (Reference Value & Mask) CompareFunction (Stencil Buffer Value & Mask)</PRE>
1125
+ The result of this will cause one of 3 actions depending on whether the test fails,
1126
+ succeeds but with the depth buffer check still failing, or succeeds with the
1127
+ depth buffer check passing too.
1128
+ @par
1129
+ Unlike other render states, stencilling is left for the application to turn
1130
+ on and off when it requires. This is because you are likely to want to change
1131
+ parameters between batches of arbitrary objects and control the ordering yourself.
1132
+ In order to batch things this way, you'll want to use OGRE's separate render queue
1133
+ groups (see RenderQueue) and register a RenderQueueListener to get notifications
1134
+ between batches.
1135
+ @par
1136
+ There are individual state change methods for each of the parameters set using
1137
+ this method.
1138
+ Note that the default values in this method represent the defaults at system
1139
+ start up too.
1140
+ @param func The comparison function applied.
1141
+ @param refValue The reference value used in the comparison
1142
+ @param mask The bitmask applied to both the stencil value and the reference value
1143
+ before comparison
1144
+ @param stencilFailOp The action to perform when the stencil check fails
1145
+ @param depthFailOp The action to perform when the stencil check passes, but the
1146
+ depth buffer check still fails
1147
+ @param passOp The action to take when both the stencil and depth check pass.
1148
+ @param twoSidedOperation If set to true, then if you render both back and front faces
1149
+ (you'll have to turn off culling) then these parameters will apply for front faces,
1150
+ and the inverse of them will happen for back faces (keep remains the same).
1151
+ */
1152
+ virtual void setStencilBufferParams(CompareFunction func = CMPF_ALWAYS_PASS,
1153
+ uint32 refValue = 0, uint32 mask = 0xFFFFFFFF,
1154
+ StencilOperation stencilFailOp = SOP_KEEP,
1155
+ StencilOperation depthFailOp = SOP_KEEP,
1156
+ StencilOperation passOp = SOP_KEEP,
1157
+ bool twoSidedOperation = false) = 0;
1158
+
1159
+
1160
+
1161
+ /** Sets the current vertex declaration, ie the source of vertex data. */
1162
+ virtual void setVertexDeclaration(VertexDeclaration* decl) = 0;
1163
+ /** Sets the current vertex buffer binding state. */
1164
+ virtual void setVertexBufferBinding(VertexBufferBinding* binding) = 0;
1165
+
1166
+ /** Sets whether or not normals are to be automatically normalised.
1167
+ @remarks
1168
+ This is useful when, for example, you are scaling SceneNodes such that
1169
+ normals may not be unit-length anymore. Note though that this has an
1170
+ overhead so should not be turn on unless you really need it.
1171
+ @par
1172
+ You should not normally call this direct unless you are rendering
1173
+ world geometry; set it on the Renderable because otherwise it will be
1174
+ overridden by material settings.
1175
+ */
1176
+ virtual void setNormaliseNormals(bool normalise) = 0;
1177
+
1178
+ /**
1179
+ Render something to the active viewport.
1180
+
1181
+ Low-level rendering interface to perform rendering
1182
+ operations. Unlikely to be used directly by client
1183
+ applications, since the SceneManager and various support
1184
+ classes will be responsible for calling this method.
1185
+ Can only be called between _beginScene and _endScene
1186
+
1187
+ @param op A rendering operation instance, which contains
1188
+ details of the operation to be performed.
1189
+ */
1190
+ virtual void _render(const RenderOperation& op);
1191
+
1192
+ /** Gets the capabilities of the render system. */
1193
+ const RenderSystemCapabilities* getCapabilities(void) const { return mCurrentCapabilities; }
1194
+
1195
+
1196
+ /** Returns the driver version.
1197
+ */
1198
+ virtual const DriverVersion& getDriverVersion(void) const { return mDriverVersion; }
1199
+
1200
+ /** Returns the default material scheme used by the render system.
1201
+ Systems that use the RTSS to emulate a fixed function pipeline
1202
+ (e.g. OpenGL ES 2, DX11) need to override this function to return
1203
+ the default material scheme of the RTSS ShaderGenerator.
1204
+
1205
+ This is currently only used to set the default material scheme for
1206
+ viewports. It is a necessary step on these render systems for
1207
+ render textures to be rendered into properly.
1208
+ */
1209
+ virtual const String& _getDefaultViewportMaterialScheme(void) const;
1210
+
1211
+ /** Binds a given GpuProgram (but not the parameters).
1212
+ @remarks Only one GpuProgram of each type can be bound at once, binding another
1213
+ one will simply replace the existing one.
1214
+ */
1215
+ virtual void bindGpuProgram(GpuProgram* prg);
1216
+
1217
+ /** Bind Gpu program parameters.
1218
+ @param gptype The type of program to bind the parameters to
1219
+ @param params The parameters to bind
1220
+ @param variabilityMask A mask of GpuParamVariability identifying which params need binding
1221
+ */
1222
+ virtual void bindGpuProgramParameters(GpuProgramType gptype,
1223
+ GpuProgramParametersSharedPtr params, uint16 variabilityMask) = 0;
1224
+
1225
+ /** Only binds Gpu program parameters used for passes that have more than one iteration rendering
1226
+ */
1227
+ virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype) = 0;
1228
+ /** Unbinds GpuPrograms of a given GpuProgramType.
1229
+ @remarks
1230
+ This returns the pipeline to fixed-function processing for this type.
1231
+ */
1232
+ virtual void unbindGpuProgram(GpuProgramType gptype);
1233
+
1234
+ /** Returns whether or not a Gpu program of the given type is currently bound. */
1235
+ virtual bool isGpuProgramBound(GpuProgramType gptype);
1236
+
1237
+ /** Sets the user clipping region.
1238
+ */
1239
+ virtual void setClipPlanes(const PlaneList& clipPlanes);
1240
+
1241
+ /** Add a user clipping plane. */
1242
+ virtual void addClipPlane (const Plane &p);
1243
+ /** Add a user clipping plane. */
1244
+ virtual void addClipPlane (Real A, Real B, Real C, Real D);
1245
+
1246
+ /** Clears the user clipping region.
1247
+ */
1248
+ virtual void resetClipPlanes();
1249
+
1250
+ /** Utility method for initialising all render targets attached to this rendering system. */
1251
+ virtual void _initRenderTargets(void);
1252
+
1253
+ /** Utility method to notify all render targets that a camera has been removed,
1254
+ in case they were referring to it as their viewer.
1255
+ */
1256
+ virtual void _notifyCameraRemoved(const Camera* cam);
1257
+
1258
+ /** Internal method for updating all render targets attached to this rendering system. */
1259
+ virtual void _updateAllRenderTargets(bool swapBuffers = true);
1260
+ /** Internal method for swapping all the buffers on all render targets,
1261
+ if _updateAllRenderTargets was called with a 'false' parameter. */
1262
+ virtual void _swapAllRenderTargetBuffers(bool waitForVsync = true);
1263
+
1264
+ /** Sets whether or not vertex windings set should be inverted; this can be important
1265
+ for rendering reflections. */
1266
+ virtual void setInvertVertexWinding(bool invert);
1267
+
1268
+ /** Indicates whether or not the vertex windings set will be inverted for the current render (e.g. reflections)
1269
+ @see RenderSystem::setInvertVertexWinding
1270
+ */
1271
+ virtual bool getInvertVertexWinding(void) const;
1272
+
1273
+ /** Sets the 'scissor region' ie the region of the target in which rendering can take place.
1274
+ @remarks
1275
+ This method allows you to 'mask off' rendering in all but a given rectangular area
1276
+ as identified by the parameters to this method.
1277
+ @note
1278
+ Not all systems support this method. Check the RenderSystemCapabilities for the
1279
+ RSC_SCISSOR_TEST capability to see if it is supported.
1280
+ @param enabled True to enable the scissor test, false to disable it.
1281
+ @param left, top, right, bottom The location of the corners of the rectangle, expressed in
1282
+ <i>pixels</i>.
1283
+ */
1284
+ virtual void setScissorTest(bool enabled, size_t left = 0, size_t top = 0,
1285
+ size_t right = 800, size_t bottom = 600) = 0;
1286
+
1287
+ /** Clears one or more frame buffers on the active render target.
1288
+ @param buffers Combination of one or more elements of FrameBufferType
1289
+ denoting which buffers are to be cleared
1290
+ @param colour The colour to clear the colour buffer with, if enabled
1291
+ @param depth The value to initialise the depth buffer with, if enabled
1292
+ @param stencil The value to initialise the stencil buffer with, if enabled.
1293
+ */
1294
+ virtual void clearFrameBuffer(unsigned int buffers,
1295
+ const ColourValue& colour = ColourValue::Black,
1296
+ Real depth = 1.0f, unsigned short stencil = 0) = 0;
1297
+ /** Returns the horizontal texel offset value required for mapping
1298
+ texel origins to pixel origins in this rendersystem.
1299
+ @remarks
1300
+ Since rendersystems sometimes disagree on the origin of a texel,
1301
+ mapping from texels to pixels can sometimes be problematic to
1302
+ implement generically. This method allows you to retrieve the offset
1303
+ required to map the origin of a texel to the origin of a pixel in
1304
+ the horizontal direction.
1305
+ */
1306
+ virtual Real getHorizontalTexelOffset(void) = 0;
1307
+ /** Returns the vertical texel offset value required for mapping
1308
+ texel origins to pixel origins in this rendersystem.
1309
+ @remarks
1310
+ Since rendersystems sometimes disagree on the origin of a texel,
1311
+ mapping from texels to pixels can sometimes be problematic to
1312
+ implement generically. This method allows you to retrieve the offset
1313
+ required to map the origin of a texel to the origin of a pixel in
1314
+ the vertical direction.
1315
+ */
1316
+ virtual Real getVerticalTexelOffset(void) = 0;
1317
+
1318
+ /** Gets the minimum (closest) depth value to be used when rendering
1319
+ using identity transforms.
1320
+ @remarks
1321
+ When using identity transforms you can manually set the depth
1322
+ of a vertex; however the input values required differ per
1323
+ rendersystem. This method lets you retrieve the correct value.
1324
+ @see Renderable::getUseIdentityView, Renderable::getUseIdentityProjection
1325
+ */
1326
+ virtual Real getMinimumDepthInputValue(void) = 0;
1327
+ /** Gets the maximum (farthest) depth value to be used when rendering
1328
+ using identity transforms.
1329
+ @remarks
1330
+ When using identity transforms you can manually set the depth
1331
+ of a vertex; however the input values required differ per
1332
+ rendersystem. This method lets you retrieve the correct value.
1333
+ @see Renderable::getUseIdentityView, Renderable::getUseIdentityProjection
1334
+ */
1335
+ virtual Real getMaximumDepthInputValue(void) = 0;
1336
+ /** set the current multi pass count value. This must be set prior to
1337
+ calling _render() if multiple renderings of the same pass state are
1338
+ required.
1339
+ @param count Number of times to render the current state.
1340
+ */
1341
+ virtual void setCurrentPassIterationCount(const size_t count) { mCurrentPassIterationCount = count; }
1342
+
1343
+ /** Tell the render system whether to derive a depth bias on its own based on
1344
+ the values passed to it in setCurrentPassIterationCount.
1345
+ The depth bias set will be baseValue + iteration * multiplier
1346
+ @param derive True to tell the RS to derive this automatically
1347
+ @param baseValue The base value to which the multiplier should be
1348
+ added
1349
+ @param multiplier The amount of depth bias to apply per iteration
1350
+ @param slopeScale The constant slope scale bias for completeness
1351
+ */
1352
+ virtual void setDeriveDepthBias(bool derive, float baseValue = 0.0f,
1353
+ float multiplier = 0.0f, float slopeScale = 0.0f)
1354
+ {
1355
+ mDerivedDepthBias = derive;
1356
+ mDerivedDepthBiasBase = baseValue;
1357
+ mDerivedDepthBiasMultiplier = multiplier;
1358
+ mDerivedDepthBiasSlopeScale = slopeScale;
1359
+ }
1360
+
1361
+ /**
1362
+ * Set current render target to target, enabling its device context if needed
1363
+ */
1364
+ virtual void _setRenderTarget(RenderTarget *target) = 0;
1365
+
1366
+ /** Defines a listener on the custom events that this render system
1367
+ can raise.
1368
+ @see RenderSystem::addListener
1369
+ */
1370
+ class _OgreExport Listener
1371
+ {
1372
+ public:
1373
+ Listener() {}
1374
+ virtual ~Listener() {}
1375
+
1376
+ /** A rendersystem-specific event occurred.
1377
+ @param eventName The name of the event which has occurred
1378
+ @param parameters A list of parameters that may belong to this event,
1379
+ may be null if there are no parameters
1380
+ */
1381
+ virtual void eventOccurred(const String& eventName,
1382
+ const NameValuePairList* parameters = 0) = 0;
1383
+ };
1384
+ /** Adds a listener to the custom events that this render system can raise.
1385
+ @remarks
1386
+ Some render systems have quite specific, internally generated events
1387
+ that the application may wish to be notified of. Many applications
1388
+ don't have to worry about these events, and can just trust OGRE to
1389
+ handle them, but if you want to know, you can add a listener here.
1390
+ @par
1391
+ Events are raised very generically by string name. Perhaps the most
1392
+ common example of a render system specific event is the loss and
1393
+ restoration of a device in DirectX; which OGRE deals with, but you
1394
+ may wish to know when it happens.
1395
+ @see RenderSystem::getRenderSystemEvents
1396
+ */
1397
+ virtual void addListener(Listener* l);
1398
+ /** Remove a listener to the custom events that this render system can raise.
1399
+ */
1400
+ virtual void removeListener(Listener* l);
1401
+
1402
+ /** Gets a list of the rendersystem specific events that this rendersystem
1403
+ can raise.
1404
+ @see RenderSystem::addListener
1405
+ */
1406
+ virtual const StringVector& getRenderSystemEvents(void) const { return mEventNames; }
1407
+
1408
+ /** Tell the rendersystem to perform any prep tasks it needs to directly
1409
+ before other threads which might access the rendering API are registered.
1410
+ @remarks
1411
+ Call this from your main thread before starting your other threads
1412
+ (which themselves should call registerThread()). Note that if you
1413
+ start your own threads, there is a specific startup sequence which
1414
+ must be respected and requires synchronisation between the threads:
1415
+ <ol>
1416
+ <li>[Main thread]Call preExtraThreadsStarted</li>
1417
+ <li>[Main thread]Start other thread, wait</li>
1418
+ <li>[Other thread]Call registerThread, notify main thread & continue</li>
1419
+ <li>[Main thread]Wake up & call postExtraThreadsStarted</li>
1420
+ </ol>
1421
+ Once this init sequence is completed the threads are independent but
1422
+ this startup sequence must be respected.
1423
+ */
1424
+ virtual void preExtraThreadsStarted() = 0;
1425
+
1426
+ /* Tell the rendersystem to perform any tasks it needs to directly
1427
+ after other threads which might access the rendering API are registered.
1428
+ @see RenderSystem::preExtraThreadsStarted
1429
+ */
1430
+ virtual void postExtraThreadsStarted() = 0;
1431
+
1432
+ /** Register the an additional thread which may make calls to rendersystem-related
1433
+ objects.
1434
+ @remarks
1435
+ This method should only be called by additional threads during their
1436
+ initialisation. If they intend to use hardware rendering system resources
1437
+ they should call this method before doing anything related to the render system.
1438
+ Some rendering APIs require a per-thread setup and this method will sort that
1439
+ out. It is also necessary to call unregisterThread before the thread shuts down.
1440
+ @note
1441
+ This method takes no parameters - it must be called from the thread being
1442
+ registered and that context is enough.
1443
+ */
1444
+ virtual void registerThread() = 0;
1445
+
1446
+ /** Unregister an additional thread which may make calls to rendersystem-related objects.
1447
+ @see RenderSystem::registerThread
1448
+ */
1449
+ virtual void unregisterThread() = 0;
1450
+
1451
+ /**
1452
+ * Gets the number of display monitors.
1453
+ @see Root::getDisplayMonitorCount
1454
+ */
1455
+ virtual unsigned int getDisplayMonitorCount() const = 0;
1456
+ protected:
1457
+
1458
+ /** DepthBuffers to be attached to render targets */
1459
+ DepthBufferMap mDepthBufferPool;
1460
+
1461
+ /** The render targets. */
1462
+ RenderTargetMap mRenderTargets;
1463
+ /** The render targets, ordered by priority. */
1464
+ RenderTargetPriorityMap mPrioritisedRenderTargets;
1465
+ /** The Active render target. */
1466
+ RenderTarget * mActiveRenderTarget;
1467
+
1468
+ /** The Active GPU programs and gpu program parameters*/
1469
+ GpuProgramParametersSharedPtr mActiveVertexGpuProgramParameters;
1470
+ GpuProgramParametersSharedPtr mActiveGeometryGpuProgramParameters;
1471
+ GpuProgramParametersSharedPtr mActiveFragmentGpuProgramParameters;
1472
+
1473
+ // Texture manager
1474
+ // A concrete class of this will be created and
1475
+ // made available under the TextureManager singleton,
1476
+ // managed by the RenderSystem
1477
+ TextureManager* mTextureManager;
1478
+
1479
+ // Active viewport (dest for future rendering operations)
1480
+ Viewport* mActiveViewport;
1481
+
1482
+ CullingMode mCullingMode;
1483
+
1484
+ bool mVSync;
1485
+ unsigned int mVSyncInterval;
1486
+ bool mWBuffer;
1487
+
1488
+ size_t mBatchCount;
1489
+ size_t mFaceCount;
1490
+ size_t mVertexCount;
1491
+
1492
+ /// Saved manual colour blends
1493
+ ColourValue mManualBlendColours[OGRE_MAX_TEXTURE_LAYERS][2];
1494
+
1495
+ bool mInvertVertexWinding;
1496
+
1497
+ /// Texture units from this upwards are disabled
1498
+ size_t mDisabledTexUnitsFrom;
1499
+
1500
+ /// number of times to render the current state
1501
+ size_t mCurrentPassIterationCount;
1502
+ size_t mCurrentPassIterationNum;
1503
+ /// Whether to update the depth bias per render call
1504
+ bool mDerivedDepthBias;
1505
+ float mDerivedDepthBiasBase;
1506
+ float mDerivedDepthBiasMultiplier;
1507
+ float mDerivedDepthBiasSlopeScale;
1508
+
1509
+ /// a global vertex buffer for global instancing
1510
+ HardwareVertexBufferSharedPtr mGlobalInstanceVertexBuffer;
1511
+ /// a vertex declaration for the global vertex buffer for the global instancing
1512
+ VertexDeclaration* mGlobalInstanceVertexBufferVertexDeclaration;
1513
+ /// the number of global instances (this number will be multiply by the render op instance number)
1514
+ size_t mGlobalNumberOfInstances;
1515
+
1516
+ #ifdef RTSHADER_SYSTEM_BUILD_CORE_SHADERS
1517
+ /// is fixed pipeline enabled
1518
+ bool mEnableFixedPipeline;
1519
+ #endif
1520
+
1521
+ /** updates pass iteration rendering state including bound gpu program parameter
1522
+ pass iteration auto constant entry
1523
+ @return True if more iterations are required
1524
+ */
1525
+ bool updatePassIterationRenderState(void);
1526
+
1527
+ /// List of names of events this rendersystem may raise
1528
+ StringVector mEventNames;
1529
+
1530
+ /// Internal method for firing a rendersystem event
1531
+ virtual void fireEvent(const String& name, const NameValuePairList* params = 0);
1532
+
1533
+ typedef list<Listener*>::type ListenerList;
1534
+ ListenerList mEventListeners;
1535
+
1536
+ typedef list<HardwareOcclusionQuery*>::type HardwareOcclusionQueryList;
1537
+ HardwareOcclusionQueryList mHwOcclusionQueries;
1538
+
1539
+ bool mVertexProgramBound;
1540
+ bool mGeometryProgramBound;
1541
+ bool mFragmentProgramBound;
1542
+
1543
+ // Recording user clip planes
1544
+ PlaneList mClipPlanes;
1545
+ // Indicator that we need to re-set the clip planes on next render call
1546
+ bool mClipPlanesDirty;
1547
+
1548
+ /// Used to store the capabilities of the graphics card
1549
+ RenderSystemCapabilities* mRealCapabilities;
1550
+ RenderSystemCapabilities* mCurrentCapabilities;
1551
+ bool mUseCustomCapabilities;
1552
+
1553
+ /// Internal method used to set the underlying clip planes when needed
1554
+ virtual void setClipPlanesImpl(const PlaneList& clipPlanes) = 0;
1555
+
1556
+ /** Initialize the render system from the capabilities*/
1557
+ virtual void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities* caps, RenderTarget* primary) = 0;
1558
+
1559
+
1560
+ DriverVersion mDriverVersion;
1561
+
1562
+ bool mTexProjRelative;
1563
+ Vector3 mTexProjRelativeOrigin;
1564
+
1565
+
1566
+
1567
+ };
1568
+ /** @} */
1569
+ /** @} */
1570
+ }
1571
+
1572
+ #endif