shattered_ogrerb 0.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shattered_ogrerb.rb +17 -0
- data/lib/shattered_ogrerb/base.rb +28 -0
- data/lib/shattered_ogrerb/camera.rb +6 -0
- data/lib/shattered_ogrerb/key_manager.rb +54 -0
- data/lib/shattered_ogrerb/light.rb +5 -0
- data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
- data/lib/shattered_ogrerb/rmaterial.rb +86 -0
- data/lib/shattered_ogrerb/vector.rb +211 -0
- data/vendor/Ogre/OIS.dll +0 -0
- data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
- data/vendor/Ogre/OgreMain.dll +0 -0
- data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
- data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
- data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
- data/vendor/Ogre/RenderSystem_GL.dll +0 -0
- data/vendor/Ogre/cg.dll +0 -0
- data/vendor/Ogre/plugins.cfg +9 -0
- data/vendor/ogrerb/MIT_LICENCE +19 -0
- data/vendor/ogrerb/README +79 -0
- data/vendor/ogrerb/Rakefile +220 -0
- data/vendor/ogrerb/build/navi/extconf.rb +53 -0
- data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
- data/vendor/ogrerb/build/ois/extconf.rb +48 -0
- data/vendor/ogrerb/doc_src/ogre.rb +152 -0
- data/vendor/ogrerb/doc_src/ois.rb +67 -0
- data/vendor/ogrerb/lib/constants.rb +35 -0
- data/vendor/ogrerb/lib/ogre.dll +0 -0
- data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
- data/vendor/ogrerb/navi/Navi.i +5 -0
- data/vendor/ogrerb/navi/NaviData.i +18 -0
- data/vendor/ogrerb/navi/NaviManager.i +5 -0
- data/vendor/ogrerb/navi/NaviProxies.i +7 -0
- data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
- data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
- data/vendor/ogrerb/navi/navi_rb.i +53 -0
- data/vendor/ogrerb/navi/std_multimap.i +581 -0
- data/vendor/ogrerb/ogre.rb +23 -0
- data/vendor/ogrerb/ogre/Application.i +59 -0
- data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
- data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
- data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
- data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
- data/vendor/ogrerb/ogre/OgreAny.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
- data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
- data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
- data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
- data/vendor/ogrerb/ogre/OgreBone.i +5 -0
- data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
- data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
- data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
- data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
- data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
- data/vendor/ogrerb/ogre/OgreController.i +5 -0
- data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
- data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
- data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
- data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreException.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
- data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
- data/vendor/ogrerb/ogre/OgreFont.i +5 -0
- data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
- data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreImage.i +5 -0
- data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
- data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
- data/vendor/ogrerb/ogre/OgreLight.i +5 -0
- data/vendor/ogrerb/ogre/OgreLog.i +5 -0
- data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
- data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
- data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMath.i +48 -0
- data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
- data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
- data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
- data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreNode.i +11 -0
- data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
- data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
- data/vendor/ogrerb/ogre/OgrePass.i +10 -0
- data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
- data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
- data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
- data/vendor/ogrerb/ogre/OgrePose.i +5 -0
- data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
- data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
- data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
- data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
- data/vendor/ogrerb/ogre/OgreRay.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
- data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
- data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
- data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreResource.i +68 -0
- data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
- data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
- data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
- data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
- data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
- data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
- data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
- data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
- data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
- data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
- data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
- data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreString.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
- data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
- data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
- data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
- data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
- data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
- data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
- data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
- data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
- data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreZip.i +5 -0
- data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
- data/vendor/ogrerb/ogre/std_multimap.i +581 -0
- data/vendor/ogrerb/ois/OISProxies.i +9 -0
- data/vendor/ogrerb/ois/OISRenames.i +11 -0
- data/vendor/ogrerb/ois/ois.i +135 -0
- data/vendor/ogrerb/ois/std_multimap.i +581 -0
- data/vendor/ogrerb/platform.rb +23 -0
- data/vendor/ogrerb/samples/application.rb +146 -0
- data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
- data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
- data/vendor/ogrerb/samples/bsp.rb +74 -0
- data/vendor/ogrerb/samples/cg.dll +0 -0
- data/vendor/ogrerb/samples/js3250.dll +0 -0
- data/vendor/ogrerb/samples/lighting.rb +136 -0
- data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
- data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
- data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
- data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
- data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
- data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
- data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
- data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
- data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
- data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
- data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
- data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
- data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
- data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
- data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
- data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
- data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
- data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
- data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
- data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
- data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
- data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
- data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
- data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
- data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
- data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
- data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
- data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
- data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
- data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
- data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
- data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
- data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
- data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
- data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
- data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
- data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
- data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
- data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
- data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
- data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
- data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
- data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
- data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
- data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
- data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
- data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
- data/vendor/ogrerb/samples/navi/res/html.css +478 -0
- data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
- data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
- data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
- data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
- data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
- data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
- data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
- data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
- data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
- data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
- data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
- data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
- data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
- data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
- data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
- data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
- data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
- data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
- data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
- data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
- data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
- data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
- data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
- data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
- data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
- data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
- data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
- data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/plugins.cfg +11 -0
- data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
- data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
- data/vendor/ogrerb/samples/resources.cfg +14 -0
- data/vendor/ogrerb/samples/sky_box.rb +105 -0
- data/vendor/ogrerb/samples/sky_dome.rb +84 -0
- data/vendor/ogrerb/samples/sky_plane.rb +24 -0
- data/vendor/ogrerb/samples/smoke.rb +21 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
- data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
- data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
- data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
- data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
- data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
- data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
- data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
- data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
- data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
- data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
- data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
- data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
- data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
- data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
- data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
- data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
- data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
- data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
- data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
- data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
- data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
- data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
- data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
- data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
- data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
- data/vendor/ogrerb/website/contact.html +43 -0
- data/vendor/ogrerb/website/docs.html +92 -0
- data/vendor/ogrerb/website/get.html +60 -0
- data/vendor/ogrerb/website/images/Thumbs.db +0 -0
- data/vendor/ogrerb/website/images/header.png +0 -0
- data/vendor/ogrerb/website/images/header.xcf +0 -0
- data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
- data/vendor/ogrerb/website/images/redogrehead.png +0 -0
- data/vendor/ogrerb/website/images/ruby.png +0 -0
- data/vendor/ogrerb/website/images/sample.png +0 -0
- data/vendor/ogrerb/website/index.html +80 -0
- data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
- data/vendor/ogrerb/website/stylesheets/main.css +96 -0
- metadata +997 -0
@@ -0,0 +1,93 @@
|
|
1
|
+
/*-------------------------------------------------------------------------
|
2
|
+
This source file is a part of OGRE
|
3
|
+
(Object-oriented Graphics Rendering Engine)
|
4
|
+
|
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 library is free software; you can redistribute it and/or modify it
|
11
|
+
under the terms of the GNU Lesser General Public License (LGPL) as
|
12
|
+
published by the Free Software Foundation; either version 2.1 of the
|
13
|
+
License, or (at your option) any later version.
|
14
|
+
|
15
|
+
This library is distributed in the hope that it will be useful, but
|
16
|
+
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
17
|
+
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
18
|
+
License for more details.
|
19
|
+
|
20
|
+
You should have received a copy of the GNU Lesser General Public License
|
21
|
+
along with this library; if not, write to the Free Software Foundation,
|
22
|
+
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or go to
|
23
|
+
http://www.gnu.org/copyleft/lesser.txt
|
24
|
+
-------------------------------------------------------------------------*/
|
25
|
+
|
26
|
+
#ifndef _FontManager_H__
|
27
|
+
#define _FontManager_H__
|
28
|
+
|
29
|
+
#include "OgrePrerequisites.h"
|
30
|
+
#include "OgreSingleton.h"
|
31
|
+
#include "OgreResourceManager.h"
|
32
|
+
#include "OgreFont.h"
|
33
|
+
|
34
|
+
namespace Ogre
|
35
|
+
{
|
36
|
+
/** Manages Font resources, parsing .fontdef files and generally organising them.*/
|
37
|
+
class _OgreExport FontManager : public ResourceManager, public Singleton< FontManager >
|
38
|
+
{
|
39
|
+
public:
|
40
|
+
|
41
|
+
FontManager();
|
42
|
+
~FontManager();
|
43
|
+
|
44
|
+
/** @copydoc ScriptLoader::parseScript */
|
45
|
+
void parseScript(DataStreamPtr& stream, const String& groupName);
|
46
|
+
/** Override standard Singleton retrieval.
|
47
|
+
@remarks
|
48
|
+
Why do we do this? Well, it's because the Singleton
|
49
|
+
implementation is in a .h file, which means it gets compiled
|
50
|
+
into anybody who includes it. This is needed for the
|
51
|
+
Singleton template to work, but we actually only want it
|
52
|
+
compiled into the implementation of the class based on the
|
53
|
+
Singleton, not all of them. If we don't change this, we get
|
54
|
+
link errors when trying to use the Singleton-based class from
|
55
|
+
an outside dll.
|
56
|
+
@par
|
57
|
+
This method just delegates to the template version anyway,
|
58
|
+
but the implementation stays in this single compilation unit,
|
59
|
+
preventing link errors.
|
60
|
+
*/
|
61
|
+
static FontManager& getSingleton(void);
|
62
|
+
/** Override standard Singleton retrieval.
|
63
|
+
@remarks
|
64
|
+
Why do we do this? Well, it's because the Singleton
|
65
|
+
implementation is in a .h file, which means it gets compiled
|
66
|
+
into anybody who includes it. This is needed for the
|
67
|
+
Singleton template to work, but we actually only want it
|
68
|
+
compiled into the implementation of the class based on the
|
69
|
+
Singleton, not all of them. If we don't change this, we get
|
70
|
+
link errors when trying to use the Singleton-based class from
|
71
|
+
an outside dll.
|
72
|
+
@par
|
73
|
+
This method just delegates to the template version anyway,
|
74
|
+
but the implementation stays in this single compilation unit,
|
75
|
+
preventing link errors.
|
76
|
+
*/
|
77
|
+
static FontManager* getSingletonPtr(void);
|
78
|
+
|
79
|
+
protected:
|
80
|
+
|
81
|
+
/// Internal methods
|
82
|
+
Resource* createImpl(const String& name, ResourceHandle handle,
|
83
|
+
const String& group, bool isManual, ManualResourceLoader* loader,
|
84
|
+
const NameValuePairList* params);
|
85
|
+
void parseAttribute(const String& line, FontPtr& pFont);
|
86
|
+
|
87
|
+
void logBadAttrib(const String& line, FontPtr& pFont);
|
88
|
+
|
89
|
+
|
90
|
+
};
|
91
|
+
}
|
92
|
+
|
93
|
+
#endif
|
@@ -0,0 +1,106 @@
|
|
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 __FrameListener_H__
|
30
|
+
#define __FrameListener_H__
|
31
|
+
|
32
|
+
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
|
35
|
+
namespace Ogre {
|
36
|
+
|
37
|
+
/** Struct containing information about a frame event.
|
38
|
+
*/
|
39
|
+
struct FrameEvent
|
40
|
+
{
|
41
|
+
/** Elapsed time in seconds since the last event.
|
42
|
+
This gives you time between frame start & frame end,
|
43
|
+
and between frame end and next frame start.
|
44
|
+
@remarks
|
45
|
+
This may not be the elapsed time but the average
|
46
|
+
elapsed time between recently fired events.
|
47
|
+
*/
|
48
|
+
Real timeSinceLastEvent;
|
49
|
+
/** Elapsed time in seconds since the last event of the same type,
|
50
|
+
i.e. time for a complete frame.
|
51
|
+
@remarks
|
52
|
+
This may not be the elapsed time but the average
|
53
|
+
elapsed time between recently fired events of the same type.
|
54
|
+
*/
|
55
|
+
Real timeSinceLastFrame;
|
56
|
+
};
|
57
|
+
|
58
|
+
|
59
|
+
/** A interface class defining a listener which can be used to receive
|
60
|
+
notifications of frame events.
|
61
|
+
@remarks
|
62
|
+
A 'listener' is an interface designed to be called back when
|
63
|
+
particular events are called. This class defines the
|
64
|
+
interface relating to frame events. In order to receive
|
65
|
+
notifications of frame events, you should create a subclass of
|
66
|
+
FrameListener and override the methods for which you would like
|
67
|
+
to customise the resulting processing. You should then call
|
68
|
+
Root::addFrameListener passing an instance of this class.
|
69
|
+
There is no limit to the number of frame listeners you can register,
|
70
|
+
allowing you to register multiple listeners for different purposes.
|
71
|
+
Frame events only occur when Ogre is in continuous rendering mode,
|
72
|
+
ie. after Root::startRendering is called. If the application is
|
73
|
+
doing ad-hoc rendering without entering a rendering loop, frame
|
74
|
+
events are not generated. Note that a frame event occurs once for
|
75
|
+
all rendering targets, not once per target.
|
76
|
+
*/
|
77
|
+
class _OgreExport FrameListener
|
78
|
+
{
|
79
|
+
/*
|
80
|
+
Note that this could have been an abstract class, but I made
|
81
|
+
the explicit choice not to do this, because I wanted to give
|
82
|
+
people the option of only implementing the methods they wanted,
|
83
|
+
rather than having to create 'do nothing' implementations for
|
84
|
+
those they weren't interested in. As such this class follows
|
85
|
+
the 'Adapter' classes in Java rather than pure interfaces.
|
86
|
+
*/
|
87
|
+
public:
|
88
|
+
/** Called when a frame is about to begin rendering.
|
89
|
+
@return
|
90
|
+
True to go ahead, false to abort rendering and drop
|
91
|
+
out of the rendering loop.
|
92
|
+
*/
|
93
|
+
virtual bool frameStarted(const FrameEvent& evt) { return true; }
|
94
|
+
/** Called just after a frame has been rendered.
|
95
|
+
@return
|
96
|
+
True to continue with the next frame, false to drop
|
97
|
+
out of the rendering loop.
|
98
|
+
*/
|
99
|
+
virtual bool frameEnded(const FrameEvent& evt) { return true; }
|
100
|
+
|
101
|
+
virtual ~FrameListener() {}
|
102
|
+
|
103
|
+
};
|
104
|
+
}
|
105
|
+
|
106
|
+
#endif
|
@@ -0,0 +1,77 @@
|
|
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 _FreeImageCodec_H__
|
30
|
+
#define _FreeImageCodec_H__
|
31
|
+
|
32
|
+
#include "OgreImageCodec.h"
|
33
|
+
// Forward-declaration to avoid external dependency on FreeImage
|
34
|
+
struct FIBITMAP;
|
35
|
+
|
36
|
+
namespace Ogre {
|
37
|
+
|
38
|
+
/** Codec specialized in images loaded using FreeImage.
|
39
|
+
@remarks
|
40
|
+
The users implementing subclasses of ImageCodec are required to return
|
41
|
+
a valid pointer to a ImageData class from the decode(...) function.
|
42
|
+
*/
|
43
|
+
class _OgreExport FreeImageCodec : public ImageCodec
|
44
|
+
{
|
45
|
+
private:
|
46
|
+
String mType;
|
47
|
+
unsigned int mFreeImageType;
|
48
|
+
|
49
|
+
typedef std::list<ImageCodec*> RegisteredCodecList;
|
50
|
+
static RegisteredCodecList msCodecList;
|
51
|
+
|
52
|
+
/** Common encoding routine. */
|
53
|
+
FIBITMAP* encode(MemoryDataStreamPtr& input, CodecDataPtr& pData) const;
|
54
|
+
|
55
|
+
public:
|
56
|
+
FreeImageCodec(const String &type, unsigned int fiType);
|
57
|
+
virtual ~FreeImageCodec() { }
|
58
|
+
|
59
|
+
/// @copydoc Codec::code
|
60
|
+
DataStreamPtr code(MemoryDataStreamPtr& input, CodecDataPtr& pData) const;
|
61
|
+
/// @copydoc Codec::codeToFile
|
62
|
+
void codeToFile(MemoryDataStreamPtr& input, const String& outFileName, CodecDataPtr& pData) const;
|
63
|
+
/// @copydoc Codec::decode
|
64
|
+
DecodeResult decode(DataStreamPtr& input) const;
|
65
|
+
|
66
|
+
|
67
|
+
virtual String getType() const;
|
68
|
+
|
69
|
+
/// Static method to startup FreeImage and register the FreeImage codecs
|
70
|
+
static void startup(void);
|
71
|
+
/// Static method to shutdown FreeImage and unregister the FreeImage codecs
|
72
|
+
static void shutdown(void);
|
73
|
+
};
|
74
|
+
|
75
|
+
} // namespace
|
76
|
+
|
77
|
+
#endif
|
@@ -0,0 +1,590 @@
|
|
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 __Frustum_H__
|
30
|
+
#define __Frustum_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreMovableObject.h"
|
34
|
+
#include "OgreRenderable.h"
|
35
|
+
#include "OgreAxisAlignedBox.h"
|
36
|
+
#include "OgreVertexIndexData.h"
|
37
|
+
#include "OgreMovablePlane.h"
|
38
|
+
|
39
|
+
namespace Ogre
|
40
|
+
{
|
41
|
+
/** Specifies perspective (realistic) or orthographic (architectural) projection.
|
42
|
+
*/
|
43
|
+
enum ProjectionType
|
44
|
+
{
|
45
|
+
PT_ORTHOGRAPHIC,
|
46
|
+
PT_PERSPECTIVE
|
47
|
+
};
|
48
|
+
|
49
|
+
/** Worldspace clipping planes.
|
50
|
+
*/
|
51
|
+
enum FrustumPlane
|
52
|
+
{
|
53
|
+
FRUSTUM_PLANE_NEAR = 0,
|
54
|
+
FRUSTUM_PLANE_FAR = 1,
|
55
|
+
FRUSTUM_PLANE_LEFT = 2,
|
56
|
+
FRUSTUM_PLANE_RIGHT = 3,
|
57
|
+
FRUSTUM_PLANE_TOP = 4,
|
58
|
+
FRUSTUM_PLANE_BOTTOM = 5
|
59
|
+
};
|
60
|
+
|
61
|
+
/** A frustum represents a pyramid, capped at the near and far end which is
|
62
|
+
used to represent either a visible area or a projection area. Can be used
|
63
|
+
for a number of applications.
|
64
|
+
*/
|
65
|
+
class _OgreExport Frustum : public MovableObject, public Renderable
|
66
|
+
{
|
67
|
+
protected:
|
68
|
+
/// Orthographic or perspective?
|
69
|
+
ProjectionType mProjType;
|
70
|
+
|
71
|
+
/// y-direction field-of-view (default 45)
|
72
|
+
Radian mFOVy;
|
73
|
+
/// Far clip distance - default 10000
|
74
|
+
Real mFarDist;
|
75
|
+
/// Near clip distance - default 100
|
76
|
+
Real mNearDist;
|
77
|
+
/// x/y viewport ratio - default 1.3333
|
78
|
+
Real mAspect;
|
79
|
+
/// Off-axis frustum center offset - default (0.0, 0.0)
|
80
|
+
Vector2 mFrustumOffset;
|
81
|
+
/// Focal length of frustum (for stereo rendering, defaults to 1.0)
|
82
|
+
Real mFocalLength;
|
83
|
+
|
84
|
+
/// The 6 main clipping planes
|
85
|
+
mutable Plane mFrustumPlanes[6];
|
86
|
+
|
87
|
+
/// Stored versions of parent orientation / position
|
88
|
+
mutable Quaternion mLastParentOrientation;
|
89
|
+
mutable Vector3 mLastParentPosition;
|
90
|
+
|
91
|
+
/// Pre-calced projection matrix for the specific render system
|
92
|
+
mutable Matrix4 mProjMatrixRS;
|
93
|
+
/// Pre-calced standard projection matrix but with render system depth range
|
94
|
+
mutable Matrix4 mProjMatrixRSDepth;
|
95
|
+
/// Pre-calced standard projection matrix
|
96
|
+
mutable Matrix4 mProjMatrix;
|
97
|
+
/// Pre-calced view matrix
|
98
|
+
mutable Matrix4 mViewMatrix;
|
99
|
+
/// Something's changed in the frustrum shape?
|
100
|
+
mutable bool mRecalcFrustum;
|
101
|
+
/// Something re the view pos has changed
|
102
|
+
mutable bool mRecalcView;
|
103
|
+
/// Something re the frustum planes has changed
|
104
|
+
mutable bool mRecalcFrustumPlanes;
|
105
|
+
/// Something re the world space corners has changed
|
106
|
+
mutable bool mRecalcWorldSpaceCorners;
|
107
|
+
/// Something re the vertex data has changed
|
108
|
+
mutable bool mRecalcVertexData;
|
109
|
+
/// Are we using a custom view matrix?
|
110
|
+
bool mCustomViewMatrix;
|
111
|
+
/// Are we using a custom projection matrix?
|
112
|
+
bool mCustomProjMatrix;
|
113
|
+
|
114
|
+
|
115
|
+
// Internal functions for calcs
|
116
|
+
virtual void calcProjectionParameters(Real& left, Real& right, Real& bottom, Real& top) const;
|
117
|
+
/// Update frustum if out of date
|
118
|
+
virtual void updateFrustum(void) const;
|
119
|
+
/// Update view if out of date
|
120
|
+
virtual void updateView(void) const;
|
121
|
+
/// Implementation of updateFrustum (called if out of date)
|
122
|
+
virtual void updateFrustumImpl(void) const;
|
123
|
+
/// Implementation of updateView (called if out of date)
|
124
|
+
virtual void updateViewImpl(void) const;
|
125
|
+
virtual void updateFrustumPlanes(void) const;
|
126
|
+
/// Implementation of updateFrustumPlanes (called if out of date)
|
127
|
+
virtual void updateFrustumPlanesImpl(void) const;
|
128
|
+
virtual void updateWorldSpaceCorners(void) const;
|
129
|
+
/// Implementation of updateWorldSpaceCorners (called if out of date)
|
130
|
+
virtual void updateWorldSpaceCornersImpl(void) const;
|
131
|
+
virtual void updateVertexData(void) const;
|
132
|
+
virtual bool isViewOutOfDate(void) const;
|
133
|
+
virtual bool isFrustumOutOfDate(void) const;
|
134
|
+
/// Signal to update frustum information.
|
135
|
+
virtual void invalidateFrustum(void) const;
|
136
|
+
/// Signal to update view information.
|
137
|
+
virtual void invalidateView(void) const;
|
138
|
+
|
139
|
+
/// Shared class-level name for Movable type
|
140
|
+
static String msMovableType;
|
141
|
+
|
142
|
+
mutable AxisAlignedBox mBoundingBox;
|
143
|
+
mutable VertexData mVertexData;
|
144
|
+
|
145
|
+
MaterialPtr mMaterial;
|
146
|
+
mutable Vector3 mWorldSpaceCorners[8];
|
147
|
+
|
148
|
+
/// Is this frustum to act as a reflection of itself?
|
149
|
+
bool mReflect;
|
150
|
+
/// Derived reflection matrix
|
151
|
+
mutable Matrix4 mReflectMatrix;
|
152
|
+
/// Fixed reflection plane
|
153
|
+
mutable Plane mReflectPlane;
|
154
|
+
/// Pointer to a reflection plane (automatically updated)
|
155
|
+
const MovablePlane* mLinkedReflectPlane;
|
156
|
+
/// Record of the last world-space reflection plane info used
|
157
|
+
mutable Plane mLastLinkedReflectionPlane;
|
158
|
+
|
159
|
+
/// Is this frustum using an oblique depth projection?
|
160
|
+
bool mObliqueDepthProjection;
|
161
|
+
/// Fixed oblique projection plane
|
162
|
+
mutable Plane mObliqueProjPlane;
|
163
|
+
/// Pointer to oblique projection plane (automatically updated)
|
164
|
+
const MovablePlane* mLinkedObliqueProjPlane;
|
165
|
+
/// Record of the last world-space oblique depth projection plane info used
|
166
|
+
mutable Plane mLastLinkedObliqueProjPlane;
|
167
|
+
|
168
|
+
|
169
|
+
/** Get the derived position of this frustum. */
|
170
|
+
virtual const Vector3& getPositionForViewUpdate(void) const;
|
171
|
+
/** Get the derived orientation of this frustum. */
|
172
|
+
virtual const Quaternion& getOrientationForViewUpdate(void) const;
|
173
|
+
|
174
|
+
|
175
|
+
public:
|
176
|
+
|
177
|
+
Frustum();
|
178
|
+
virtual ~Frustum();
|
179
|
+
/** Sets the Y-dimension Field Of View (FOV) of the frustum.
|
180
|
+
@remarks
|
181
|
+
Field Of View (FOV) is the angle made between the frustum's position, and the edges
|
182
|
+
of the 'screen' onto which the scene is projected. High values (90+ degrees) result in a wide-angle,
|
183
|
+
fish-eye kind of view, low values (30- degrees) in a stretched, telescopic kind of view. Typical values
|
184
|
+
are between 45 and 60 degrees.
|
185
|
+
@par
|
186
|
+
This value represents the VERTICAL field-of-view. The horizontal field of view is calculated from
|
187
|
+
this depending on the dimensions of the viewport (they will only be the same if the viewport is square).
|
188
|
+
@note
|
189
|
+
Setting the FOV overrides the value supplied for frustum::setNearClipPlane.
|
190
|
+
*/
|
191
|
+
virtual void setFOVy(const Radian& fovy);
|
192
|
+
#ifndef OGRE_FORCE_ANGLE_TYPES
|
193
|
+
inline void setFOVy(Real fovy) {
|
194
|
+
setFOVy ( Angle(fovy) );
|
195
|
+
}
|
196
|
+
#endif//OGRE_FORCE_ANGLE_TYPES
|
197
|
+
|
198
|
+
/** Retrieves the frustums Y-dimension Field Of View (FOV).
|
199
|
+
*/
|
200
|
+
virtual const Radian& getFOVy(void) const;
|
201
|
+
|
202
|
+
/** Sets the position of the near clipping plane.
|
203
|
+
@remarks
|
204
|
+
The position of the near clipping plane is the distance from the frustums position to the screen
|
205
|
+
on which the world is projected. The near plane distance, combined with the field-of-view and the
|
206
|
+
aspect ratio, determines the size of the viewport through which the world is viewed (in world
|
207
|
+
co-ordinates). Note that this world viewport is different to a screen viewport, which has it's
|
208
|
+
dimensions expressed in pixels. The frustums viewport should have the same aspect ratio as the
|
209
|
+
screen viewport it renders into to avoid distortion.
|
210
|
+
@param
|
211
|
+
near The distance to the near clipping plane from the frustum in world coordinates.
|
212
|
+
*/
|
213
|
+
virtual void setNearClipDistance(Real nearDist);
|
214
|
+
|
215
|
+
/** Sets the position of the near clipping plane.
|
216
|
+
*/
|
217
|
+
virtual Real getNearClipDistance(void) const;
|
218
|
+
|
219
|
+
/** Sets the distance to the far clipping plane.
|
220
|
+
@remarks
|
221
|
+
The view frustrum is a pyramid created from the frustum position and the edges of the viewport.
|
222
|
+
This method sets the distance for the far end of that pyramid.
|
223
|
+
Different applications need different values: e.g. a flight sim
|
224
|
+
needs a much further far clipping plane than a first-person
|
225
|
+
shooter. An important point here is that the larger the ratio
|
226
|
+
between near and far clipping planes, the lower the accuracy of
|
227
|
+
the Z-buffer used to depth-cue pixels. This is because the
|
228
|
+
Z-range is limited to the size of the Z buffer (16 or 32-bit)
|
229
|
+
and the max values must be spread over the gap between near and
|
230
|
+
far clip planes. As it happens, you can affect the accuracy far
|
231
|
+
more by altering the near distance rather than the far distance,
|
232
|
+
but keep this in mind.
|
233
|
+
@param
|
234
|
+
far The distance to the far clipping plane from the frustum in
|
235
|
+
world coordinates.If you specify 0, this means an infinite view
|
236
|
+
distance which is useful especially when projecting shadows; but
|
237
|
+
be careful not to use a near distance too close.
|
238
|
+
*/
|
239
|
+
virtual void setFarClipDistance(Real farDist);
|
240
|
+
|
241
|
+
/** Retrieves the distance from the frustum to the far clipping plane.
|
242
|
+
*/
|
243
|
+
virtual Real getFarClipDistance(void) const;
|
244
|
+
|
245
|
+
/** Sets the aspect ratio for the frustum viewport.
|
246
|
+
@remarks
|
247
|
+
The ratio between the x and y dimensions of the rectangular area visible through the frustum
|
248
|
+
is known as aspect ratio: aspect = width / height .
|
249
|
+
@par
|
250
|
+
The default for most fullscreen windows is 1.3333 - this is also assumed by Ogre unless you
|
251
|
+
use this method to state otherwise.
|
252
|
+
*/
|
253
|
+
virtual void setAspectRatio(Real ratio);
|
254
|
+
|
255
|
+
/** Retreives the current aspect ratio.
|
256
|
+
*/
|
257
|
+
virtual Real getAspectRatio(void) const;
|
258
|
+
|
259
|
+
/** Sets frustum offsets, used in stereo rendering.
|
260
|
+
@remarks
|
261
|
+
You can set both horizontal and vertical plane offsets of "eye"; in
|
262
|
+
stereo rendering frustum is moved in horizontal plane. To be able to
|
263
|
+
render from two "eyes" you'll need two cameras rendering on two
|
264
|
+
RenderTargets.
|
265
|
+
@par
|
266
|
+
The frustum offsets is in world coordinates, and default to (0, 0) - no offsets.
|
267
|
+
@param
|
268
|
+
offset The horizontal and vertical plane offsets.
|
269
|
+
*/
|
270
|
+
virtual void setFrustumOffset(const Vector2& offset);
|
271
|
+
|
272
|
+
/** Sets frustum offsets, used in stereo rendering.
|
273
|
+
@remarks
|
274
|
+
You can set both horizontal and vertical plane offsets of "eye"; in
|
275
|
+
stereo rendering frustum is moved in horizontal plane. To be able to
|
276
|
+
render from two "eyes" you'll need two cameras rendering on two
|
277
|
+
RenderTargets.
|
278
|
+
@par
|
279
|
+
The frustum offsets is in world coordinates, and default to (0, 0) - no offsets.
|
280
|
+
@param
|
281
|
+
horizontal The horizontal plane offset.
|
282
|
+
@param
|
283
|
+
vertical The vertical plane offset.
|
284
|
+
*/
|
285
|
+
virtual void setFrustumOffset(Real horizontal = 0.0, Real vertical = 0.0);
|
286
|
+
|
287
|
+
/** Retreives the frustum offsets.
|
288
|
+
*/
|
289
|
+
virtual const Vector2& getFrustumOffset() const;
|
290
|
+
|
291
|
+
/** Sets frustum focal length (used in stereo rendering).
|
292
|
+
@param
|
293
|
+
focalLength The distance to the focal plane from the frustum in world coordinates.
|
294
|
+
*/
|
295
|
+
virtual void setFocalLength(Real focalLength = 1.0);
|
296
|
+
|
297
|
+
/** Returns focal length of frustum.
|
298
|
+
*/
|
299
|
+
virtual Real getFocalLength() const;
|
300
|
+
|
301
|
+
/** Gets the projection matrix for this frustum adjusted for the current
|
302
|
+
rendersystem specifics (may be right or left-handed, depth range
|
303
|
+
may vary).
|
304
|
+
@remarks
|
305
|
+
This method retrieves the rendering-API dependent version of the projection
|
306
|
+
matrix. If you want a 'typical' projection matrix then use
|
307
|
+
getProjectionMatrix.
|
308
|
+
|
309
|
+
*/
|
310
|
+
virtual const Matrix4& getProjectionMatrixRS(void) const;
|
311
|
+
/** Gets the depth-adjusted projection matrix for the current rendersystem,
|
312
|
+
but one which still conforms to right-hand rules.
|
313
|
+
@remarks
|
314
|
+
This differs from the rendering-API dependent getProjectionMatrix
|
315
|
+
in that it always returns a right-handed projection matrix result
|
316
|
+
no matter what rendering API is being used - this is required for
|
317
|
+
vertex and fragment programs for example. However, the resulting depth
|
318
|
+
range may still vary between render systems since D3D uses [0,1] and
|
319
|
+
GL uses [-1,1], and the range must be kept the same between programmable
|
320
|
+
and fixed-function pipelines.
|
321
|
+
*/
|
322
|
+
virtual const Matrix4& getProjectionMatrixWithRSDepth(void) const;
|
323
|
+
/** Gets the normal projection matrix for this frustum, ie the
|
324
|
+
projection matrix which conforms to standard right-handed rules and
|
325
|
+
uses depth range [-1,+1].
|
326
|
+
@remarks
|
327
|
+
This differs from the rendering-API dependent getProjectionMatrixRS
|
328
|
+
in that it always returns a right-handed projection matrix with depth
|
329
|
+
range [-1,+1], result no matter what rendering API is being used - this
|
330
|
+
is required for some uniform algebra for example.
|
331
|
+
*/
|
332
|
+
virtual const Matrix4& getProjectionMatrix(void) const;
|
333
|
+
|
334
|
+
/** Gets the view matrix for this frustum. Mainly for use by OGRE internally.
|
335
|
+
*/
|
336
|
+
virtual const Matrix4& getViewMatrix(void) const;
|
337
|
+
|
338
|
+
/** Set whether to use a custom view matrix on this frustum.
|
339
|
+
@remarks
|
340
|
+
This is an advanced method which allows you to manually set
|
341
|
+
the view matrix on this frustum, rather than having it calculate
|
342
|
+
itself based on it's position and orientation.
|
343
|
+
@note
|
344
|
+
After enabling a custom view matrix, the frustum will no longer
|
345
|
+
update on its own based on position / orientation changes. You
|
346
|
+
are completely responsible for keeping the view matrix up to date.
|
347
|
+
The custom matrix will be returned from getViewMatrix.
|
348
|
+
@param enable If true, the custom view matrix passed as the second
|
349
|
+
parameter will be used in preference to an auto calculated one. If
|
350
|
+
false, the frustum will revert to auto calculating the view matrix.
|
351
|
+
@param viewMatrix The custom view matrix to use, the matrix must be an
|
352
|
+
affine matrix.
|
353
|
+
@see Frustum::setCustomProjectionMatrix, Matrix4::isAffine
|
354
|
+
*/
|
355
|
+
virtual void setCustomViewMatrix(bool enable,
|
356
|
+
const Matrix4& viewMatrix = Matrix4::IDENTITY);
|
357
|
+
/// Returns whether a custom view matrix is in use
|
358
|
+
virtual bool isCustomViewMatrixEnabled(void) const
|
359
|
+
{ return mCustomViewMatrix; }
|
360
|
+
|
361
|
+
/** Set whether to use a custom projection matrix on this frustum.
|
362
|
+
@remarks
|
363
|
+
This is an advanced method which allows you to manually set
|
364
|
+
the projection matrix on this frustum, rather than having it
|
365
|
+
calculate itself based on it's position and orientation.
|
366
|
+
@note
|
367
|
+
After enabling a custom projection matrix, the frustum will no
|
368
|
+
longer update on its own based on field of view and near / far
|
369
|
+
distance changes. You are completely responsible for keeping the
|
370
|
+
projection matrix up to date if those values change. The custom
|
371
|
+
matrix will be returned from getProjectionMatrix and derivative
|
372
|
+
functions.
|
373
|
+
@param enable If true, the custom projection matrix passed as the
|
374
|
+
second parameter will be used in preference to an auto calculated
|
375
|
+
one. If false, the frustum will revert to auto calculating the
|
376
|
+
projection matrix.
|
377
|
+
@param projectionMatrix The custom view matrix to use
|
378
|
+
@see Frustum::setCustomViewMatrix
|
379
|
+
*/
|
380
|
+
virtual void setCustomProjectionMatrix(bool enable,
|
381
|
+
const Matrix4& projectionMatrix = Matrix4::IDENTITY);
|
382
|
+
/// Returns whether a custom projection matrix is in use
|
383
|
+
virtual bool isCustomProjectionMatrixEnabled(void) const
|
384
|
+
{ return mCustomProjMatrix; }
|
385
|
+
|
386
|
+
/** Retrieves the clipping planes of the frustum (world space).
|
387
|
+
@remarks
|
388
|
+
The clipping planes are ordered as declared in enumerate constants FrustumPlane.
|
389
|
+
*/
|
390
|
+
virtual const Plane* getFrustumPlanes(void) const;
|
391
|
+
|
392
|
+
/** Retrieves a specified plane of the frustum (world space).
|
393
|
+
@remarks
|
394
|
+
Gets a reference to one of the planes which make up the frustum frustum, e.g. for clipping purposes.
|
395
|
+
*/
|
396
|
+
virtual const Plane& getFrustumPlane( unsigned short plane ) const;
|
397
|
+
|
398
|
+
/** Tests whether the given container is visible in the Frustum.
|
399
|
+
@param
|
400
|
+
bound Bounding box to be checked (world space)
|
401
|
+
@param
|
402
|
+
culledBy Optional pointer to an int which will be filled by the plane number which culled
|
403
|
+
the box if the result was false;
|
404
|
+
@returns
|
405
|
+
If the box was visible, true is returned.
|
406
|
+
@par
|
407
|
+
Otherwise, false is returned.
|
408
|
+
*/
|
409
|
+
virtual bool isVisible(const AxisAlignedBox& bound, FrustumPlane* culledBy = 0) const;
|
410
|
+
|
411
|
+
/** Tests whether the given container is visible in the Frustum.
|
412
|
+
@param
|
413
|
+
bound Bounding sphere to be checked (world space)
|
414
|
+
@param
|
415
|
+
culledBy Optional pointer to an int which will be filled by the plane number which culled
|
416
|
+
the box if the result was false;
|
417
|
+
@returns
|
418
|
+
If the sphere was visible, true is returned.
|
419
|
+
@par
|
420
|
+
Otherwise, false is returned.
|
421
|
+
*/
|
422
|
+
virtual bool isVisible(const Sphere& bound, FrustumPlane* culledBy = 0) const;
|
423
|
+
|
424
|
+
/** Tests whether the given vertex is visible in the Frustum.
|
425
|
+
@param
|
426
|
+
vert Vertex to be checked (world space)
|
427
|
+
@param
|
428
|
+
culledBy Optional pointer to an int which will be filled by the plane number which culled
|
429
|
+
the box if the result was false;
|
430
|
+
@returns
|
431
|
+
If the box was visible, true is returned.
|
432
|
+
@par
|
433
|
+
Otherwise, false is returned.
|
434
|
+
*/
|
435
|
+
virtual bool isVisible(const Vector3& vert, FrustumPlane* culledBy = 0) const;
|
436
|
+
|
437
|
+
|
438
|
+
/** Overridden from MovableObject */
|
439
|
+
const AxisAlignedBox& getBoundingBox(void) const;
|
440
|
+
|
441
|
+
/** Overridden from MovableObject */
|
442
|
+
Real getBoundingRadius(void) const;
|
443
|
+
|
444
|
+
/** Overridden from MovableObject */
|
445
|
+
void _updateRenderQueue(RenderQueue* queue);
|
446
|
+
|
447
|
+
/** Overridden from MovableObject */
|
448
|
+
const String& getMovableType(void) const;
|
449
|
+
|
450
|
+
/** Overridden from MovableObject */
|
451
|
+
void _notifyCurrentCamera(Camera* cam);
|
452
|
+
|
453
|
+
/** Overridden from Renderable */
|
454
|
+
const MaterialPtr& getMaterial(void) const;
|
455
|
+
|
456
|
+
/** Overridden from Renderable */
|
457
|
+
void getRenderOperation(RenderOperation& op);
|
458
|
+
|
459
|
+
/** Overridden from Renderable */
|
460
|
+
void getWorldTransforms(Matrix4* xform) const;
|
461
|
+
|
462
|
+
/** Overridden from Renderable */
|
463
|
+
const Quaternion& getWorldOrientation(void) const;
|
464
|
+
|
465
|
+
/** Overridden from Renderable */
|
466
|
+
const Vector3& getWorldPosition(void) const;
|
467
|
+
|
468
|
+
/** Overridden from Renderable */
|
469
|
+
Real getSquaredViewDepth(const Camera* cam) const;
|
470
|
+
|
471
|
+
/** Overridden from Renderable */
|
472
|
+
const LightList& getLights(void) const;
|
473
|
+
|
474
|
+
/** Gets the world space corners of the frustum.
|
475
|
+
@remarks
|
476
|
+
The corners are ordered as follows: top-right near,
|
477
|
+
top-left near, bottom-left near, bottom-right near,
|
478
|
+
top-right far, top-left far, bottom-left far, bottom-right far.
|
479
|
+
*/
|
480
|
+
virtual const Vector3* getWorldSpaceCorners(void) const;
|
481
|
+
|
482
|
+
/** Sets the type of projection to use (orthographic or perspective). Default is perspective.
|
483
|
+
*/
|
484
|
+
virtual void setProjectionType(ProjectionType pt);
|
485
|
+
|
486
|
+
/** Retrieves info on the type of projection used (orthographic or perspective).
|
487
|
+
*/
|
488
|
+
virtual ProjectionType getProjectionType(void) const;
|
489
|
+
|
490
|
+
/** Modifies this frustum so it always renders from the reflection of itself through the
|
491
|
+
plane specified.
|
492
|
+
@remarks
|
493
|
+
This is obviously useful for performing planar reflections.
|
494
|
+
*/
|
495
|
+
virtual void enableReflection(const Plane& p);
|
496
|
+
/** Modifies this frustum so it always renders from the reflection of itself through the
|
497
|
+
plane specified. Note that this version of the method links to a plane
|
498
|
+
so that changes to it are picked up automatically. It is important that
|
499
|
+
this plane continues to exist whilst this object does; do not destroy
|
500
|
+
the plane before the frustum.
|
501
|
+
@remarks
|
502
|
+
This is obviously useful for performing planar reflections.
|
503
|
+
*/
|
504
|
+
virtual void enableReflection(const MovablePlane* p);
|
505
|
+
|
506
|
+
/** Disables reflection modification previously turned on with enableReflection */
|
507
|
+
virtual void disableReflection(void);
|
508
|
+
|
509
|
+
/// Returns whether this frustum is being reflected
|
510
|
+
virtual bool isReflected(void) const { return mReflect; }
|
511
|
+
/// Returns the reflection matrix of the frustum if appropriate
|
512
|
+
virtual const Matrix4& getReflectionMatrix(void) const { return mReflectMatrix; }
|
513
|
+
/// Returns the reflection plane of the frustum if appropriate
|
514
|
+
virtual const Plane& getReflectionPlane(void) const { return mReflectPlane; }
|
515
|
+
|
516
|
+
/** Project a sphere onto the near plane and get the bounding rectangle.
|
517
|
+
@param sphere The world-space sphere to project
|
518
|
+
@param radius Radius of the sphere
|
519
|
+
@param left, top, right, bottom Pointers to destination values, these
|
520
|
+
will be completed with the normalised device coordinates (in the
|
521
|
+
range {-1,1})
|
522
|
+
@returns true if the sphere was projected to a subset of the near plane,
|
523
|
+
false if the entire near plane was contained
|
524
|
+
*/
|
525
|
+
virtual bool projectSphere(const Sphere& sphere,
|
526
|
+
Real* left, Real* top, Real* right, Real* bottom) const;
|
527
|
+
|
528
|
+
|
529
|
+
/** Links the frustum to a custom near clip plane, which can be used
|
530
|
+
to clip geometry in a custom manner without using user clip planes.
|
531
|
+
@remarks
|
532
|
+
There are several applications for clipping a scene arbitrarily by
|
533
|
+
a single plane; the most common is when rendering a reflection to
|
534
|
+
a texture, and you only want to render geometry that is above the
|
535
|
+
water plane (to do otherwise results in artefacts). Whilst it is
|
536
|
+
possible to use user clip planes, they are not supported on all
|
537
|
+
cards, and sometimes are not hardware accelerated when they are
|
538
|
+
available. Instead, where a single clip plane is involved, this
|
539
|
+
technique uses a 'fudging' of the near clip plane, which is
|
540
|
+
available and fast on all hardware, to perform as the arbitrary
|
541
|
+
clip plane. This does change the shape of the frustum, leading
|
542
|
+
to some depth buffer loss of precision, but for many of the uses of
|
543
|
+
this technique that is not an issue.
|
544
|
+
@par
|
545
|
+
This version of the method links to a plane, rather than requiring
|
546
|
+
a by-value plane definition, and therefore you can
|
547
|
+
make changes to the plane (e.g. by moving / rotating the node it is
|
548
|
+
attached to) and they will automatically affect this object.
|
549
|
+
@note This technique only works for perspective projection.
|
550
|
+
@param plane The plane to link to to perform the clipping. This plane
|
551
|
+
must continue to exist while the camera is linked to it; do not
|
552
|
+
destroy it before the frustum.
|
553
|
+
*/
|
554
|
+
virtual void enableCustomNearClipPlane(const MovablePlane* plane);
|
555
|
+
/** Links the frustum to a custom near clip plane, which can be used
|
556
|
+
to clip geometry in a custom manner without using user clip planes.
|
557
|
+
@remarks
|
558
|
+
There are several applications for clipping a scene arbitrarily by
|
559
|
+
a single plane; the most common is when rendering a reflection to
|
560
|
+
a texture, and you only want to render geometry that is above the
|
561
|
+
water plane (to do otherwise results in artefacts). Whilst it is
|
562
|
+
possible to use user clip planes, they are not supported on all
|
563
|
+
cards, and sometimes are not hardware accelerated when they are
|
564
|
+
available. Instead, where a single clip plane is involved, this
|
565
|
+
technique uses a 'fudging' of the near clip plane, which is
|
566
|
+
available and fast on all hardware, to perform as the arbitrary
|
567
|
+
clip plane. This does change the shape of the frustum, leading
|
568
|
+
to some depth buffer loss of precision, but for many of the uses of
|
569
|
+
this technique that is not an issue.
|
570
|
+
@note This technique only works for perspective projection.
|
571
|
+
@param plane The plane to link to to perform the clipping. This plane
|
572
|
+
must continue to exist while the camera is linked to it; do not
|
573
|
+
destroy it before the frustum.
|
574
|
+
*/
|
575
|
+
virtual void enableCustomNearClipPlane(const Plane& plane);
|
576
|
+
/** Disables any custom near clip plane. */
|
577
|
+
virtual void disableCustomNearClipPlane(void);
|
578
|
+
/** Is a custom near clip plane in use? */
|
579
|
+
virtual bool isCustomNearClipPlaneEnabled(void) const
|
580
|
+
{ return mObliqueDepthProjection; }
|
581
|
+
|
582
|
+
|
583
|
+
/// Small constant used to reduce far plane projection to avoid inaccuracies
|
584
|
+
static const Real INFINITE_FAR_PLANE_ADJUST;
|
585
|
+
};
|
586
|
+
|
587
|
+
|
588
|
+
}
|
589
|
+
|
590
|
+
#endif
|