shattered_ogrerb 0.5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (905) hide show
  1. data/lib/shattered_ogrerb.rb +17 -0
  2. data/lib/shattered_ogrerb/base.rb +28 -0
  3. data/lib/shattered_ogrerb/camera.rb +6 -0
  4. data/lib/shattered_ogrerb/key_manager.rb +54 -0
  5. data/lib/shattered_ogrerb/light.rb +5 -0
  6. data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
  7. data/lib/shattered_ogrerb/rmaterial.rb +86 -0
  8. data/lib/shattered_ogrerb/vector.rb +211 -0
  9. data/vendor/Ogre/OIS.dll +0 -0
  10. data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
  11. data/vendor/Ogre/OgreMain.dll +0 -0
  12. data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
  13. data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
  14. data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
  15. data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
  16. data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
  17. data/vendor/Ogre/RenderSystem_GL.dll +0 -0
  18. data/vendor/Ogre/cg.dll +0 -0
  19. data/vendor/Ogre/plugins.cfg +9 -0
  20. data/vendor/ogrerb/MIT_LICENCE +19 -0
  21. data/vendor/ogrerb/README +79 -0
  22. data/vendor/ogrerb/Rakefile +220 -0
  23. data/vendor/ogrerb/build/navi/extconf.rb +53 -0
  24. data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
  25. data/vendor/ogrerb/build/ois/extconf.rb +48 -0
  26. data/vendor/ogrerb/doc_src/ogre.rb +152 -0
  27. data/vendor/ogrerb/doc_src/ois.rb +67 -0
  28. data/vendor/ogrerb/lib/constants.rb +35 -0
  29. data/vendor/ogrerb/lib/ogre.dll +0 -0
  30. data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
  31. data/vendor/ogrerb/navi/Navi.i +5 -0
  32. data/vendor/ogrerb/navi/NaviData.i +18 -0
  33. data/vendor/ogrerb/navi/NaviManager.i +5 -0
  34. data/vendor/ogrerb/navi/NaviProxies.i +7 -0
  35. data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
  36. data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
  37. data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
  38. data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
  39. data/vendor/ogrerb/navi/navi_rb.i +53 -0
  40. data/vendor/ogrerb/navi/std_multimap.i +581 -0
  41. data/vendor/ogrerb/ogre.rb +23 -0
  42. data/vendor/ogrerb/ogre/Application.i +59 -0
  43. data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
  44. data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
  45. data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
  46. data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
  47. data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
  48. data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
  49. data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
  50. data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
  51. data/vendor/ogrerb/ogre/OgreAny.i +5 -0
  52. data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
  53. data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
  54. data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
  55. data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
  56. data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
  57. data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
  58. data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
  59. data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
  60. data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
  61. data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
  62. data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
  63. data/vendor/ogrerb/ogre/OgreBone.i +5 -0
  64. data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
  65. data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
  66. data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
  67. data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
  68. data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
  69. data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
  70. data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
  71. data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
  72. data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
  73. data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
  74. data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
  75. data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
  76. data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
  77. data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
  78. data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
  79. data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
  80. data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
  81. data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
  82. data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
  83. data/vendor/ogrerb/ogre/OgreController.i +5 -0
  84. data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
  85. data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
  86. data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
  87. data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
  88. data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
  89. data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
  90. data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
  91. data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
  92. data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
  93. data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
  94. data/vendor/ogrerb/ogre/OgreException.i +5 -0
  95. data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
  96. data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
  97. data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
  98. data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
  99. data/vendor/ogrerb/ogre/OgreFont.i +5 -0
  100. data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
  101. data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
  102. data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
  103. data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
  104. data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
  105. data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
  106. data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
  107. data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
  108. data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
  109. data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
  110. data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
  111. data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
  112. data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
  113. data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
  114. data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
  115. data/vendor/ogrerb/ogre/OgreImage.i +5 -0
  116. data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
  117. data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
  118. data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
  119. data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
  120. data/vendor/ogrerb/ogre/OgreLight.i +5 -0
  121. data/vendor/ogrerb/ogre/OgreLog.i +5 -0
  122. data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
  123. data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
  124. data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
  125. data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
  126. data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
  127. data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
  128. data/vendor/ogrerb/ogre/OgreMath.i +48 -0
  129. data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
  130. data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
  131. data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
  132. data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
  133. data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
  134. data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
  135. data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
  136. data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
  137. data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
  138. data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
  139. data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
  140. data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
  141. data/vendor/ogrerb/ogre/OgreNode.i +11 -0
  142. data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
  143. data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
  144. data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
  145. data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
  146. data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
  147. data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
  148. data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
  149. data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
  150. data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
  151. data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
  152. data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
  153. data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
  154. data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
  155. data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
  156. data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
  157. data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
  158. data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
  159. data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
  160. data/vendor/ogrerb/ogre/OgrePass.i +10 -0
  161. data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
  162. data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
  163. data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
  164. data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
  165. data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
  166. data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
  167. data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
  168. data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
  169. data/vendor/ogrerb/ogre/OgrePose.i +5 -0
  170. data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
  171. data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
  172. data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
  173. data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
  174. data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
  175. data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
  176. data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
  177. data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
  178. data/vendor/ogrerb/ogre/OgreRay.i +5 -0
  179. data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
  180. data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
  181. data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
  182. data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
  183. data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
  184. data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
  185. data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
  186. data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
  187. data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
  188. data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
  189. data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
  190. data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
  191. data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
  192. data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
  193. data/vendor/ogrerb/ogre/OgreResource.i +68 -0
  194. data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
  195. data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
  196. data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
  197. data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
  198. data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
  199. data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
  200. data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
  201. data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
  202. data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
  203. data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
  204. data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
  205. data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
  206. data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
  207. data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
  208. data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
  209. data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
  210. data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
  211. data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
  212. data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
  213. data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
  214. data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
  215. data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
  216. data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
  217. data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
  218. data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
  219. data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
  220. data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
  221. data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
  222. data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
  223. data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
  224. data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
  225. data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
  226. data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
  227. data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
  228. data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
  229. data/vendor/ogrerb/ogre/OgreString.i +5 -0
  230. data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
  231. data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
  232. data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
  233. data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
  234. data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
  235. data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
  236. data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
  237. data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
  238. data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
  239. data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
  240. data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
  241. data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
  242. data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
  243. data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
  244. data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
  245. data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
  246. data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
  247. data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
  248. data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
  249. data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
  250. data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
  251. data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
  252. data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
  253. data/vendor/ogrerb/ogre/OgreZip.i +5 -0
  254. data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
  255. data/vendor/ogrerb/ogre/std_multimap.i +581 -0
  256. data/vendor/ogrerb/ois/OISProxies.i +9 -0
  257. data/vendor/ogrerb/ois/OISRenames.i +11 -0
  258. data/vendor/ogrerb/ois/ois.i +135 -0
  259. data/vendor/ogrerb/ois/std_multimap.i +581 -0
  260. data/vendor/ogrerb/platform.rb +23 -0
  261. data/vendor/ogrerb/samples/application.rb +146 -0
  262. data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
  263. data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
  264. data/vendor/ogrerb/samples/bsp.rb +74 -0
  265. data/vendor/ogrerb/samples/cg.dll +0 -0
  266. data/vendor/ogrerb/samples/js3250.dll +0 -0
  267. data/vendor/ogrerb/samples/lighting.rb +136 -0
  268. data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
  269. data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
  270. data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
  271. data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
  272. data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
  273. data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
  274. data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
  275. data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
  276. data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
  277. data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
  278. data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
  279. data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
  280. data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
  281. data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
  282. data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
  283. data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
  284. data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
  285. data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
  286. data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
  287. data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
  288. data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
  289. data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
  290. data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
  291. data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
  292. data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
  293. data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
  294. data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
  295. data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
  296. data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
  297. data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
  298. data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
  299. data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
  300. data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
  301. data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
  302. data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
  303. data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
  304. data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
  305. data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
  306. data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
  307. data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
  308. data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
  309. data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
  310. data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
  311. data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
  312. data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
  313. data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
  314. data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
  315. data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
  316. data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
  317. data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
  318. data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
  319. data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
  320. data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
  321. data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
  322. data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
  323. data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
  324. data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
  325. data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
  326. data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
  327. data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
  328. data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
  329. data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
  330. data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
  331. data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
  332. data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
  333. data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
  334. data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
  335. data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
  336. data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
  337. data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
  338. data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
  339. data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
  340. data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
  341. data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
  342. data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
  343. data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
  344. data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
  345. data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
  346. data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
  347. data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
  348. data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
  349. data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
  350. data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
  351. data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
  352. data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
  353. data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
  354. data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
  355. data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
  356. data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
  357. data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
  358. data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
  359. data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
  360. data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
  361. data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
  362. data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
  363. data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
  364. data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
  365. data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
  366. data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
  367. data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
  368. data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
  369. data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
  370. data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
  371. data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
  372. data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
  373. data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
  374. data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
  375. data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
  376. data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
  377. data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
  378. data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
  379. data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
  380. data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
  381. data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
  382. data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
  383. data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
  384. data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
  385. data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
  386. data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
  387. data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
  388. data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
  389. data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
  390. data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
  391. data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
  392. data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
  393. data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
  394. data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
  395. data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
  396. data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
  397. data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
  398. data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
  399. data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
  400. data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
  401. data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
  402. data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
  403. data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
  404. data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
  405. data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
  406. data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
  407. data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
  408. data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
  409. data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
  410. data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
  411. data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
  412. data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
  413. data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
  414. data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
  415. data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
  416. data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
  417. data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
  418. data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
  419. data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
  420. data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
  421. data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
  422. data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
  423. data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
  424. data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
  425. data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
  426. data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
  427. data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
  428. data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
  429. data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
  430. data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
  431. data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
  432. data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
  433. data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
  434. data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
  435. data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
  436. data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
  437. data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
  438. data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
  439. data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
  440. data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
  441. data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
  442. data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
  443. data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
  444. data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
  445. data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
  446. data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
  447. data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
  448. data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
  449. data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
  450. data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
  451. data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
  452. data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
  453. data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
  454. data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
  455. data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
  456. data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
  457. data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
  458. data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
  459. data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
  460. data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
  461. data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
  462. data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
  463. data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
  464. data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
  465. data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
  466. data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
  467. data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
  468. data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
  469. data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
  470. data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
  471. data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
  472. data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
  473. data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
  474. data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
  475. data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
  476. data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
  477. data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
  478. data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
  479. data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
  480. data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
  481. data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
  482. data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
  483. data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
  484. data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
  485. data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
  486. data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
  487. data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
  488. data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
  489. data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
  490. data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
  491. data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
  492. data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
  493. data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
  494. data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
  495. data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
  496. data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
  497. data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
  498. data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
  499. data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
  500. data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
  501. data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
  502. data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
  503. data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
  504. data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
  505. data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
  506. data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
  507. data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
  508. data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
  509. data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
  510. data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
  511. data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
  512. data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
  513. data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
  514. data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
  515. data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
  516. data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
  517. data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
  518. data/vendor/ogrerb/samples/navi/res/html.css +478 -0
  519. data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
  520. data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
  521. data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
  522. data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
  523. data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
  524. data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
  525. data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
  526. data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
  527. data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
  528. data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
  529. data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
  530. data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
  531. data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
  532. data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
  533. data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
  534. data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
  535. data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
  536. data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
  537. data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
  538. data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
  539. data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
  540. data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
  541. data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
  542. data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
  543. data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
  544. data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
  545. data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
  546. data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
  547. data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
  548. data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
  549. data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
  550. data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
  551. data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
  552. data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
  553. data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
  554. data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
  555. data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
  556. data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
  557. data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
  558. data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
  559. data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
  560. data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
  561. data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
  562. data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
  563. data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
  564. data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
  565. data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
  566. data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
  567. data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
  568. data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
  569. data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
  570. data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
  571. data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
  572. data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
  573. data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
  574. data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
  575. data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
  576. data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
  577. data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
  578. data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
  579. data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
  580. data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
  581. data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
  582. data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
  583. data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
  584. data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
  585. data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
  586. data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
  587. data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
  588. data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
  589. data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
  590. data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
  591. data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
  592. data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
  593. data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
  594. data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
  595. data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
  596. data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
  597. data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
  598. data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
  599. data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
  600. data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
  601. data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
  602. data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
  603. data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
  604. data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
  605. data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
  606. data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
  607. data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
  608. data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
  609. data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
  610. data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
  611. data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
  612. data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
  613. data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
  614. data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
  615. data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
  616. data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
  617. data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
  618. data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
  619. data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
  620. data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
  621. data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
  622. data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
  623. data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
  624. data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
  625. data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
  626. data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
  627. data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
  628. data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
  629. data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
  630. data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
  631. data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
  632. data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
  633. data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
  634. data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
  635. data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
  636. data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
  637. data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
  638. data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
  639. data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
  640. data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
  641. data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
  642. data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
  643. data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
  644. data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
  645. data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
  646. data/vendor/ogrerb/samples/plugins.cfg +11 -0
  647. data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
  648. data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
  649. data/vendor/ogrerb/samples/resources.cfg +14 -0
  650. data/vendor/ogrerb/samples/sky_box.rb +105 -0
  651. data/vendor/ogrerb/samples/sky_dome.rb +84 -0
  652. data/vendor/ogrerb/samples/sky_plane.rb +24 -0
  653. data/vendor/ogrerb/samples/smoke.rb +21 -0
  654. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
  655. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
  656. data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
  657. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
  658. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
  659. data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
  660. data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
  661. data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
  662. data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
  663. data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
  664. data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
  665. data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
  666. data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
  667. data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
  668. data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
  669. data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
  670. data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
  671. data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
  672. data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
  673. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
  674. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
  675. data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
  676. data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
  677. data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
  678. data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
  679. data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
  680. data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
  681. data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
  682. data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
  683. data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
  684. data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
  685. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
  686. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
  687. data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
  688. data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
  689. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
  690. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
  691. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
  692. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
  693. data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
  694. data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
  695. data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
  696. data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
  697. data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
  698. data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
  699. data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
  700. data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
  701. data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
  702. data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
  703. data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
  704. data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
  705. data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
  706. data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
  707. data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
  708. data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
  709. data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
  710. data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
  711. data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
  712. data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
  713. data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
  714. data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
  715. data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
  716. data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
  717. data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
  718. data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
  719. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
  720. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
  721. data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
  722. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
  723. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
  724. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
  725. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
  726. data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
  727. data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
  728. data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
  729. data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
  730. data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
  731. data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
  732. data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
  733. data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
  734. data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
  735. data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
  736. data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
  737. data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
  738. data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
  739. data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
  740. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
  741. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
  742. data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
  743. data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
  744. data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
  745. data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
  746. data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
  747. data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
  748. data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
  749. data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
  750. data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
  751. data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
  752. data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
  753. data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
  754. data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
  755. data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
  756. data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
  757. data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
  758. data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
  759. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
  760. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
  761. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
  762. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
  763. data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
  764. data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
  765. data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
  766. data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
  767. data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
  768. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
  769. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
  770. data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
  771. data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
  772. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
  773. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
  774. data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
  775. data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
  776. data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
  777. data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
  778. data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
  779. data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
  780. data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
  781. data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
  782. data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
  783. data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
  784. data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
  785. data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
  786. data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
  787. data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
  788. data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
  789. data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
  790. data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
  791. data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
  792. data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
  793. data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
  794. data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
  795. data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
  796. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
  797. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
  798. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
  799. data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
  800. data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
  801. data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
  802. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
  803. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
  804. data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
  805. data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
  806. data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
  807. data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
  808. data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
  809. data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
  810. data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
  811. data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
  812. data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
  813. data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
  814. data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
  815. data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
  816. data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
  817. data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
  818. data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
  819. data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
  820. data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
  821. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
  822. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
  823. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
  824. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
  825. data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
  826. data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
  827. data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
  828. data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
  829. data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
  830. data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
  831. data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
  832. data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
  833. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
  834. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
  835. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
  836. data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
  837. data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
  838. data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
  839. data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
  840. data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
  841. data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
  842. data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
  843. data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
  844. data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
  845. data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
  846. data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
  847. data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
  848. data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
  849. data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
  850. data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
  851. data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
  852. data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
  853. data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
  854. data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
  855. data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
  856. data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
  857. data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
  858. data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
  859. data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
  860. data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
  861. data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
  862. data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
  863. data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
  864. data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
  865. data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
  866. data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
  867. data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
  868. data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
  869. data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
  870. data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
  871. data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
  872. data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
  873. data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
  874. data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
  875. data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
  876. data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
  877. data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
  878. data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
  879. data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
  880. data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
  881. data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
  882. data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
  883. data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
  884. data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
  885. data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
  886. data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
  887. data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
  888. data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
  889. data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
  890. data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
  891. data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
  892. data/vendor/ogrerb/website/contact.html +43 -0
  893. data/vendor/ogrerb/website/docs.html +92 -0
  894. data/vendor/ogrerb/website/get.html +60 -0
  895. data/vendor/ogrerb/website/images/Thumbs.db +0 -0
  896. data/vendor/ogrerb/website/images/header.png +0 -0
  897. data/vendor/ogrerb/website/images/header.xcf +0 -0
  898. data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
  899. data/vendor/ogrerb/website/images/redogrehead.png +0 -0
  900. data/vendor/ogrerb/website/images/ruby.png +0 -0
  901. data/vendor/ogrerb/website/images/sample.png +0 -0
  902. data/vendor/ogrerb/website/index.html +80 -0
  903. data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
  904. data/vendor/ogrerb/website/stylesheets/main.css +96 -0
  905. metadata +997 -0
