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,185 @@
|
|
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 __HighLevelGpuProgram_H__
|
30
|
+
#define __HighLevelGpuProgram_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreGpuProgram.h"
|
34
|
+
|
35
|
+
namespace Ogre {
|
36
|
+
|
37
|
+
/** Abstract base class representing a high-level program (a vertex or
|
38
|
+
fragment program).
|
39
|
+
@remarks
|
40
|
+
High-level programs are vertex and fragment programs written in a high-level
|
41
|
+
language such as Cg or HLSL, and as such do not require you to write assembler code
|
42
|
+
like GpuProgram does. However, the high-level program does eventually
|
43
|
+
get converted (compiled) into assembler and then eventually microcode which is
|
44
|
+
what runs on the GPU. As well as the convenience, some high-level languages like Cg allow
|
45
|
+
you to write a program which will operate under both Direct3D and OpenGL, something
|
46
|
+
which you cannot do with just GpuProgram (which requires you to write 2 programs and
|
47
|
+
use each in a Technique to provide cross-API compatibility). Ogre will be creating
|
48
|
+
a GpuProgram for you based on the high-level program, which is compiled specifically
|
49
|
+
for the API being used at the time, but this process is transparent.
|
50
|
+
@par
|
51
|
+
You cannot create high-level programs direct - use HighLevelGpuProgramManager instead.
|
52
|
+
Plugins can register new implementations of HighLevelGpuProgramFactory in order to add
|
53
|
+
support for new languages without requiring changes to the core Ogre API. To allow
|
54
|
+
custom parameters to be set, this class extends StringInterface - the application
|
55
|
+
can query on the available custom parameters and get/set them without having to
|
56
|
+
link specifically with it.
|
57
|
+
*/
|
58
|
+
class _OgreExport HighLevelGpuProgram : public GpuProgram
|
59
|
+
{
|
60
|
+
protected:
|
61
|
+
/// Whether the high-level program (and it's parameter defs) is loaded
|
62
|
+
bool mHighLevelLoaded;
|
63
|
+
/// The underlying assembler program
|
64
|
+
GpuProgramPtr mAssemblerProgram;
|
65
|
+
/// Have we built the name->index parameter map yet?
|
66
|
+
mutable bool mConstantDefsBuilt;
|
67
|
+
/// Parameter name -> ConstantDefinition map, shared instance used by all parameter objects
|
68
|
+
mutable GpuNamedConstants mConstantDefs;
|
69
|
+
|
70
|
+
/// Internal load high-level portion if not loaded
|
71
|
+
virtual void loadHighLevel(void);
|
72
|
+
/// Internal unload high-level portion if loaded
|
73
|
+
virtual void unloadHighLevel(void);
|
74
|
+
/** Internal load implementation, loads just the high-level portion, enough to
|
75
|
+
get parameters.
|
76
|
+
*/
|
77
|
+
virtual void loadHighLevelImpl(void);
|
78
|
+
/** Internal method for creating an appropriate low-level program from this
|
79
|
+
high-level program, must be implemented by subclasses. */
|
80
|
+
virtual void createLowLevelImpl(void) = 0;
|
81
|
+
/// Internal unload implementation, must be implemented by subclasses
|
82
|
+
virtual void unloadHighLevelImpl(void) = 0;
|
83
|
+
/// Populate the passed parameters with name->index map
|
84
|
+
virtual void populateParameterNames(GpuProgramParametersSharedPtr params);
|
85
|
+
/** Build the constant definition map, must be overridden.
|
86
|
+
@note The implementation must fill in the mConstantDefs field at a minimum,
|
87
|
+
and if the program requires that parameters are bound using logical
|
88
|
+
parameter indexes then the mFloatLogicalToPhysical and mIntLogicalToPhysical
|
89
|
+
maps must also be populated.
|
90
|
+
*/
|
91
|
+
virtual void buildConstantDefinitions() const = 0;
|
92
|
+
|
93
|
+
/** @copydoc Resource::loadImpl */
|
94
|
+
void loadImpl();
|
95
|
+
/** @copydoc Resource::unloadImpl */
|
96
|
+
void unloadImpl();
|
97
|
+
public:
|
98
|
+
/** Constructor, should be used only by factory classes. */
|
99
|
+
HighLevelGpuProgram(ResourceManager* creator, const String& name, ResourceHandle handle,
|
100
|
+
const String& group, bool isManual = false, ManualResourceLoader* loader = 0);
|
101
|
+
~HighLevelGpuProgram();
|
102
|
+
|
103
|
+
|
104
|
+
/** Creates a new parameters object compatible with this program definition.
|
105
|
+
@remarks
|
106
|
+
Unlike low-level assembly programs, parameters objects are specific to the
|
107
|
+
program and therefore must be created from it rather than by the
|
108
|
+
HighLevelGpuProgramManager. This method creates a new instance of a parameters
|
109
|
+
object containing the definition of the parameters this program understands.
|
110
|
+
*/
|
111
|
+
GpuProgramParametersSharedPtr createParameters(void);
|
112
|
+
/** @copydoc GpuProgram::getBindingDelegate */
|
113
|
+
GpuProgram* _getBindingDelegate(void) { return mAssemblerProgram.getPointer(); }
|
114
|
+
|
115
|
+
/** Get the full list of GpuConstantDefinition instances.
|
116
|
+
@note
|
117
|
+
Only available if this parameters object has named parameters.
|
118
|
+
*/
|
119
|
+
const GpuNamedConstants& getConstantDefinitions() const;
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
};
|
125
|
+
|
126
|
+
/** Specialisation of SharedPtr to allow SharedPtr to be assigned to HighLevelGpuProgramPtr
|
127
|
+
@note Has to be a subclass since we need operator=.
|
128
|
+
We could templatise this instead of repeating per Resource subclass,
|
129
|
+
except to do so requires a form VC6 does not support i.e.
|
130
|
+
ResourceSubclassPtr<T> : public SharedPtr<T>
|
131
|
+
*/
|
132
|
+
class _OgreExport HighLevelGpuProgramPtr : public SharedPtr<HighLevelGpuProgram>
|
133
|
+
{
|
134
|
+
public:
|
135
|
+
HighLevelGpuProgramPtr() : SharedPtr<HighLevelGpuProgram>() {}
|
136
|
+
explicit HighLevelGpuProgramPtr(HighLevelGpuProgram* rep) : SharedPtr<HighLevelGpuProgram>(rep) {}
|
137
|
+
HighLevelGpuProgramPtr(const HighLevelGpuProgramPtr& r) : SharedPtr<HighLevelGpuProgram>(r) {}
|
138
|
+
HighLevelGpuProgramPtr(const ResourcePtr& r) : SharedPtr<HighLevelGpuProgram>()
|
139
|
+
{
|
140
|
+
// lock & copy other mutex pointer
|
141
|
+
OGRE_MUTEX_CONDITIONAL(r.OGRE_AUTO_MUTEX_NAME)
|
142
|
+
{
|
143
|
+
OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME)
|
144
|
+
OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME)
|
145
|
+
pRep = static_cast<HighLevelGpuProgram*>(r.getPointer());
|
146
|
+
pUseCount = r.useCountPointer();
|
147
|
+
if (pUseCount)
|
148
|
+
{
|
149
|
+
++(*pUseCount);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
/// Operator used to convert a ResourcePtr to a HighLevelGpuProgramPtr
|
155
|
+
HighLevelGpuProgramPtr& operator=(const ResourcePtr& r)
|
156
|
+
{
|
157
|
+
if (pRep == static_cast<HighLevelGpuProgram*>(r.getPointer()))
|
158
|
+
return *this;
|
159
|
+
release();
|
160
|
+
// lock & copy other mutex pointer
|
161
|
+
OGRE_MUTEX_CONDITIONAL(r.OGRE_AUTO_MUTEX_NAME)
|
162
|
+
{
|
163
|
+
OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME)
|
164
|
+
OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME)
|
165
|
+
pRep = static_cast<HighLevelGpuProgram*>(r.getPointer());
|
166
|
+
pUseCount = r.useCountPointer();
|
167
|
+
if (pUseCount)
|
168
|
+
{
|
169
|
+
++(*pUseCount);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
else
|
173
|
+
{
|
174
|
+
// RHS must be a null pointer
|
175
|
+
assert(r.isNull() && "RHS must be null if it has no mutex!");
|
176
|
+
setNull();
|
177
|
+
}
|
178
|
+
return *this;
|
179
|
+
}
|
180
|
+
/// Operator used to convert a GpuProgramPtr to a HighLevelGpuProgramPtr
|
181
|
+
HighLevelGpuProgramPtr& operator=(const GpuProgramPtr& r);
|
182
|
+
};
|
183
|
+
|
184
|
+
}
|
185
|
+
#endif
|
@@ -0,0 +1,146 @@
|
|
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 __HighLevelGpuProgramManager_H__
|
30
|
+
#define __HighLevelGpuProgramManager_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreResourceManager.h"
|
34
|
+
#include "OgreSingleton.h"
|
35
|
+
#include "OgreException.h"
|
36
|
+
#include "OgreHighLevelGpuProgram.h"
|
37
|
+
|
38
|
+
namespace Ogre {
|
39
|
+
|
40
|
+
/** Interface definition for factories of HighLevelGpuProgram. */
|
41
|
+
class _OgreExport HighLevelGpuProgramFactory
|
42
|
+
{
|
43
|
+
public:
|
44
|
+
HighLevelGpuProgramFactory() {}
|
45
|
+
virtual ~HighLevelGpuProgramFactory();
|
46
|
+
/// Get the name of the language this factory creates programs for
|
47
|
+
virtual const String& getLanguage(void) const = 0;
|
48
|
+
virtual HighLevelGpuProgram* create(ResourceManager* creator,
|
49
|
+
const String& name, ResourceHandle handle,
|
50
|
+
const String& group, bool isManual, ManualResourceLoader* loader) = 0;
|
51
|
+
virtual void destroy(HighLevelGpuProgram* prog) = 0;
|
52
|
+
};
|
53
|
+
/** This ResourceManager manages high-level vertex and fragment programs.
|
54
|
+
@remarks
|
55
|
+
High-level vertex and fragment programs can be used instead of assembler programs
|
56
|
+
as managed by GpuProgramManager; however they typically result in a GpuProgram
|
57
|
+
being created as a derivative of the high-level program. High-level programs are
|
58
|
+
easier to write, and can often be API-independent, unlike assembler programs.
|
59
|
+
@par
|
60
|
+
This class not only manages the programs themselves, it also manages the factory
|
61
|
+
classes which allow the creation of high-level programs using a variety of high-level
|
62
|
+
syntaxes. Plugins can be created which register themselves as high-level program
|
63
|
+
factories and as such the engine can be extended to accept virtually any kind of
|
64
|
+
program provided a plugin is written.
|
65
|
+
*/
|
66
|
+
class _OgreExport HighLevelGpuProgramManager
|
67
|
+
: public ResourceManager, public Singleton<HighLevelGpuProgramManager>
|
68
|
+
{
|
69
|
+
public:
|
70
|
+
typedef std::map<String, HighLevelGpuProgramFactory*> FactoryMap;
|
71
|
+
protected:
|
72
|
+
/// Factories capable of creating HighLevelGpuProgram instances
|
73
|
+
FactoryMap mFactories;
|
74
|
+
|
75
|
+
/// Factory for dealing with programs for languages we can't create
|
76
|
+
HighLevelGpuProgramFactory* mNullFactory;
|
77
|
+
/// Factory for unified high-level programs
|
78
|
+
HighLevelGpuProgramFactory* mUnifiedFactory;
|
79
|
+
|
80
|
+
HighLevelGpuProgramFactory* getFactory(const String& language);
|
81
|
+
|
82
|
+
/// @copydoc ResourceManager::createImpl
|
83
|
+
Resource* createImpl(const String& name, ResourceHandle handle,
|
84
|
+
const String& group, bool isManual, ManualResourceLoader* loader,
|
85
|
+
const NameValuePairList* params);
|
86
|
+
public:
|
87
|
+
HighLevelGpuProgramManager();
|
88
|
+
~HighLevelGpuProgramManager();
|
89
|
+
/** Add a new factory object for high-level programs of a given language. */
|
90
|
+
void addFactory(HighLevelGpuProgramFactory* factory);
|
91
|
+
|
92
|
+
|
93
|
+
/** Create a new, unloaded HighLevelGpuProgram.
|
94
|
+
@par
|
95
|
+
This method creates a new program of the type specified as the second and third parameters.
|
96
|
+
You will have to call further methods on the returned program in order to
|
97
|
+
define the program fully before you can load it.
|
98
|
+
@param name The identifying name of the program
|
99
|
+
@param groupName The name of the resource group which this program is
|
100
|
+
to be a member of
|
101
|
+
@param language Code of the language to use (e.g. "cg")
|
102
|
+
@param gptype The type of program to create
|
103
|
+
*/
|
104
|
+
virtual HighLevelGpuProgramPtr createProgram(
|
105
|
+
const String& name, const String& groupName,
|
106
|
+
const String& language, GpuProgramType gptype);
|
107
|
+
|
108
|
+
/** Override standard Singleton retrieval.
|
109
|
+
@remarks
|
110
|
+
Why do we do this? Well, it's because the Singleton
|
111
|
+
implementation is in a .h file, which means it gets compiled
|
112
|
+
into anybody who includes it. This is needed for the
|
113
|
+
Singleton template to work, but we actually only want it
|
114
|
+
compiled into the implementation of the class based on the
|
115
|
+
Singleton, not all of them. If we don't change this, we get
|
116
|
+
link errors when trying to use the Singleton-based class from
|
117
|
+
an outside dll.
|
118
|
+
@par
|
119
|
+
This method just delegates to the template version anyway,
|
120
|
+
but the implementation stays in this single compilation unit,
|
121
|
+
preventing link errors.
|
122
|
+
*/
|
123
|
+
static HighLevelGpuProgramManager& getSingleton(void);
|
124
|
+
/** Override standard Singleton retrieval.
|
125
|
+
@remarks
|
126
|
+
Why do we do this? Well, it's because the Singleton
|
127
|
+
implementation is in a .h file, which means it gets compiled
|
128
|
+
into anybody who includes it. This is needed for the
|
129
|
+
Singleton template to work, but we actually only want it
|
130
|
+
compiled into the implementation of the class based on the
|
131
|
+
Singleton, not all of them. If we don't change this, we get
|
132
|
+
link errors when trying to use the Singleton-based class from
|
133
|
+
an outside dll.
|
134
|
+
@par
|
135
|
+
This method just delegates to the template version anyway,
|
136
|
+
but the implementation stays in this single compilation unit,
|
137
|
+
preventing link errors.
|
138
|
+
*/
|
139
|
+
static HighLevelGpuProgramManager* getSingletonPtr(void);
|
140
|
+
|
141
|
+
|
142
|
+
};
|
143
|
+
|
144
|
+
}
|
145
|
+
|
146
|
+
#endif
|
@@ -0,0 +1,428 @@
|
|
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 _Image_H__
|
30
|
+
#define _Image_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreCommon.h"
|
34
|
+
#include "OgrePixelFormat.h"
|
35
|
+
#include "OgreDataStream.h"
|
36
|
+
|
37
|
+
namespace Ogre {
|
38
|
+
|
39
|
+
enum ImageFlags
|
40
|
+
{
|
41
|
+
IF_COMPRESSED = 0x00000001,
|
42
|
+
IF_CUBEMAP = 0x00000002,
|
43
|
+
IF_3D_TEXTURE = 0x00000004
|
44
|
+
};
|
45
|
+
/** Class representing an image file.
|
46
|
+
@remarks
|
47
|
+
The Image class usually holds uncompressed image data and is the
|
48
|
+
only object that can be loaded in a texture. Image objects handle
|
49
|
+
image data decoding themselves by the means of locating the correct
|
50
|
+
Codec object for each data type.
|
51
|
+
@par
|
52
|
+
Typically, you would want to use an Image object to load a texture
|
53
|
+
when extra processing needs to be done on an image before it is
|
54
|
+
loaded or when you want to blit to an existing texture.
|
55
|
+
*/
|
56
|
+
class _OgreExport Image
|
57
|
+
{
|
58
|
+
public:
|
59
|
+
typedef Ogre::Box Box;
|
60
|
+
typedef Ogre::Rect Rect;
|
61
|
+
public:
|
62
|
+
/** Standard constructor.
|
63
|
+
*/
|
64
|
+
Image();
|
65
|
+
/** Copy-constructor - copies all the data from the target image.
|
66
|
+
*/
|
67
|
+
Image( const Image &img );
|
68
|
+
|
69
|
+
/** Standard destructor.
|
70
|
+
*/
|
71
|
+
virtual ~Image();
|
72
|
+
|
73
|
+
/** Assignment operator - copies all the data from the target image.
|
74
|
+
*/
|
75
|
+
Image & operator = ( const Image & img );
|
76
|
+
|
77
|
+
/** Flips (mirrors) the image around the Y-axis.
|
78
|
+
@remarks
|
79
|
+
An example of an original and flipped image:
|
80
|
+
<pre>
|
81
|
+
originalimg
|
82
|
+
00000000000
|
83
|
+
00000000000
|
84
|
+
00000000000
|
85
|
+
00000000000
|
86
|
+
00000000000
|
87
|
+
------------> flip axis
|
88
|
+
00000000000
|
89
|
+
00000000000
|
90
|
+
00000000000
|
91
|
+
00000000000
|
92
|
+
00000000000
|
93
|
+
originalimg
|
94
|
+
</pre>
|
95
|
+
*/
|
96
|
+
Image & flipAroundY();
|
97
|
+
|
98
|
+
/** Flips (mirrors) the image around the X-axis.
|
99
|
+
@remarks
|
100
|
+
An example of an original and flipped image:
|
101
|
+
<pre>
|
102
|
+
flip axis
|
103
|
+
|
|
104
|
+
originalimg|gmilanigiro
|
105
|
+
00000000000|00000000000
|
106
|
+
00000000000|00000000000
|
107
|
+
00000000000|00000000000
|
108
|
+
00000000000|00000000000
|
109
|
+
00000000000|00000000000
|
110
|
+
</pre>
|
111
|
+
*/
|
112
|
+
Image & flipAroundX();
|
113
|
+
|
114
|
+
/** Stores a pointer to raw data in memory. The pixel format has to be specified.
|
115
|
+
@remarks
|
116
|
+
This method loads an image into memory held in the object. The
|
117
|
+
pixel format will be either greyscale or RGB with an optional
|
118
|
+
Alpha component.
|
119
|
+
The type can be determined by calling getFormat().
|
120
|
+
@note
|
121
|
+
Whilst typically your image is likely to be a simple 2D image,
|
122
|
+
you can define complex images including cube maps, volume maps,
|
123
|
+
and images including custom mip levels. The layout of the
|
124
|
+
internal memory should be:
|
125
|
+
<ul><li>face 0, mip 0 (top), width x height (x depth)</li>
|
126
|
+
<li>face 0, mip 1, width/2 x height/2 (x depth/2)</li>
|
127
|
+
<li>face 0, mip 2, width/4 x height/4 (x depth/4)</li>
|
128
|
+
<li>.. remaining mips for face 0 .. </li>
|
129
|
+
<li>face 1, mip 0 (top), width x height (x depth)</li
|
130
|
+
<li>.. and so on. </li>
|
131
|
+
</ul>
|
132
|
+
Of course, you will never have multiple faces (cube map) and
|
133
|
+
depth too.
|
134
|
+
@param
|
135
|
+
The data pointer
|
136
|
+
@param
|
137
|
+
Width of image
|
138
|
+
@param
|
139
|
+
Height of image
|
140
|
+
@param
|
141
|
+
Image Depth (in 3d images, numbers of layers, otherwhise 1)
|
142
|
+
@param
|
143
|
+
Pixel Format
|
144
|
+
@param
|
145
|
+
if memory associated with this buffer is to be destroyed
|
146
|
+
with the Image object.
|
147
|
+
@param
|
148
|
+
the number of faces the image data has inside (6 for cubemaps, 1 otherwise)
|
149
|
+
@param
|
150
|
+
the number of mipmaps the image data has inside
|
151
|
+
@note
|
152
|
+
The memory associated with this buffer is NOT destroyed with the
|
153
|
+
Image object, unless autoDelete is set to true.
|
154
|
+
@remarks
|
155
|
+
The size of the buffer must be numFaces*PixelUtil::getMemorySize(width, height, depth, format)
|
156
|
+
*/
|
157
|
+
Image& loadDynamicImage( uchar* pData, size_t uWidth, size_t uHeight,
|
158
|
+
size_t depth,
|
159
|
+
PixelFormat eFormat, bool autoDelete = false,
|
160
|
+
size_t numFaces = 1, size_t numMipMaps = 0);
|
161
|
+
|
162
|
+
/** Stores a pointer to raw data in memory. The pixel format has to be specified.
|
163
|
+
@remarks
|
164
|
+
This method loads an image into memory held in the object. The
|
165
|
+
pixel format will be either greyscale or RGB with an optional
|
166
|
+
Alpha component.
|
167
|
+
The type can be determined by calling getFormat().
|
168
|
+
@note
|
169
|
+
Whilst typically your image is likely to be a simple 2D image,
|
170
|
+
you can define complex images including cube maps
|
171
|
+
and images including custom mip levels. The layout of the
|
172
|
+
internal memory should be:
|
173
|
+
<ul><li>face 0, mip 0 (top), width x height</li>
|
174
|
+
<li>face 0, mip 1, width/2 x height/2 </li>
|
175
|
+
<li>face 0, mip 2, width/4 x height/4 </li>
|
176
|
+
<li>.. remaining mips for face 0 .. </li>
|
177
|
+
<li>face 1, mip 0 (top), width x height (x depth)</li
|
178
|
+
<li>.. and so on. </li>
|
179
|
+
</ul>
|
180
|
+
Of course, you will never have multiple faces (cube map) and
|
181
|
+
depth too.
|
182
|
+
@param
|
183
|
+
The data pointer
|
184
|
+
@param
|
185
|
+
Width of image
|
186
|
+
@param
|
187
|
+
Height of image
|
188
|
+
@param
|
189
|
+
Pixel Format
|
190
|
+
@note
|
191
|
+
The memory associated with this buffer is NOT destroyed with the
|
192
|
+
Image object.
|
193
|
+
@remarks This function is deprecated; one should really use the
|
194
|
+
Image::loadDynamicImage(pData, width, height, depth, format, ...) to be compatible
|
195
|
+
with future Ogre versions.
|
196
|
+
*/
|
197
|
+
Image& loadDynamicImage( uchar* pData, size_t uWidth,
|
198
|
+
size_t uHeight, PixelFormat eFormat)
|
199
|
+
{
|
200
|
+
return loadDynamicImage(pData, uWidth, uHeight, 1, eFormat);
|
201
|
+
}
|
202
|
+
/** Loads raw data from a stream. See the function
|
203
|
+
loadDynamicImage for a description of the parameters.
|
204
|
+
@remarks
|
205
|
+
The size of the buffer must be numFaces*PixelUtil::getMemorySize(width, height, depth, format)
|
206
|
+
@note
|
207
|
+
Whilst typically your image is likely to be a simple 2D image,
|
208
|
+
you can define complex images including cube maps
|
209
|
+
and images including custom mip levels. The layout of the
|
210
|
+
internal memory should be:
|
211
|
+
<ul><li>face 0, mip 0 (top), width x height (x depth)</li>
|
212
|
+
<li>face 0, mip 1, width/2 x height/2 (x depth/2)</li>
|
213
|
+
<li>face 0, mip 2, width/4 x height/4 (x depth/4)</li>
|
214
|
+
<li>.. remaining mips for face 0 .. </li>
|
215
|
+
<li>face 1, mip 0 (top), width x height (x depth)</li
|
216
|
+
<li>.. and so on. </li>
|
217
|
+
</ul>
|
218
|
+
Of course, you will never have multiple faces (cube map) and
|
219
|
+
depth too.
|
220
|
+
*/
|
221
|
+
Image & loadRawData(
|
222
|
+
DataStreamPtr& stream,
|
223
|
+
size_t uWidth, size_t uHeight, size_t uDepth,
|
224
|
+
PixelFormat eFormat,
|
225
|
+
size_t numFaces = 1, size_t numMipMaps = 0);
|
226
|
+
/** Loads raw data from a stream. The pixel format has to be specified.
|
227
|
+
@remarks This function is deprecated; one should really use the
|
228
|
+
Image::loadRawData(stream, width, height, depth, format, ...) to be compatible
|
229
|
+
with future Ogre versions.
|
230
|
+
@note
|
231
|
+
Whilst typically your image is likely to be a simple 2D image,
|
232
|
+
you can define complex images including cube maps
|
233
|
+
and images including custom mip levels. The layout of the
|
234
|
+
internal memory should be:
|
235
|
+
<ul><li>face 0, mip 0 (top), width x height</li>
|
236
|
+
<li>face 0, mip 1, width/2 x height/2 </li>
|
237
|
+
<li>face 0, mip 2, width/4 x height/4 </li>
|
238
|
+
<li>.. remaining mips for face 0 .. </li>
|
239
|
+
<li>face 1, mip 0 (top), width x height (x depth)</li
|
240
|
+
<li>.. and so on. </li>
|
241
|
+
</ul>
|
242
|
+
Of course, you will never have multiple faces (cube map) and
|
243
|
+
depth too.
|
244
|
+
*/
|
245
|
+
Image & loadRawData(
|
246
|
+
DataStreamPtr& stream,
|
247
|
+
size_t uWidth, size_t uHeight,
|
248
|
+
PixelFormat eFormat )
|
249
|
+
{
|
250
|
+
return loadRawData(stream, uWidth, uHeight, 1, eFormat);
|
251
|
+
}
|
252
|
+
|
253
|
+
/** Loads an image file.
|
254
|
+
@remarks
|
255
|
+
This method loads an image into memory. Any format for which
|
256
|
+
and associated ImageCodec is registered can be loaded.
|
257
|
+
This can include complex formats like DDS with embedded custom
|
258
|
+
mipmaps, cube faces and volume textures.
|
259
|
+
The type can be determined by calling getFormat().
|
260
|
+
@param
|
261
|
+
strFileName Name of a file file to load.
|
262
|
+
@param
|
263
|
+
groupName Name of the resource group to search for the image
|
264
|
+
@note
|
265
|
+
The memory associated with this buffer is destroyed with the
|
266
|
+
Image object.
|
267
|
+
*/
|
268
|
+
Image & load( const String& strFileName, const String& groupName );
|
269
|
+
|
270
|
+
/** Loads an image file from a stream.
|
271
|
+
@remarks
|
272
|
+
This method works in the same way as the filename-based load
|
273
|
+
method except it loads the image from a DataStream object.
|
274
|
+
This DataStream is expected to contain the
|
275
|
+
encoded data as it would be held in a file.
|
276
|
+
Any format for which and associated ImageCodec is registered
|
277
|
+
can be loaded.
|
278
|
+
This can include complex formats like DDS with embedded custom
|
279
|
+
mipmaps, cube faces and volume textures.
|
280
|
+
The type can be determined by calling getFormat().
|
281
|
+
@param
|
282
|
+
stream The source data.
|
283
|
+
@param
|
284
|
+
type The type of the image. Used to decide what decompression
|
285
|
+
codec to use.
|
286
|
+
@see
|
287
|
+
Image::load( const String& strFileName )
|
288
|
+
*/
|
289
|
+
Image & load(DataStreamPtr& stream, const String& type );
|
290
|
+
|
291
|
+
/** Save the image as a file. */
|
292
|
+
void save(const String& filename);
|
293
|
+
|
294
|
+
/** Returns a pointer to the internal image buffer.
|
295
|
+
@remarks
|
296
|
+
Be careful with this method. You will almost certainly
|
297
|
+
prefer to use getPixelBox, especially with complex images
|
298
|
+
which include many faces or custom mipmaps.
|
299
|
+
*/
|
300
|
+
uchar* getData(void);
|
301
|
+
|
302
|
+
/** Returns a const pointer to the internal image buffer.
|
303
|
+
@remarks
|
304
|
+
Be careful with this method. You will almost certainly
|
305
|
+
prefer to use getPixelBox, especially with complex images
|
306
|
+
which include many faces or custom mipmaps.
|
307
|
+
*/
|
308
|
+
const uchar * getData() const;
|
309
|
+
|
310
|
+
/** Returns the size of the data buffer.
|
311
|
+
*/
|
312
|
+
size_t getSize() const;
|
313
|
+
|
314
|
+
/** Returns the number of mipmaps contained in the image.
|
315
|
+
*/
|
316
|
+
size_t getNumMipmaps() const;
|
317
|
+
|
318
|
+
/** Returns true if the image has the appropriate flag set.
|
319
|
+
*/
|
320
|
+
bool hasFlag(const ImageFlags imgFlag) const;
|
321
|
+
|
322
|
+
/** Gets the width of the image in pixels.
|
323
|
+
*/
|
324
|
+
size_t getWidth(void) const;
|
325
|
+
|
326
|
+
/** Gets the height of the image in pixels.
|
327
|
+
*/
|
328
|
+
size_t getHeight(void) const;
|
329
|
+
|
330
|
+
/** Gets the depth of the image.
|
331
|
+
*/
|
332
|
+
size_t getDepth(void) const;
|
333
|
+
|
334
|
+
/** Get the numer of faces of the image. This is usually 6 for a cubemap, and
|
335
|
+
1 for a normal image.
|
336
|
+
*/
|
337
|
+
size_t getNumFaces(void) const;
|
338
|
+
|
339
|
+
/** Gets the physical width in bytes of each row of pixels.
|
340
|
+
*/
|
341
|
+
size_t getRowSpan(void) const;
|
342
|
+
|
343
|
+
/** Returns the image format.
|
344
|
+
*/
|
345
|
+
PixelFormat getFormat() const;
|
346
|
+
|
347
|
+
/** Returns the number of bits per pixel.
|
348
|
+
*/
|
349
|
+
uchar getBPP() const;
|
350
|
+
|
351
|
+
/** Returns true if the image has an alpha component.
|
352
|
+
*/
|
353
|
+
bool getHasAlpha() const;
|
354
|
+
|
355
|
+
/** Does gamma adjustment.
|
356
|
+
@note
|
357
|
+
Basic algo taken from Titan Engine, copyright (c) 2000 Ignacio
|
358
|
+
Castano Iguado
|
359
|
+
*/
|
360
|
+
static void applyGamma( uchar *buffer, Real gamma, size_t size, uchar bpp );
|
361
|
+
|
362
|
+
/**
|
363
|
+
* Get colour value from a certain location in the image. The z coordinate
|
364
|
+
* is only valid for cubemaps and volume textures. This uses the first (largest)
|
365
|
+
* mipmap.
|
366
|
+
*/
|
367
|
+
ColourValue getColourAt(int x, int y, int z);
|
368
|
+
|
369
|
+
/**
|
370
|
+
* Get a PixelBox encapsulating the image data of a mipmap
|
371
|
+
*/
|
372
|
+
PixelBox getPixelBox(size_t face = 0, size_t mipmap = 0) const;
|
373
|
+
|
374
|
+
enum Filter
|
375
|
+
{
|
376
|
+
FILTER_NEAREST,
|
377
|
+
FILTER_LINEAR,
|
378
|
+
FILTER_BILINEAR,
|
379
|
+
FILTER_BOX,
|
380
|
+
FILTER_TRIANGLE,
|
381
|
+
FILTER_BICUBIC
|
382
|
+
};
|
383
|
+
/** Scale a 1D, 2D or 3D image volume.
|
384
|
+
@param src PixelBox containing the source pointer, dimensions and format
|
385
|
+
@param dst PixelBox containing the destination pointer, dimensions and format
|
386
|
+
@param filter Which filter to use
|
387
|
+
@remarks This function can do pixel format conversion in the process.
|
388
|
+
@note dst and src can point to the same PixelBox object without any problem
|
389
|
+
*/
|
390
|
+
static void scale(const PixelBox &src, const PixelBox &dst, Filter filter = FILTER_BILINEAR);
|
391
|
+
|
392
|
+
/** Resize a 2D image, applying the appropriate filter. */
|
393
|
+
void resize(ushort width, ushort height, Filter filter = FILTER_BILINEAR);
|
394
|
+
|
395
|
+
// Static function to calculate size in bytes from the number of mipmaps, faces and the dimensions
|
396
|
+
static size_t calculateSize(size_t mipmaps, size_t faces, size_t width, size_t height, size_t depth, PixelFormat format);
|
397
|
+
private:
|
398
|
+
// The width of the image in pixels
|
399
|
+
size_t m_uWidth;
|
400
|
+
// The height of the image in pixels
|
401
|
+
size_t m_uHeight;
|
402
|
+
// The depth of the image
|
403
|
+
size_t m_uDepth;
|
404
|
+
// The size of the image buffer
|
405
|
+
size_t m_uSize;
|
406
|
+
// The number of mipmaps the image contains
|
407
|
+
size_t m_uNumMipmaps;
|
408
|
+
// Image specific flags.
|
409
|
+
int m_uFlags;
|
410
|
+
|
411
|
+
// The pixel format of the image
|
412
|
+
PixelFormat m_eFormat;
|
413
|
+
|
414
|
+
// The number of bytes per pixel
|
415
|
+
uchar m_ucPixelSize;
|
416
|
+
uchar* m_pBuffer;
|
417
|
+
|
418
|
+
// A bool to determine if we delete the buffer or the calling app does
|
419
|
+
bool m_bAutoDelete;
|
420
|
+
};
|
421
|
+
|
422
|
+
typedef std::vector<Image*> ImagePtrList;
|
423
|
+
typedef std::vector<const Image*> ConstImagePtrList;
|
424
|
+
|
425
|
+
|
426
|
+
} // namespace
|
427
|
+
|
428
|
+
#endif
|