@@ -0,0 +1,1255 @@
1
+ /*
2
+ -----------------------------------------------------------------------------
3
+ This source file is part of OGRE
4
+ (Object-oriented Graphics Rendering Engine)
5
+ For the latest info, see http://www.ogre3d.org
6
+
7
+ Copyright (c) 2000-2006 Torus Knot Software Ltd
8
+ Also see acknowledgements in Readme.html
9
+
10
+ This program is free software; you can redistribute it and/or modify it under
11
+ the terms of the GNU Lesser General Public License as published by the Free Software
12
+ Foundation; either version 2 of the License, or (at your option) any later
13
+ version.
14
+
15
+ This program is distributed in the hope that it will be useful, but WITHOUT
16
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public License along with
20
+ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
+ Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
+ http://www.gnu.org/copyleft/lesser.txt.
23
+
24
+ You may alternatively use this source under the terms of a specific version of
25
+ the OGRE Unrestricted License provided you have obtained such a license from
26
+ Torus Knot Software Ltd.
27
+ -----------------------------------------------------------------------------
28
+ */
29
+ #ifndef __RenderSystem_H_
30
+ #define __RenderSystem_H_
31
+
32
+ // Precompiler options
33
+ #include "OgrePrerequisites.h"
34
+
35
+ #include "OgreString.h"
36
+
37
+ #include "OgreTextureUnitState.h"
38
+ #include "OgreCommon.h"
39
+
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
+ typedef std::map< String, RenderTarget * > RenderTargetMap;
53
+ typedef std::multimap<uchar, RenderTarget * > RenderTargetPriorityMap;
54
+
55
+ class TextureManager;
56
+ /// Enum describing the ways to generate texture coordinates
57
+ enum TexCoordCalcMethod
58
+ {
59
+ /// No calculated texture coordinates
60
+ TEXCALC_NONE,
61
+ /// Environment map based on vertex normals
62
+ TEXCALC_ENVIRONMENT_MAP,
63
+ /// Environment map based on vertex positions
64
+ TEXCALC_ENVIRONMENT_MAP_PLANAR,
65
+ TEXCALC_ENVIRONMENT_MAP_REFLECTION,
66
+ TEXCALC_ENVIRONMENT_MAP_NORMAL,
67
+ /// Projective texture
68
+ TEXCALC_PROJECTIVE_TEXTURE
69
+ };
70
+ /// Enum describing the various actions which can be taken onthe stencil buffer
71
+ enum StencilOperation
72
+ {
73
+ /// Leave the stencil buffer unchanged
74
+ SOP_KEEP,
75
+ /// Set the stencil value to zero
76
+ SOP_ZERO,
77
+ /// Set the stencil value to the reference value
78
+ SOP_REPLACE,
79
+ /// Increase the stencil value by 1, clamping at the maximum value
80
+ SOP_INCREMENT,
81
+ /// Decrease the stencil value by 1, clamping at 0
82
+ SOP_DECREMENT,
83
+ /// Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value
84
+ SOP_INCREMENT_WRAP,
85
+ /// Decrease the stencil value by 1, wrapping when decrementing 0
86
+ SOP_DECREMENT_WRAP,
87
+ /// Invert the bits of the stencil buffer
88
+ SOP_INVERT
89
+ };
90
+
91
+ /** Defines the functionality of a 3D API
92
+ @remarks
93
+ The RenderSystem class provides a base interface
94
+ which abstracts the general functionality of the 3D API
95
+ e.g. Direct3D or OpenGL. Whilst a few of the general
96
+ methods have implementations, most of this class is
97
+ abstract, requiring a subclass based on a specific API
98
+ to be constructed to provide the full functionality.
99
+ Note there are 2 levels to the interface - one which
100
+ will be used often by the caller of the Ogre library,
101
+ and one which is at a lower level and will be used by the
102
+ other classes provided by Ogre. These lower level
103
+ methods are prefixed with '_' to differentiate them.
104
+ The advanced user of the library may use these lower
105
+ level methods to access the 3D API at a more fundamental
106
+ level (dealing direct with render states and rendering
107
+ primitives), but still benefitting from Ogre's abstraction
108
+ of exactly which 3D API is in use.
109
+ @author
110
+ Steven Streeting
111
+ @version
112
+ 1.0
113
+ */
114
+ class _OgreExport RenderSystem
115
+ {
116
+ public:
117
+ /** Default Constructor.
118
+ */
119
+ RenderSystem();
120
+
121
+ /** Destructor.
122
+ */
123
+ virtual ~RenderSystem();
124
+
125
+ /** Returns the name of the rendering system.
126
+ */
127
+ virtual const String& getName(void) const = 0;
128
+
129
+ /** Returns the details of this API's configuration options
130
+ @remarks
131
+ Each render system must be able to inform the world
132
+ of what options must/can be specified for it's
133
+ operation.
134
+ @par
135
+ These are passed as strings for portability, but
136
+ grouped into a structure (_ConfigOption) which includes
137
+ both options and current value.
138
+ @par
139
+ Note that the settings returned from this call are
140
+ affected by the options that have been set so far,
141
+ since some options are interdependent.
142
+ @par
143
+ This routine is called automatically by the default
144
+ configuration dialogue produced by Root::showConfigDialog
145
+ or may be used by the caller for custom settings dialogs
146
+ @returns
147
+ A 'map' of options, i.e. a list of options which is also
148
+ indexed by option name.
149
+ */
150
+ virtual ConfigOptionMap& getConfigOptions(void) = 0;
151
+
152
+ /** Sets an option for this API
153
+ @remarks
154
+ Used to confirm the settings (normally chosen by the user) in
155
+ order to make the renderer able to initialise with the settings as required.
156
+ This may be video mode, D3D driver, full screen / windowed etc.
157
+ Called automatically by the default configuration
158
+ dialog, and by the restoration of saved settings.
159
+ These settings are stored and only activated when
160
+ RenderSystem::initialise or RenderSystem::reinitialise
161
+ are called.
162
+ @par
163
+ If using a custom configuration dialog, it is advised that the
164
+ caller calls RenderSystem::getConfigOptions
165
+ again, since some options can alter resulting from a selection.
166
+ @param
167
+ name The name of the option to alter.
168
+ @param
169
+ value The value to set the option to.
170
+ */
171
+ virtual void setConfigOption(const String &name, const String &value) = 0;
172
+
173
+ /** Create an object for performing hardware occlusion queries.
174
+ */
175
+ virtual HardwareOcclusionQuery* createHardwareOcclusionQuery(void) = 0;
176
+
177
+ /** Destroy a hardware occlusion query object.
178
+ */
179
+ virtual void destroyHardwareOcclusionQuery(HardwareOcclusionQuery *hq);
180
+
181
+ /** Validates the options set for the rendering system, returning a message if there are problems.
182
+ @note
183
+ If the returned string is empty, there are no problems.
184
+ */
185
+ virtual String validateConfigOptions(void) = 0;
186
+
187
+ /** Start up the renderer using the settings selected (Or the defaults if none have been selected).
188
+ @remarks
189
+ Called by Root::setRenderSystem. Shouldn't really be called
190
+ directly, although this can be done if the app wants to.
191
+ @param
192
+ autoCreateWindow If true, creates a render window
193
+ automatically, based on settings chosen so far. This saves
194
+ an extra call to RenderSystem::createRenderWindow
195
+ for the main render window.
196
+ @par
197
+ If an application has more specific window requirements,
198
+ however (e.g. a level design app), it should specify false
199
+ for this parameter and do it manually.
200
+ @returns
201
+ A pointer to the automatically created window, if requested, otherwise null.
202
+ */
203
+ virtual RenderWindow* initialise(bool autoCreateWindow, const String& windowTitle = "OGRE Render Window");
204
+
205
+ /** Restart the renderer (normally following a change in settings).
206
+ */
207
+ virtual void reinitialise(void) = 0;
208
+
209
+ /** Shutdown the renderer and cleanup resources.
210
+ */
211
+ virtual void shutdown(void);
212
+
213
+
214
+ /** Sets the colour & strength of the ambient (global directionless) light in the world.
215
+ */
216
+ virtual void setAmbientLight(float r, float g, float b) = 0;
217
+
218
+ /** Sets the type of light shading required (default = Gouraud).
219
+ */
220
+ virtual void setShadingType(ShadeOptions so) = 0;
221
+
222
+ /** Sets whether or not dynamic lighting is enabled.
223
+ @param
224
+ enabled If true, dynamic lighting is performed on geometry with normals supplied, geometry without
225
+ normals will not be displayed. If false, no lighting is applied and all geometry will be full brightness.
226
+ */
227
+ virtual void setLightingEnabled(bool enabled) = 0;
228
+
229
+ /** Sets whether or not W-buffers are enabled if they are avalible for this renderer.
230
+ @param
231
+ enabled If true and the renderer supports them W-buffers will be used. If false
232
+ W-buffers will not be used even if avalible. W-buffers are enabled by default
233
+ for 16bit depth buffers and disabled for all other depths.
234
+ */
235
+ void setWBufferEnabled(bool enabled);
236
+
237
+ /** Returns true if the renderer will try to use W-buffers when avalible.
238
+ */
239
+ bool getWBufferEnabled(void) const;
240
+
241
+ /** Creates a new rendering window.
242
+ @remarks
243
+ This method creates a new rendering window as specified
244
+ by the paramteters. The rendering system could be
245
+ responible for only a single window (e.g. in the case
246
+ of a game), or could be in charge of multiple ones (in the
247
+ case of a level editor). The option to create the window
248
+ as a child of another is therefore given.
249
+ This method will create an appropriate subclass of
250
+ RenderWindow depending on the API and platform implementation.
251
+ @par
252
+ After creation, this window can be retrieved using getRenderTarget().
253
+ @param
254
+ name The name of the window. Used in other methods
255
+ later like setRenderTarget and getRenderWindow.
256
+ @param
257
+ width The width of the new window.
258
+ @param
259
+ height The height of the new window.
260
+ @param
261
+ fullScreen Specify true to make the window full screen
262
+ without borders, title bar or menu bar.
263
+ @param
264
+ miscParams A NameValuePairList describing the other parameters for the new rendering window.
265
+ Options are case sensitive. Unrecognised parameters will be ignored silently.
266
+ These values might be platform dependent, but these are present for all platorms unless
267
+ indicated otherwise:
268
+ **
269
+ Key: "title"
270
+ Description: The title of the window that will appear in the title bar
271
+ Values: string
272
+ Default: RenderTarget name
273
+ **
274
+ Key: "colourDepth"
275
+ Description: Colour depth of the resulting rendering window; only applies if fullScreen
276
+ is set.
277
+ Values: 16 or 32
278
+ Default: desktop depth
279
+ Notes: [W32 specific]
280
+ **
281
+ Key: "left"
282
+ Description: screen x coordinate from left
283
+ Values: positive integers
284
+ Default: 'center window on screen'
285
+ Notes: Ignored in case of full screen
286
+ **
287
+ Key: "top"
288
+ Description: screen y coordinate from top
289
+ Values: positive integers
290
+ Default: 'center window on screen'
291
+ Notes: Ignored in case of full screen
292
+ **
293
+ Key: "depthBuffer" [DX9 specific]
294
+ Description: Use depth buffer
295
+ Values: false or true
296
+ Default: true
297
+ **
298
+ Key: "externalWindowHandle" [API specific]
299
+ Description: External window handle, for embedding the OGRE context
300
+ Values: positive integer for W32 (HWND handle)
301
+ poslong:poslong (Display*:Window) for GLX
302
+ Default: 0 (None)
303
+ **
304
+ Key: "externalGLControl" [Win32 OpenGL specific]
305
+ Description: Let the external window control OpenGL i.e. don't select a pixel format for the window,
306
+ do not change v-sync and do not swap buffer. When set to true, the calling application
307
+ is responsible of OpenGL initialization and buffer swapping. It should also create an
308
+ OpenGL context for its own rendering, Ogre will create one for its use. Then the calling
309
+ application must also enable Ogre OpenGL context before calling any Ogre function and
310
+ restore its OpenGL context after these calls. The Ogre OpenGL context can be retrieved
311
+ after Ogre initialisation by calling wglGetCurrentDC() and wglGetCurrentContext().
312
+ It is only used when the externalWindowHandle parameter is used.
313
+ Values: true, false
314
+ Default: false
315
+ **
316
+ Key: "parentWindowHandle" [API specific]
317
+ Description: Parent window handle, for embedding the OGRE context
318
+ Values: positive integer for W32 (HWND handle)
319
+ poslong:poslong for GLX (Display*:Window)
320
+ Default: 0 (None)
321
+ **
322
+ Key: "FSAA"
323
+ Description: Full screen antialiasing factor
324
+ Values: 0,2,4,6,...
325
+ Default: 0
326
+ **
327
+ Key: "displayFrequency"
328
+ Description: Display frequency rate, for fullscreen mode
329
+ Values: 60...?
330
+ Default: Desktop vsync rate
331
+ **
332
+ Key: "vsync"
333
+ Description: Synchronize buffer swaps to vsync
334
+ Values: true, false
335
+ Default: 0
336
+ **
337
+ Key: "border"
338
+ Description: The type of window border (in windowed mode)
339
+ Values: none, fixed, resize
340
+ Default: resize
341
+ **
342
+ Key: "outerDimensions"
343
+ Description: Whether the width/height is expressed as the size of the
344
+ outer window, rather than the content area
345
+ Values: true, false
346
+ Default: false
347
+ **
348
+ Key: "useNVPerfHUD" [DX9 specific]
349
+ Description: Enable the use of nVidia NVPerfHUD
350
+ Values: true, false
351
+ Default: false
352
+ **
353
+ Key: "fbconfigid" [GLX specific]
354
+ Description: Specify a custom GLXFBConfig (pixel format) if needed
355
+ Values: poslong (GLXFBConfig)
356
+ Default: Choose the "best" one
357
+ **
358
+ Key: "glxcontext" [GLX specific]
359
+ Description: Specify a custom GLXContext to use; the context will
360
+ not be auto-deleted at shutdown; you also may specify a drawable
361
+ (a GLXWindow or a GLXPBuffer or whatever) if pre-created.
362
+ Values: poslong (GLXContext) or
363
+ poslong:poslong (GLXContext:GLXDrawable)
364
+ Default: Both auto-created by the RenderSystem
365
+ */
366
+ virtual RenderWindow* createRenderWindow(const String &name, unsigned int width, unsigned int height,
367
+ bool fullScreen, const NameValuePairList *miscParams = 0) = 0;
368
+
369
+ /** Creates and registers a render texture object.
370
+ @param name
371
+ The name for the new render texture. Note that names must be unique.
372
+ @param width
373
+ The requested width for the render texture. See Remarks for more info.
374
+ @param height
375
+ The requested width for the render texture. See Remarks for more info.
376
+ @param texType
377
+ The type of texture; defaults to TEX_TYPE_2D
378
+ @param internalFormat
379
+ The internal format of the texture; defaults to PF_X8R8G8B8
380
+ @param miscParams This parameter is ignored.
381
+ @returns
382
+ On succes, a pointer to a new platform-dependernt, RenderTexture-derived
383
+ class is returned. On failiure, NULL is returned.
384
+ @remarks
385
+ Because a render texture is basically a wrapper around a texture object,
386
+ the width and height parameters of this method just hint the preferred
387
+ size for the texture. Depending on the hardware driver or the underlying
388
+ API, these values might change when the texture is created. The same applies
389
+ to the internalFormat parameter.
390
+ @deprecated
391
+ This method is deprecated, and exists only for backward compatibility. You can create
392
+ arbitrary rendertextures with the TextureManager::createManual call with usage
393
+ TU_RENDERTARGET.
394
+ */
395
+ RenderTexture * createRenderTexture( const String & name, unsigned int width, unsigned int height,
396
+ TextureType texType = TEX_TYPE_2D, PixelFormat internalFormat = PF_X8R8G8B8,
397
+ const NameValuePairList *miscParams = 0 );
398
+
399
+ /** Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures
400
+ at once. Surfaces can be bound and unbound at will.
401
+ This fails if mCapabilities->numMultiRenderTargets() is smaller than 2.
402
+ */
403
+ virtual MultiRenderTarget * createMultiRenderTarget(const String & name) = 0;
404
+
405
+ /** Destroys a render window */
406
+ virtual void destroyRenderWindow(const String& name);
407
+ /** Destroys a render texture */
408
+ virtual void destroyRenderTexture(const String& name);
409
+ /** Destroys a render target of any sort */
410
+ virtual void destroyRenderTarget(const String& name);
411
+
412
+ /** Attaches the passed render target to the render system.
413
+ */
414
+ virtual void attachRenderTarget( RenderTarget &target );
415
+ /** Returns a pointer to the render target with the passed name, or NULL if that
416
+ render target cannot be found.
417
+ */
418
+ virtual RenderTarget * getRenderTarget( const String &name );
419
+ /** Detaches the render target with the passed name from the render system and
420
+ returns a pointer to it.
421
+ @note
422
+ If the render target cannot be found, NULL is returned.
423
+ */
424
+ virtual RenderTarget * detachRenderTarget( const String &name );
425
+
426
+ /// Iterator over RenderTargets
427
+ typedef MapIterator<Ogre::RenderTargetMap> RenderTargetIterator;
428
+
429
+ /** Returns a specialised MapIterator over all render targets attached to the RenderSystem. */
430
+ virtual RenderTargetIterator getRenderTargetIterator(void) {
431
+ return RenderTargetIterator( mRenderTargets.begin(), mRenderTargets.end() );
432
+ }
433
+ /** Returns a description of an error code.
434
+ */
435
+ virtual String getErrorDescription(long errorNumber) const = 0;
436
+
437
+ /** Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers.
438
+ @remarks
439
+ By default, all rendering windows wait for a vertical blank (when the CRT beam turns off briefly to move
440
+ from the bottom right of the screen back to the top left) before flipping the screen buffers. This ensures
441
+ that the image you see on the screen is steady. However it restricts the frame rate to the refresh rate of
442
+ the monitor, and can slow the frame rate down. You can speed this up by not waiting for the blank, but
443
+ this has the downside of introducing 'tearing' artefacts where part of the previous frame is still displayed
444
+ as the buffers are switched. Speed vs quality, you choose.
445
+ @note
446
+ Has NO effect on windowed mode render targets. Only affects fullscreen mode.
447
+ @param
448
+ enabled If true, the system waits for vertical blanks - quality over speed. If false it doesn't - speed over quality.
449
+ */
450
+ void setWaitForVerticalBlank(bool enabled);
451
+
452
+ /** Returns true if the system is synchronising frames with the monitor vertical blank.
453
+ */
454
+ bool getWaitForVerticalBlank(void) const;
455
+
456
+ // ------------------------------------------------------------------------
457
+ // Internal Rendering Access
458
+ // All methods below here are normally only called by other OGRE classes
459
+ // They can be called by library user if required
460
+ // ------------------------------------------------------------------------
461
+
462
+
463
+ /** Tells the rendersystem to use the attached set of lights (and no others)
464
+ up to the number specified (this allows the same list to be used with different
465
+ count limits) */
466
+ virtual void _useLights(const LightList& lights, unsigned short limit) = 0;
467
+ /** Sets the world transform matrix. */
468
+ virtual void _setWorldMatrix(const Matrix4 &m) = 0;
469
+ /** Sets multiple world matrices (vertex blending). */
470
+ virtual void _setWorldMatrices(const Matrix4* m, unsigned short count);
471
+ /** Sets the view transform matrix */
472
+ virtual void _setViewMatrix(const Matrix4 &m) = 0;
473
+ /** Sets the projection transform matrix */
474
+ virtual void _setProjectionMatrix(const Matrix4 &m) = 0;
475
+ /** Utility function for setting all the properties of a texture unit at once.
476
+ This method is also worth using over the individual texture unit settings because it
477
+ only sets those settings which are different from the current settings for this
478
+ unit, thus minimising render state changes.
479
+ */
480
+ virtual void _setTextureUnitSettings(size_t texUnit, TextureUnitState& tl);
481
+ /** Turns off a texture unit. */
482
+ virtual void _disableTextureUnit(size_t texUnit);
483
+ /** Disables all texture units from the given unit upwards */
484
+ virtual void _disableTextureUnitsFrom(size_t texUnit);
485
+ /** Sets the surface properties to be used for future rendering.
486
+
487
+ This method sets the the properties of the surfaces of objects
488
+ to be rendered after it. In this context these surface properties
489
+ are the amount of each type of light the object reflects (determining
490
+ it's colour under different types of light), whether it emits light
491
+ itself, and how shiny it is. Textures are not dealt with here,
492
+ see the _setTetxure method for details.
493
+ This method is used by _setMaterial so does not need to be called
494
+ direct if that method is being used.
495
+
496
+ @param ambient The amount of ambient (sourceless and directionless)
497
+ light an object reflects. Affected by the colour/amount of ambient light in the scene.
498
+ @param diffuse The amount of light from directed sources that is
499
+ reflected (affected by colour/amount of point, directed and spot light sources)
500
+ @param specular The amount of specular light reflected. This is also
501
+ affected by directed light sources but represents the colour at the
502
+ highlights of the object.
503
+ @param emissive The colour of light emitted from the object. Note that
504
+ this will make an object seem brighter and not dependent on lights in
505
+ the scene, but it will not act as a light, so will not illuminate other
506
+ objects. Use a light attached to the same SceneNode as the object for this purpose.
507
+ @param shininess A value which only has an effect on specular highlights (so
508
+ specular must be non-black). The higher this value, the smaller and crisper the
509
+ specular highlights will be, imitating a more highly polished surface.
510
+ This value is not constrained to 0.0-1.0, in fact it is likely to
511
+ be more (10.0 gives a modest sheen to an object).
512
+ @param tracking A bit field that describes which of the ambient, diffuse, specular
513
+ and emissive colours follow the vertex colour of the primitive. When a bit in this field is set
514
+ its ColourValue is ignored. This is a combination of TVC_AMBIENT, TVC_DIFFUSE, TVC_SPECULAR(note that the shininess value is still
515
+ taken from shininess) and TVC_EMISSIVE. TVC_NONE means that there will be no material property
516
+ tracking the vertex colours.
517
+ */
518
+ virtual void _setSurfaceParams(const ColourValue &ambient,
519
+ const ColourValue &diffuse, const ColourValue &specular,
520
+ const ColourValue &emissive, Real shininess,
521
+ TrackVertexColourType tracking = TVC_NONE) = 0;
522
+
523
+ /** Sets whether or not rendering points using OT_POINT_LIST will
524
+ render point sprites (textured quads) or plain points.
525
+ @param enabled True enables point sprites, false returns to normal
526
+ point rendering.
527
+ */
528
+ virtual void _setPointSpritesEnabled(bool enabled) = 0;
529
+
530
+ /** Sets the size of points and how they are attenuated with distance.
531
+ @remarks
532
+ When performing point rendering or point sprite rendering,
533
+ point size can be attenuated with distance. The equation for
534
+ doing this is attenuation = 1 / (constant + linear * dist + quadratic * d^2) .
535
+ @par
536
+ For example, to disable distance attenuation (constant screensize)
537
+ you would set constant to 1, and linear and quadratic to 0. A
538
+ standard perspective attenuation would be 0, 1, 0 respectively.
539
+ */
540
+ virtual void _setPointParameters(Real size, bool attenuationEnabled,
541
+ Real constant, Real linear, Real quadratic, Real minSize, Real maxSize) = 0;
542
+
543
+
544
+ /**
545
+ Sets the texture to bind to a given texture unit.
546
+
547
+ User processes would not normally call this direct unless rendering
548
+ primitives themselves.
549
+
550
+ @param unit The index of the texture unit to modify. Multitexturing
551
+ hardware can support multiple units (see
552
+ RenderSystemCapabilites::getNumTextureUnits)
553
+ @param enabled Boolean to turn the unit on/off
554
+ @param texPtr Pointer to the texture to use.
555
+ */
556
+ virtual void _setTexture(size_t unit, bool enabled,
557
+ const TexturePtr &texPtr) = 0;
558
+ /**
559
+ Sets the texture to bind to a given texture unit.
560
+
561
+ User processes would not normally call this direct unless rendering
562
+ primitives themselves.
563
+
564
+ @param unit The index of the texture unit to modify. Multitexturing
565
+ hardware can support multiple units (see
566
+ RenderSystemCapabilites::getNumTextureUnits)
567
+ @param enabled Boolean to turn the unit on/off
568
+ @param texname The name of the texture to use - this should have
569
+ already been loaded with TextureManager::load.
570
+ */
571
+ virtual void _setTexture(size_t unit, bool enabled, const String &texname);
572
+
573
+ /** Binds a texture to a vertex sampler.
574
+ @remarks
575
+ Not all rendersystems support separate vertex samplers. For those that
576
+ do, you can set a texture for them, separate to the regular texture
577
+ samplers, using this method. For those that don't, you should use the
578
+ regular texture samplers which are shared between the vertex and
579
+ fragment units; calling this method will throw an exception.
580
+ @see RenderSystemCapabilites::getVertexTextureUnitsShared
581
+ */
582
+ virtual void _setVertexTexture(size_t unit, const TexturePtr& tex);
583
+
584
+ /**
585
+ Sets the texture coordinate set to use for a texture unit.
586
+
587
+ Meant for use internally - not generally used directly by apps - the Material and TextureUnitState
588
+ classes let you manage textures far more easily.
589
+
590
+ @param unit Texture unit as above
591
+ @param index The index of the texture coordinate set to use.
592
+ */
593
+ virtual void _setTextureCoordSet(size_t unit, size_t index) = 0;
594
+
595
+ /**
596
+ Sets a method for automatically calculating texture coordinates for a stage.
597
+ Should not be used by apps - for use by Ogre only.
598
+ @param unit Texture unit as above
599
+ @param m Calculation method to use
600
+ @param frustum Optional Frustum param, only used for projective effects
601
+ */
602
+ virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m,
603
+ const Frustum* frustum = 0) = 0;
604
+
605
+ /** Sets the texture blend modes from a TextureUnitState record.
606
+ Meant for use internally only - apps should use the Material
607
+ and TextureUnitState classes.
608
+ @param unit Texture unit as above
609
+ @param bm Details of the blending mode
610
+ */
611
+ virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx& bm) = 0;
612
+
613
+ /** Sets the filtering options for a given texture unit.
614
+ @param unit The texture unit to set the filtering options for
615
+ @param minFilter The filter used when a texture is reduced in size
616
+ @param magFilter The filter used when a texture is magnified
617
+ @param mipFilter The filter used between mipmap levels, FO_NONE disables mipmapping
618
+ */
619
+ virtual void _setTextureUnitFiltering(size_t unit, FilterOptions minFilter,
620
+ FilterOptions magFilter, FilterOptions mipFilter);
621
+
622
+ /** Sets a single filter for a given texture unit.
623
+ @param unit The texture unit to set the filtering options for
624
+ @param ftype The filter type
625
+ @param filter The filter to be used
626
+ */
627
+ virtual void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter) = 0;
628
+
629
+ /** Sets the maximal anisotropy for the specified texture unit.*/
630
+ virtual void _setTextureLayerAnisotropy(size_t unit, unsigned int maxAnisotropy) = 0;
631
+
632
+ /** Sets the texture addressing mode for a texture unit.*/
633
+ virtual void _setTextureAddressingMode(size_t unit, const TextureUnitState::UVWAddressingMode& uvw) = 0;
634
+
635
+ /** Sets the texture border colour for a texture unit.*/
636
+ virtual void _setTextureBorderColour(size_t unit, const ColourValue& colour) = 0;
637
+
638
+ /** Sets the mipmap bias value for a given texture unit.
639
+ @remarks
640
+ This allows you to adjust the mipmap calculation up or down for a
641
+ given texture unit. Negative values force a larger mipmap to be used,
642
+ positive values force a smaller mipmap to be used. Units are in numbers
643
+ of levels, so +1 forces the mipmaps to one smaller level.
644
+ @note Only does something if render system has capability RSC_MIPMAP_LOD_BIAS.
645
+ */
646
+ virtual void _setTextureMipmapBias(size_t unit, float bias) = 0;
647
+
648
+ /** Sets the texture coordinate transformation matrix for a texture unit.
649
+ @param unit Texture unit to affect
650
+ @param xform The 4x4 matrix
651
+ */
652
+ virtual void _setTextureMatrix(size_t unit, const Matrix4& xform) = 0;
653
+
654
+ /** Sets the global blending factors for combining subsequent renders with the existing frame contents.
655
+ The result of the blending operation is:</p>
656
+ <p align="center">final = (texture * sourceFactor) + (pixel * destFactor)</p>
657
+ Each of the factors is specified as one of a number of options, as specified in the SceneBlendFactor
658
+ enumerated type.
659
+ @param sourceFactor The source factor in the above calculation, i.e. multiplied by the texture colour components.
660
+ @param destFactor The destination factor in the above calculation, i.e. multiplied by the pixel colour components.
661
+ */
662
+ virtual void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor) = 0;
663
+
664
+ /** Sets the global alpha rejection approach for future renders.
665
+ By default images are rendered regardless of texture alpha. This method lets you change that.
666
+ @param func The comparison function which must pass for a pixel to be written.
667
+ @param val The value to compare each pixels alpha value to (0-255)
668
+ */
669
+ virtual void _setAlphaRejectSettings(CompareFunction func, unsigned char value) = 0;
670
+ /**
671
+ * Signifies the beginning of a frame, ie the start of rendering on a single viewport. Will occur
672
+ * several times per complete frame if multiple viewports exist.
673
+ */
674
+ virtual void _beginFrame(void) = 0;
675
+
676
+
677
+ /**
678
+ * Ends rendering of a frame to the current viewport.
679
+ */
680
+ virtual void _endFrame(void) = 0;
681
+ /**
682
+ Sets the provided viewport as the active one for future
683
+ rendering operations. This viewport is aware of it's own
684
+ camera and render target. Must be implemented by subclass.
685
+
686
+ @param target Pointer to the appropriate viewport.
687
+ */
688
+ virtual void _setViewport(Viewport *vp) = 0;
689
+ /** Get the current active viewport for rendering. */
690
+ virtual Viewport* _getViewport(void);
691
+
692
+ /** Sets the culling mode for the render system based on the 'vertex winding'.
693
+ A typical way for the rendering engine to cull triangles is based on the
694
+ 'vertex winding' of triangles. Vertex winding refers to the direction in
695
+ which the vertices are passed or indexed to in the rendering operation as viewed
696
+ from the camera, and will wither be clockwise or anticlockwise (that's 'counterclockwise' for
697
+ you Americans out there ;) The default is CULL_CLOCKWISE i.e. that only triangles whose vertices
698
+ are passed/indexed in anticlockwise order are rendered - this is a common approach and is used in 3D studio models
699
+ for example. You can alter this culling mode if you wish but it is not advised unless you know what you are doing.
700
+ You may wish to use the CULL_NONE option for mesh data that you cull yourself where the vertex
701
+ winding is uncertain.
702
+ */
703
+ virtual void _setCullingMode(CullingMode mode) = 0;
704
+
705
+ virtual CullingMode _getCullingMode(void) const;
706
+
707
+ /** Sets the mode of operation for depth buffer tests from this point onwards.
708
+ Sometimes you may wish to alter the behaviour of the depth buffer to achieve
709
+ special effects. Because it's unlikely that you'll set these options for an entire frame,
710
+ but rather use them to tweak settings between rendering objects, this is an internal
711
+ method (indicated by the '_' prefix) which will be used by a SceneManager implementation
712
+ rather than directly from the client application.
713
+ If this method is never called the settings are automatically the same as the default parameters.
714
+ @param depthTest If true, the depth buffer is tested for each pixel and the frame buffer is only updated
715
+ if the depth function test succeeds. If false, no test is performed and pixels are always written.
716
+ @param depthWrite If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds.
717
+ If false, the depth buffer is left unchanged even if a new pixel is written.
718
+ @param depthFunction Sets the function required for the depth test.
719
+ */
720
+ virtual void _setDepthBufferParams(bool depthTest = true, bool depthWrite = true, CompareFunction depthFunction = CMPF_LESS_EQUAL) = 0;
721
+
722
+ /** Sets whether or not the depth buffer check is performed before a pixel write.
723
+ @param enabled If true, the depth buffer is tested for each pixel and the frame buffer is only updated
724
+ if the depth function test succeeds. If false, no test is performed and pixels are always written.
725
+ */
726
+ virtual void _setDepthBufferCheckEnabled(bool enabled = true) = 0;
727
+ /** Sets whether or not the depth buffer is updated after a pixel write.
728
+ @param enabled If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds.
729
+ If false, the depth buffer is left unchanged even if a new pixel is written.
730
+ */
731
+ virtual void _setDepthBufferWriteEnabled(bool enabled = true) = 0;
732
+ /** Sets the comparison function for the depth buffer check.
733
+ Advanced use only - allows you to choose the function applied to compare the depth values of
734
+ new and existing pixels in the depth buffer. Only an issue if the deoth buffer check is enabled
735
+ (see _setDepthBufferCheckEnabled)
736
+ @param func The comparison between the new depth and the existing depth which must return true
737
+ for the new pixel to be written.
738
+ */
739
+ virtual void _setDepthBufferFunction(CompareFunction func = CMPF_LESS_EQUAL) = 0;
740
+ /** Sets whether or not colour buffer writing is enabled, and for which channels.
741
+ @remarks
742
+ For some advanced effects, you may wish to turn off the writing of certain colour
743
+ channels, or even all of the colour channels so that only the depth buffer is updated
744
+ in a rendering pass. However, the chances are that you really want to use this option
745
+ through the Material class.
746
+ @param red, green, blue, alpha Whether writing is enabled for each of the 4 colour channels. */
747
+ virtual void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha) = 0;
748
+ /** Sets the depth bias, NB you should use the Material version of this.
749
+ @remarks
750
+ When polygons are coplanar, you can get problems with 'depth fighting' where
751
+ the pixels from the two polys compete for the same screen pixel. This is particularly
752
+ a problem for decals (polys attached to another surface to represent details such as
753
+ bulletholes etc.).
754
+ @par
755
+ A way to combat this problem is to use a depth bias to adjust the depth buffer value
756
+ used for the decal such that it is slightly higher than the true value, ensuring that
757
+ the decal appears on top.
758
+ @note
759
+ The final bias value is a combination of a constant bias and a bias proportional
760
+ to the maximum depth slope of the polygon being rendered. The final bias
761
+ is constantBias + slopeScaleBias * maxslope. Slope scale biasing is
762
+ generally preferable but is not available on older hardware.
763
+ @param constantBias The constant bias value, expressed as a value in
764
+ homogenous depth coordinates.
765
+ @param slopeScaleBias The bias value which is factored by the maximum slope
766
+ of the polygon, see the description above. This is not supported by all
767
+ cards.
768
+
769
+ */
770
+ virtual void _setDepthBias(float constantBias, float slopeScaleBias = 0.0f) = 0;
771
+ /** Sets the fogging mode for future geometry.
772
+ @param mode Set up the mode of fog as described in the FogMode enum, or set to FOG_NONE to turn off.
773
+ @param colour The colour of the fog. Either set this to the same as your viewport background colour,
774
+ or to blend in with a skydome or skybox.
775
+ @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
776
+ that fog never completely obscures the scene.
777
+ @param linearStart Distance at which linear fog starts to encroach. The distance must be passed
778
+ 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.
779
+ @param linearEnd Distance at which linear fog becomes completely opaque.The distance must be passed
780
+ 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.
781
+ */
782
+ 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;
783
+
784
+
785
+ /** The RenderSystem will keep a count of tris rendered, this resets the count. */
786
+ virtual void _beginGeometryCount(void);
787
+ /** Reports the number of tris rendered since the last _beginGeometryCount call. */
788
+ virtual unsigned int _getFaceCount(void) const;
789
+ /** Reports the number of batches rendered since the last _beginGeometryCount call. */
790
+ virtual unsigned int _getBatchCount(void) const;
791
+ /** Reports the number of vertices passed to the renderer since the last _beginGeometryCount call. */
792
+ virtual unsigned int _getVertexCount(void) const;
793
+
794
+ /** Generates a packed data version of the passed in ColourValue suitable for
795
+ use as with this RenderSystem.
796
+ @remarks
797
+ Since different render systems have different colour data formats (eg
798
+ RGBA for GL, ARGB for D3D) this method allows you to use 1 method for all.
799
+ @param colour The colour to convert
800
+ @param pDest Pointer to location to put the result.
801
+ */
802
+ virtual void convertColourValue(const ColourValue& colour, uint32* pDest);
803
+ /** Get the native VertexElementType for a compact 32-bit colour value
804
+ for this rendersystem.
805
+ */
806
+ virtual VertexElementType getColourVertexElementType(void) const = 0;
807
+
808
+ /** Converts a uniform projection matrix to suitable for this render system.
809
+ @remarks
810
+ Because different APIs have different requirements (some incompatible) for the
811
+ projection matrix, this method allows each to implement their own correctly and pass
812
+ back a generic OGRE matrix for storage in the engine.
813
+ */
814
+ virtual void _convertProjectionMatrix(const Matrix4& matrix,
815
+ Matrix4& dest, bool forGpuProgram = false) = 0;
816
+
817
+ /** Builds a perspective projection matrix suitable for this render system.
818
+ @remarks
819
+ Because different APIs have different requirements (some incompatible) for the
820
+ projection matrix, this method allows each to implement their own correctly and pass
821
+ back a generic OGRE matrix for storage in the engine.
822
+ */
823
+ virtual void _makeProjectionMatrix(const Radian& fovy, Real aspect, Real nearPlane, Real farPlane,
824
+ Matrix4& dest, bool forGpuProgram = false) = 0;
825
+
826
+ /** Builds a perspective projection matrix for the case when frustum is
827
+ not centered around camera.
828
+ @remarks
829
+ Viewport coordinates are in camera coordinate frame, i.e. camera is
830
+ at the origin.
831
+ */
832
+ virtual void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top,
833
+ Real nearPlane, Real farPlane, Matrix4& dest, bool forGpuProgram = false) = 0;
834
+ /** Builds an orthographic projection matrix suitable for this render system.
835
+ @remarks
836
+ Because different APIs have different requirements (some incompatible) for the
837
+ projection matrix, this method allows each to implement their own correctly and pass
838
+ back a generic OGRE matrix for storage in the engine.
839
+ */
840
+ virtual void _makeOrthoMatrix(const Radian& fovy, Real aspect, Real nearPlane, Real farPlane,
841
+ Matrix4& dest, bool forGpuProgram = false) = 0;
842
+
843
+ /** Update a perspective projection matrix to use 'oblique depth projection'.
844
+ @remarks
845
+ This method can be used to change the nature of a perspective
846
+ transform in order to make the near plane not perpendicular to the
847
+ camera view direction, but to be at some different orientation.
848
+ This can be useful for performing arbitrary clipping (e.g. to a
849
+ reflection plane) which could otherwise only be done using user
850
+ clip planes, which are more expensive, and not necessarily supported
851
+ on all cards.
852
+ @param matrix The existing projection matrix. Note that this must be a
853
+ perspective transform (not orthographic), and must not have already
854
+ been altered by this method. The matrix will be altered in-place.
855
+ @param plane The plane which is to be used as the clipping plane. This
856
+ plane must be in CAMERA (view) space.
857
+ @param forGpuProgram Is this for use with a Gpu program or fixed-function
858
+ */
859
+ virtual void _applyObliqueDepthProjection(Matrix4& matrix, const Plane& plane,
860
+ bool forGpuProgram) = 0;
861
+
862
+ /** Sets how to rasterise triangles, as points, wireframe or solid polys. */
863
+ virtual void _setPolygonMode(PolygonMode level) = 0;
864
+
865
+ /** Turns stencil buffer checking on or off.
866
+ @remarks
867
+ Stencilling (masking off areas of the rendering target based on the stencil
868
+ buffer) canbe turned on or off using this method. By default, stencilling is
869
+ disabled.
870
+ */
871
+ virtual void setStencilCheckEnabled(bool enabled) = 0;
872
+ /** Determines if this system supports hardware accelerated stencil buffer.
873
+ @remarks
874
+ Note that the lack of this function doesn't mean you can't do stencilling, but
875
+ the stencilling operations will be provided in software, which will NOT be
876
+ fast.
877
+ @par
878
+ Generally hardware stencils are only supported in 32-bit colour modes, because
879
+ the stencil buffer shares the memory of the z-buffer, and in most cards the
880
+ z-buffer has to be the same depth as the colour buffer. This means that in 32-bit
881
+ mode, 24 bits of the z-buffer are depth and 8 bits are stencil. In 16-bit mode there
882
+ is no room for a stencil (although some cards support a 15:1 depth:stencil option,
883
+ this isn't useful for very much) so 8 bits of stencil are provided in software.
884
+ This can mean that if you use stencilling, your applications may be faster in
885
+ 32-but colour than in 16-bit, which may seem odd to some people.
886
+ */
887
+ /*virtual bool hasHardwareStencil(void) = 0;*/
888
+
889
+ /** This method allows you to set all the stencil buffer parameters in one call.
890
+ @remarks
891
+ The stencil buffer is used to mask out pixels in the render target, allowing
892
+ you to do effects like mirrors, cut-outs, stencil shadows and more. Each of
893
+ your batches of rendering is likely to ignore the stencil buffer,
894
+ update it with new values, or apply it to mask the output of the render.
895
+ The stencil test is:<PRE>
896
+ (Reference Value & Mask) CompareFunction (Stencil Buffer Value & Mask)</PRE>
897
+ The result of this will cause one of 3 actions depending on whether the test fails,
898
+ succeeds but with the depth buffer check still failing, or succeeds with the
899
+ depth buffer check passing too.
900
+ @par
901
+ Unlike other render states, stencilling is left for the application to turn
902
+ on and off when it requires. This is because you are likely to want to change
903
+ parameters between batches of arbitrary objects and control the ordering yourself.
904
+ In order to batch things this way, you'll want to use OGRE's separate render queue
905
+ groups (see RenderQueue) and register a RenderQueueListener to get notifications
906
+ between batches.
907
+ @par
908
+ There are individual state change methods for each of the parameters set using
909
+ this method.
910
+ Note that the default values in this method represent the defaults at system
911
+ start up too.
912
+ @param func The comparison function applied.
913
+ @param refValue The reference value used in the comparison
914
+ @param mask The bitmask applied to both the stencil value and the reference value
915
+ before comparison
916
+ @param stencilFailOp The action to perform when the stencil check fails
917
+ @param depthFailOp The action to perform when the stencil check passes, but the
918
+ depth buffer check still fails
919
+ @param passOp The action to take when both the stencil and depth check pass.
920
+ @param twoSidedOperation If set to true, then if you render both back and front faces
921
+ (you'll have to turn off culling) then these parameters will apply for front faces,
922
+ and the inverse of them will happen for back faces (keep remains the same).
923
+ */
924
+ virtual void setStencilBufferParams(CompareFunction func = CMPF_ALWAYS_PASS,
925
+ uint32 refValue = 0, uint32 mask = 0xFFFFFFFF,
926
+ StencilOperation stencilFailOp = SOP_KEEP,
927
+ StencilOperation depthFailOp = SOP_KEEP,
928
+ StencilOperation passOp = SOP_KEEP,
929
+ bool twoSidedOperation = false) = 0;
930
+
931
+
932
+
933
+ /** Sets the current vertex declaration, ie the source of vertex data. */
934
+ virtual void setVertexDeclaration(VertexDeclaration* decl) = 0;
935
+ /** Sets the current vertex buffer binding state. */
936
+ virtual void setVertexBufferBinding(VertexBufferBinding* binding) = 0;
937
+
938
+ /** Sets whether or not normals are to be automatically normalised.
939
+ @remarks
940
+ This is useful when, for example, you are scaling SceneNodes such that
941
+ normals may not be unit-length anymore. Note though that this has an
942
+ overhead so should not be turn on unless you really need it.
943
+ @par
944
+ You should not normally call this direct unless you are rendering
945
+ world geometry; set it on the Renderable because otherwise it will be
946
+ overridden by material settings.
947
+ */
948
+ virtual void setNormaliseNormals(bool normalise) = 0;
949
+
950
+ /**
951
+ Render something to the active viewport.
952
+
953
+ Low-level rendering interface to perform rendering
954
+ operations. Unlikely to be used directly by client
955
+ applications, since the SceneManager and various support
956
+ classes will be responsible for calling this method.
957
+ Can only be called between _beginScene and _endScene
958
+
959
+ @param op A rendering operation instance, which contains
960
+ details of the operation to be performed.
961
+ */
962
+ virtual void _render(const RenderOperation& op);
963
+
964
+ /** Gets the capabilities of the render system. */
965
+ const RenderSystemCapabilities* getCapabilities(void) const { return mCapabilities; }
966
+
967
+ /** Binds a given GpuProgram (but not the parameters).
968
+ @remarks Only one GpuProgram of each type can be bound at once, binding another
969
+ one will simply replace the exsiting one.
970
+ */
971
+ virtual void bindGpuProgram(GpuProgram* prg);
972
+
973
+ /** Bind Gpu program parameters.
974
+ */
975
+ virtual void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params) = 0;
976
+ /** Only binds Gpu program parameters used for passes that have more than one iteration rendering
977
+ */
978
+ virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype) = 0;
979
+ /** Unbinds GpuPrograms of a given GpuProgramType.
980
+ @remarks
981
+ This returns the pipeline to fixed-function processing for this type.
982
+ */
983
+ virtual void unbindGpuProgram(GpuProgramType gptype);
984
+
985
+ /** Returns whether or not a Gpu program of the given type is currently bound. */
986
+ virtual bool isGpuProgramBound(GpuProgramType gptype);
987
+
988
+ /** sets the clipping region.
989
+ */
990
+ virtual void setClipPlanes(const PlaneList& clipPlanes) = 0;
991
+
992
+ /** Utility method for initialising all render targets attached to this rendering system. */
993
+ virtual void _initRenderTargets(void);
994
+
995
+ /** Utility method to notify all render targets that a camera has been removed,
996
+ incase they were referring to it as their viewer.
997
+ */
998
+ virtual void _notifyCameraRemoved(const Camera* cam);
999
+
1000
+ /** Internal method for updating all render targets attached to this rendering system. */
1001
+ virtual void _updateAllRenderTargets(void);
1002
+
1003
+ /** Set a clipping plane. */
1004
+ virtual void setClipPlane (ushort index, const Plane &p);
1005
+ /** Set a clipping plane. */
1006
+ virtual void setClipPlane (ushort index, Real A, Real B, Real C, Real D) = 0;
1007
+ /** Enable the clipping plane. */
1008
+ virtual void enableClipPlane (ushort index, bool enable) = 0;
1009
+
1010
+ /** Sets whether or not vertex windings set should be inverted; this can be important
1011
+ for rendering reflections. */
1012
+ virtual void setInvertVertexWinding(bool invert);
1013
+ /** Sets the 'scissor region' ie the region of the target in which rendering can take place.
1014
+ @remarks
1015
+ This method allows you to 'mask off' rendering in all but a given rectangular area
1016
+ as identified by the parameters to this method.
1017
+ @note
1018
+ Not all systems support this method. Check the RenderSystemCapabilities for the
1019
+ RSC_SCISSOR_TEST capability to see if it is supported.
1020
+ @param enabled True to enable the scissor test, false to disable it.
1021
+ @param left, top, right, bottom The location of the corners of the rectangle, expressed in
1022
+ <i>pixels</i>.
1023
+ */
1024
+ virtual void setScissorTest(bool enabled, size_t left = 0, size_t top = 0,
1025
+ size_t right = 800, size_t bottom = 600) = 0;
1026
+
1027
+ /** Clears one or more frame buffers on the active render target.
1028
+ @param buffers Combination of one or more elements of FrameBufferType
1029
+ denoting which buffers are to be cleared
1030
+ @param colour The colour to clear the colour buffer with, if enabled
1031
+ @param depth The value to initialise the depth buffer with, if enabled
1032
+ @param stencil The value to initialise the stencil buffer with, if enabled.
1033
+ */
1034
+ virtual void clearFrameBuffer(unsigned int buffers,
1035
+ const ColourValue& colour = ColourValue::Black,
1036
+ Real depth = 1.0f, unsigned short stencil = 0) = 0;
1037
+ /** Returns the horizontal texel offset value required for mapping
1038
+ texel origins to pixel origins in this rendersystem.
1039
+ @remarks
1040
+ Since rendersystems sometimes disagree on the origin of a texel,
1041
+ mapping from texels to pixels can sometimes be problematic to
1042
+ implement generically. This method allows you to retrieve the offset
1043
+ required to map the origin of a texel to the origin of a pixel in
1044
+ the horizontal direction.
1045
+ */
1046
+ virtual Real getHorizontalTexelOffset(void) = 0;
1047
+ /** Returns the vertical texel offset value required for mapping
1048
+ texel origins to pixel origins in this rendersystem.
1049
+ @remarks
1050
+ Since rendersystems sometimes disagree on the origin of a texel,
1051
+ mapping from texels to pixels can sometimes be problematic to
1052
+ implement generically. This method allows you to retrieve the offset
1053
+ required to map the origin of a texel to the origin of a pixel in
1054
+ the vertical direction.
1055
+ */
1056
+ virtual Real getVerticalTexelOffset(void) = 0;
1057
+
1058
+ /** Gets the minimum (closest) depth value to be used when rendering
1059
+ using identity transforms.
1060
+ @remarks
1061
+ When using identity transforms you can manually set the depth
1062
+ of a vertex; however the input values required differ per
1063
+ rendersystem. This method lets you retrieve the correct value.
1064
+ @see Renderable::getUseIdentityView, Renderable::getUseIdentityProjection
1065
+ */
1066
+ virtual Real getMinimumDepthInputValue(void) = 0;
1067
+ /** Gets the maximum (farthest) depth value to be used when rendering
1068
+ using identity transforms.
1069
+ @remarks
1070
+ When using identity transforms you can manually set the depth
1071
+ of a vertex; however the input values required differ per
1072
+ rendersystem. This method lets you retrieve the correct value.
1073
+ @see Renderable::getUseIdentityView, Renderable::getUseIdentityProjection
1074
+ */
1075
+ virtual Real getMaximumDepthInputValue(void) = 0;
1076
+ /** set the current multi pass count value. This must be set prior to
1077
+ calling _render() if multiple renderings of the same pass state are
1078
+ required.
1079
+ @param count Number of times to render the current state.
1080
+ */
1081
+ void setCurrentPassIterationCount(const size_t count) { mCurrentPassIterationCount = count; }
1082
+
1083
+ /** Defines a listener on the custom events that this render system
1084
+ can raise.
1085
+ @see RenderSystem::addListener
1086
+ */
1087
+ class _OgreExport Listener
1088
+ {
1089
+ public:
1090
+ Listener() {}
1091
+ virtual ~Listener() {}
1092
+
1093
+ /** A rendersystem-specific event occurred.
1094
+ @param eventName The name of the event which has occurred
1095
+ @param parameters A list of parameters that may belong to this event,
1096
+ may be null if there are no parameters
1097
+ */
1098
+ virtual void eventOccurred(const String& eventName,
1099
+ const NameValuePairList* parameters = 0) = 0;
1100
+ };
1101
+ /** Adds a listener to the custom events that this render system can raise.
1102
+ @remarks
1103
+ Some render systems have quite specific, internally generated events
1104
+ that the application may wish to be notified of. Many applications
1105
+ don't have to worry about these events, and can just trust OGRE to
1106
+ handle them, but if you want to know, you can add a listener here.
1107
+ @par
1108
+ Events are raised very generically by string name. Perhaps the most
1109
+ common example of a render system specific event is the loss and
1110
+ restoration of a device in DirectX; which OGRE deals with, but you
1111
+ may wish to know when it happens.
1112
+ @see RenderSystem::getRenderSystemEvents
1113
+ */
1114
+ virtual void addListener(Listener* l);
1115
+ /** Remove a listener to the custom events that this render system can raise.
1116
+ */
1117
+ virtual void removeListener(Listener* l);
1118
+
1119
+ /** Gets a list of the rendersystem specific events that this rendersystem
1120
+ can raise.
1121
+ @see RenderSystem::addListener
1122
+ */
1123
+ virtual const StringVector& getRenderSystemEvents(void) const { return mEventNames; }
1124
+
1125
+ /** Tell the rendersystem to perform any prep tasks it needs to directly
1126
+ before other threads which might access the rendering API are registered.
1127
+ @remarks
1128
+ Call this from your main thread before starting your other threads
1129
+ (which themselves should call registerThread()). Note that if you
1130
+ start your own threads, there is a specific startup sequence which
1131
+ must be respected and requires synchronisation between the threads:
1132
+ <ol>
1133
+ <li>[Main thread]Call preExtraThreadsStarted</li>
1134
+ <li>[Main thread]Start other thread, wait</li>
1135
+ <li>[Other thread]Call registerThread, notify main thread & continue</li>
1136
+ <li>[Main thread]Wake up & call postExtraThreadsStarted</li>
1137
+ </ol>
1138
+ Once this init sequence is completed the threads are independent but
1139
+ this startup sequence must be respected.
1140
+ */
1141
+ virtual void preExtraThreadsStarted() = 0;
1142
+
1143
+ /* Tell the rendersystem to perform any tasks it needs to directly
1144
+ after other threads which might access the rendering API are registered.
1145
+ @see RenderSystem::preExtraThreadsStarted
1146
+ */
1147
+ virtual void postExtraThreadsStarted() = 0;
1148
+
1149
+ /** Register the an additional thread which may make calls to rendersystem-related
1150
+ objects.
1151
+ @remarks
1152
+ This method should only be called by additional threads during their
1153
+ initialisation. If they intend to use hardware rendering system resources
1154
+ they should call this method before doing anything related to the render system.
1155
+ Some rendering APIs require a per-thread setup and this method will sort that
1156
+ out. It is also necessary to call unregisterThread before the thread shuts down.
1157
+ @par
1158
+ In any case, the second thread should not call any rendering methods because
1159
+ with some rendering APIs threads other than the main thread use a context bound
1160
+ to a dummy drawable. The main application for using this method is background
1161
+ loading of resources - any resources loaded in auxiliary threads are guaranteed
1162
+ to be acessible from the main rendering thread.
1163
+ @par
1164
+ The returned value should be saved somewhere and passed to unregisterThread()
1165
+ in order to free render system resources. You can ignore this value if your
1166
+ application is using a fixed number of threads, since allocated resources will
1167
+ be freed in any case when the render system is shut down.
1168
+ @note
1169
+ This method takes no parameters - it must be called from the thread being
1170
+ registered and that context is enough.
1171
+ @return
1172
+ A opaque pointer that can be passed to unregisterThread() in order to free
1173
+ render system resources.
1174
+ */
1175
+ virtual void *registerThread() = 0;
1176
+
1177
+ /** Unregister an additional thread which may make calls to rendersystem-related objects.
1178
+ @see RenderSystem::registerThread
1179
+ @param opaque
1180
+ An opaque pointer returned by registerThread(). If you don't need to free render
1181
+ system resources (e.g. your application is going to shut down), you can pass NULL.
1182
+ */
1183
+ virtual void unregisterThread(void *opaque = NULL) = 0;
1184
+ protected:
1185
+
1186
+
1187
+ /** The render targets. */
1188
+ RenderTargetMap mRenderTargets;
1189
+ /** The render targets, ordered by priority. */
1190
+ RenderTargetPriorityMap mPrioritisedRenderTargets;
1191
+ /** The Active render target. */
1192
+ RenderTarget * mActiveRenderTarget;
1193
+ /** The Active GPU programs and gpu program parameters*/
1194
+ GpuProgramParametersSharedPtr mActiveVertexGpuProgramParameters;
1195
+ GpuProgramParametersSharedPtr mActiveFragmentGpuProgramParameters;
1196
+
1197
+ // Texture manager
1198
+ // A concrete class of this will be created and
1199
+ // made available under the TextureManager singleton,
1200
+ // managed by the RenderSystem
1201
+ TextureManager* mTextureManager;
1202
+
1203
+ /// Used to store the capabilities of the graphics card
1204
+ RenderSystemCapabilities* mCapabilities;
1205
+
1206
+ // Active viewport (dest for future rendering operations)
1207
+ Viewport* mActiveViewport;
1208
+
1209
+ CullingMode mCullingMode;
1210
+
1211
+ bool mVSync;
1212
+ bool mWBuffer;
1213
+
1214
+ size_t mBatchCount;
1215
+ size_t mFaceCount;
1216
+ size_t mVertexCount;
1217
+
1218
+ /// Saved manual colour blends
1219
+ ColourValue mManualBlendColours[OGRE_MAX_TEXTURE_LAYERS][2];
1220
+
1221
+ bool mInvertVertexWinding;
1222
+
1223
+ /// Texture units from this upwards are disabled
1224
+ size_t mDisabledTexUnitsFrom;
1225
+
1226
+ /// number of times to render the current state
1227
+ size_t mCurrentPassIterationCount;
1228
+
1229
+ /** updates pass iteration rendering state including bound gpu program parameter
1230
+ pass iteration auto constant entry
1231
+ @returns True if more iterations are required
1232
+ */
1233
+ bool updatePassIterationRenderState(void);
1234
+
1235
+ /// List of names of events this rendersystem may raise
1236
+ StringVector mEventNames;
1237
+
1238
+ /// Internal method for firing a rendersystem event
1239
+ virtual void fireEvent(const String& name, const NameValuePairList* params = 0);
1240
+
1241
+ typedef std::list<Listener*> ListenerList;
1242
+ ListenerList mEventListeners;
1243
+
1244
+ typedef std::list<HardwareOcclusionQuery*> HardwareOcclusionQueryList;
1245
+ HardwareOcclusionQueryList mHwOcclusionQueries;
1246
+
1247
+ bool mVertexProgramBound;
1248
+ bool mFragmentProgramBound;
1249
+
1250
+
1251
+
1252
+ };
1253
+ }
1254
+
1255
+ #endif