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,99 @@
|
|
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
|
+
|
30
|
+
#ifndef __MeshSerializer_H__
|
31
|
+
#define __MeshSerializer_H__
|
32
|
+
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
#include "OgreMeshSerializerImpl.h"
|
35
|
+
#include "OgreSerializer.h"
|
36
|
+
|
37
|
+
namespace Ogre {
|
38
|
+
|
39
|
+
/** Class for serialising mesh data to/from an OGRE .mesh file.
|
40
|
+
@remarks
|
41
|
+
This class allows exporters to write OGRE .mesh files easily, and allows the
|
42
|
+
OGRE engine to import .mesh files into instatiated OGRE Meshes.
|
43
|
+
Note that a .mesh file can include not only the Mesh, but also definitions of
|
44
|
+
any Materials it uses (although this is optional, the .mesh can rely on the
|
45
|
+
Material being loaded from another source, especially useful if you want to
|
46
|
+
take advantage of OGRE's advanced Material properties which may not be available
|
47
|
+
in your modeller).
|
48
|
+
@par
|
49
|
+
To export a Mesh:<OL>
|
50
|
+
<LI>Use the MaterialManager methods to create any dependent Material objects, if you want
|
51
|
+
to export them with the Mesh.</LI>
|
52
|
+
<LI>Create a Mesh object and populate it using it's methods.</LI>
|
53
|
+
<LI>Call the exportMesh method</LI>
|
54
|
+
</OL>
|
55
|
+
@par
|
56
|
+
It's important to realise that this exporter uses OGRE terminology. In this context,
|
57
|
+
'Mesh' means a top-level mesh structure which can actually contain many SubMeshes, each
|
58
|
+
of which has only one Material. Modelling packages may refer to these differently, for
|
59
|
+
example in Milkshape, it says 'Model' instead of 'Mesh' and 'Mesh' instead of 'SubMesh',
|
60
|
+
but the theory is the same.
|
61
|
+
*/
|
62
|
+
class _OgreExport MeshSerializer : public Serializer
|
63
|
+
{
|
64
|
+
public:
|
65
|
+
MeshSerializer();
|
66
|
+
virtual ~MeshSerializer();
|
67
|
+
|
68
|
+
|
69
|
+
/** Exports a mesh to the file specified.
|
70
|
+
@remarks
|
71
|
+
This method takes an externally created Mesh object, and exports both it
|
72
|
+
and optionally the Materials it uses to a .mesh file.
|
73
|
+
@param pMesh Pointer to the Mesh to export
|
74
|
+
@param filename The destination filename
|
75
|
+
@param endianMode The endian mode of the written file
|
76
|
+
*/
|
77
|
+
void exportMesh(const Mesh* pMesh, const String& filename,
|
78
|
+
Endian endianMode = ENDIAN_NATIVE);
|
79
|
+
|
80
|
+
/** Imports Mesh and (optionally) Material data from a .mesh file DataStream.
|
81
|
+
@remarks
|
82
|
+
This method imports data from a DataStream opened from a .mesh file and places it's
|
83
|
+
contents into the Mesh object which is passed in.
|
84
|
+
@param stream The DataStream holding the .mesh data. Must be initialised (pos at the start of the buffer).
|
85
|
+
@param pDest Pointer to the Mesh object which will receive the data. Should be blank already.
|
86
|
+
*/
|
87
|
+
void importMesh(DataStreamPtr& stream, Mesh* pDest);
|
88
|
+
protected:
|
89
|
+
static String msCurrentVersion;
|
90
|
+
|
91
|
+
typedef std::map<String, MeshSerializerImpl* > MeshSerializerImplMap;
|
92
|
+
MeshSerializerImplMap mImplementations;
|
93
|
+
|
94
|
+
};
|
95
|
+
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
#endif
|
@@ -0,0 +1,218 @@
|
|
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
|
+
|
30
|
+
#ifndef __MeshSerializerImpl_H__
|
31
|
+
#define __MeshSerializerImpl_H__
|
32
|
+
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
#include "OgreString.h"
|
35
|
+
#include "OgreSerializer.h"
|
36
|
+
#include "OgreMaterial.h"
|
37
|
+
#include "OgreMesh.h"
|
38
|
+
#include "OgreEdgeListBuilder.h"
|
39
|
+
|
40
|
+
namespace Ogre {
|
41
|
+
|
42
|
+
|
43
|
+
/** Internal implementation of Mesh reading / writing for the latest version of the
|
44
|
+
.mesh format.
|
45
|
+
@remarks
|
46
|
+
In order to maintain compatibility with older versions of the .mesh format, there
|
47
|
+
will be alternative subclasses of this class to load older versions, whilst this class
|
48
|
+
will remain to load the latest version.
|
49
|
+
*/
|
50
|
+
class _OgrePrivate MeshSerializerImpl : public Serializer
|
51
|
+
{
|
52
|
+
public:
|
53
|
+
MeshSerializerImpl();
|
54
|
+
virtual ~MeshSerializerImpl();
|
55
|
+
/** Exports a mesh to the file specified.
|
56
|
+
@remarks
|
57
|
+
This method takes an externally created Mesh object, and exports both it
|
58
|
+
and optionally the Materials it uses to a .mesh file.
|
59
|
+
@param pMesh Pointer to the Mesh to export
|
60
|
+
@param filename The destination filename
|
61
|
+
@param endianMode The endian mode for the written file
|
62
|
+
*/
|
63
|
+
void exportMesh(const Mesh* pMesh, const String& filename,
|
64
|
+
Endian endianMode = ENDIAN_NATIVE);
|
65
|
+
|
66
|
+
/** Imports Mesh and (optionally) Material data from a .mesh file DataStream.
|
67
|
+
@remarks
|
68
|
+
This method imports data from a DataStream opened from a .mesh file and places it's
|
69
|
+
contents into the Mesh object which is passed in.
|
70
|
+
@param stream The DataStream holding the .mesh data. Must be initialised (pos at the start of the buffer).
|
71
|
+
@param pDest Pointer to the Mesh object which will receive the data. Should be blank already.
|
72
|
+
*/
|
73
|
+
void importMesh(DataStreamPtr& stream, Mesh* pDest);
|
74
|
+
|
75
|
+
protected:
|
76
|
+
|
77
|
+
// Internal methods
|
78
|
+
virtual void writeSubMeshNameTable(const Mesh* pMesh);
|
79
|
+
virtual void writeMesh(const Mesh* pMesh);
|
80
|
+
virtual void writeSubMesh(const SubMesh* s);
|
81
|
+
virtual void writeSubMeshOperation(const SubMesh* s);
|
82
|
+
virtual void writeSubMeshTextureAliases(const SubMesh* s);
|
83
|
+
virtual void writeGeometry(const VertexData* pGeom);
|
84
|
+
virtual void writeSkeletonLink(const String& skelName);
|
85
|
+
virtual void writeMeshBoneAssignment(const VertexBoneAssignment& assign);
|
86
|
+
virtual void writeSubMeshBoneAssignment(const VertexBoneAssignment& assign);
|
87
|
+
virtual void writeLodInfo(const Mesh* pMesh);
|
88
|
+
virtual void writeLodSummary(unsigned short numLevels, bool manual);
|
89
|
+
virtual void writeLodUsageManual(const MeshLodUsage& usage);
|
90
|
+
virtual void writeLodUsageGenerated(const Mesh* pMesh, const MeshLodUsage& usage, unsigned short lodNum);
|
91
|
+
virtual void writeBoundsInfo(const Mesh* pMesh);
|
92
|
+
virtual void writeEdgeList(const Mesh* pMesh);
|
93
|
+
virtual void writeAnimations(const Mesh* pMesh);
|
94
|
+
virtual void writeAnimation(const Animation* anim);
|
95
|
+
virtual void writePoses(const Mesh* pMesh);
|
96
|
+
virtual void writePose(const Pose* pose);
|
97
|
+
virtual void writeAnimationTrack(const VertexAnimationTrack* track);
|
98
|
+
virtual void writeMorphKeyframe(const VertexMorphKeyFrame* kf, size_t vertexCount);
|
99
|
+
virtual void writePoseKeyframe(const VertexPoseKeyFrame* kf);
|
100
|
+
virtual void writePoseKeyframePoseRef(const VertexPoseKeyFrame::PoseRef& poseRef);
|
101
|
+
virtual void writeExtremes(const Mesh *pMesh);
|
102
|
+
virtual void writeSubMeshExtremes(unsigned short idx, const SubMesh* s);
|
103
|
+
|
104
|
+
virtual size_t calcMeshSize(const Mesh* pMesh);
|
105
|
+
virtual size_t calcSubMeshSize(const SubMesh* pSub);
|
106
|
+
virtual size_t calcGeometrySize(const VertexData* pGeom);
|
107
|
+
virtual size_t calcSkeletonLinkSize(const String& skelName);
|
108
|
+
virtual size_t calcBoneAssignmentSize(void);
|
109
|
+
virtual size_t calcSubMeshOperationSize(const SubMesh* pSub);
|
110
|
+
virtual size_t calcSubMeshNameTableSize(const Mesh* pMesh);
|
111
|
+
virtual size_t calcEdgeListSize(const Mesh* pMesh);
|
112
|
+
virtual size_t calcEdgeListLodSize(const EdgeData* data, bool isManual);
|
113
|
+
virtual size_t calcEdgeGroupSize(const EdgeData::EdgeGroup& group);
|
114
|
+
virtual size_t calcPosesSize(const Mesh* pMesh);
|
115
|
+
virtual size_t calcPoseSize(const Pose* pose);
|
116
|
+
virtual size_t calcAnimationsSize(const Mesh* pMesh);
|
117
|
+
virtual size_t calcAnimationSize(const Animation* anim);
|
118
|
+
virtual size_t calcAnimationTrackSize(const VertexAnimationTrack* track);
|
119
|
+
virtual size_t calcMorphKeyframeSize(const VertexMorphKeyFrame* kf, size_t vertexCount);
|
120
|
+
virtual size_t calcPoseKeyframeSize(const VertexPoseKeyFrame* kf);
|
121
|
+
virtual size_t calcPoseKeyframePoseRefSize(void);
|
122
|
+
virtual size_t calcPoseVertexSize(void);
|
123
|
+
virtual size_t calcSubMeshTextureAliasesSize(const SubMesh* pSub);
|
124
|
+
|
125
|
+
|
126
|
+
virtual void readTextureLayer(DataStreamPtr& stream, Mesh* pMesh, MaterialPtr& pMat);
|
127
|
+
virtual void readSubMeshNameTable(DataStreamPtr& stream, Mesh* pMesh);
|
128
|
+
virtual void readMesh(DataStreamPtr& stream, Mesh* pMesh);
|
129
|
+
virtual void readSubMesh(DataStreamPtr& stream, Mesh* pMesh);
|
130
|
+
virtual void readSubMeshOperation(DataStreamPtr& stream, Mesh* pMesh, SubMesh* sub);
|
131
|
+
virtual void readSubMeshTextureAlias(DataStreamPtr& stream, Mesh* pMesh, SubMesh* sub);
|
132
|
+
virtual void readGeometry(DataStreamPtr& stream, Mesh* pMesh, VertexData* dest);
|
133
|
+
virtual void readGeometryVertexDeclaration(DataStreamPtr& stream, Mesh* pMesh, VertexData* dest);
|
134
|
+
virtual void readGeometryVertexElement(DataStreamPtr& stream, Mesh* pMesh, VertexData* dest);
|
135
|
+
virtual void readGeometryVertexBuffer(DataStreamPtr& stream, Mesh* pMesh, VertexData* dest);
|
136
|
+
|
137
|
+
virtual void readSkeletonLink(DataStreamPtr& stream, Mesh* pMesh);
|
138
|
+
virtual void readMeshBoneAssignment(DataStreamPtr& stream, Mesh* pMesh);
|
139
|
+
virtual void readSubMeshBoneAssignment(DataStreamPtr& stream, Mesh* pMesh,
|
140
|
+
SubMesh* sub);
|
141
|
+
virtual void readMeshLodInfo(DataStreamPtr& stream, Mesh* pMesh);
|
142
|
+
virtual void readMeshLodUsageManual(DataStreamPtr& stream, Mesh* pMesh,
|
143
|
+
unsigned short lodNum, MeshLodUsage& usage);
|
144
|
+
virtual void readMeshLodUsageGenerated(DataStreamPtr& stream, Mesh* pMesh,
|
145
|
+
unsigned short lodNum, MeshLodUsage& usage);
|
146
|
+
virtual void readBoundsInfo(DataStreamPtr& stream, Mesh* pMesh);
|
147
|
+
virtual void readEdgeList(DataStreamPtr& stream, Mesh* pMesh);
|
148
|
+
virtual void readEdgeListLodInfo(DataStreamPtr& stream, EdgeData* edgeData);
|
149
|
+
virtual void readPoses(DataStreamPtr& stream, Mesh* pMesh);
|
150
|
+
virtual void readPose(DataStreamPtr& stream, Mesh* pMesh);
|
151
|
+
virtual void readAnimations(DataStreamPtr& stream, Mesh* pMesh);
|
152
|
+
virtual void readAnimation(DataStreamPtr& stream, Mesh* pMesh);
|
153
|
+
virtual void readAnimationTrack(DataStreamPtr& stream, Animation* anim,
|
154
|
+
Mesh* pMesh);
|
155
|
+
virtual void readMorphKeyFrame(DataStreamPtr& stream, VertexAnimationTrack* track);
|
156
|
+
virtual void readPoseKeyFrame(DataStreamPtr& stream, VertexAnimationTrack* track);
|
157
|
+
virtual void readExtremes(DataStreamPtr& stream, Mesh *pMesh);
|
158
|
+
|
159
|
+
|
160
|
+
/// Flip an entire vertex buffer from little endian
|
161
|
+
virtual void flipFromLittleEndian(void* pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList& elems);
|
162
|
+
/// Flip an entire vertex buffer to little endian
|
163
|
+
virtual void flipToLittleEndian(void* pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList& elems);
|
164
|
+
/// Flip the endianness of an entire vertex buffer, passed in as a
|
165
|
+
/// pointer to locked or temporary memory
|
166
|
+
virtual void flipEndian(void* pData, size_t vertexCount, size_t vertexSize, const VertexDeclaration::VertexElementList& elems);
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
};
|
171
|
+
|
172
|
+
/** Class for providing backwards-compatibility for loading version 1.3 of the .mesh format. */
|
173
|
+
class _OgrePrivate MeshSerializerImpl_v1_3 : public MeshSerializerImpl
|
174
|
+
{
|
175
|
+
public:
|
176
|
+
MeshSerializerImpl_v1_3();
|
177
|
+
~MeshSerializerImpl_v1_3();
|
178
|
+
protected:
|
179
|
+
virtual void readEdgeListLodInfo(DataStreamPtr& stream, EdgeData* edgeData);
|
180
|
+
|
181
|
+
/// Reorganise triangles of the edge list to group by vertex set
|
182
|
+
virtual void reorganiseTriangles(EdgeData* edgeData);
|
183
|
+
};
|
184
|
+
|
185
|
+
/** Class for providing backwards-compatibility for loading version 1.2 of the .mesh format. */
|
186
|
+
class _OgrePrivate MeshSerializerImpl_v1_2 : public MeshSerializerImpl_v1_3
|
187
|
+
{
|
188
|
+
public:
|
189
|
+
MeshSerializerImpl_v1_2();
|
190
|
+
~MeshSerializerImpl_v1_2();
|
191
|
+
protected:
|
192
|
+
virtual void readMesh(DataStreamPtr& stream, Mesh* pMesh);
|
193
|
+
virtual void readGeometry(DataStreamPtr& stream, Mesh* pMesh, VertexData* dest);
|
194
|
+
virtual void readGeometryPositions(unsigned short bindIdx, DataStreamPtr& stream,
|
195
|
+
Mesh* pMesh, VertexData* dest);
|
196
|
+
virtual void readGeometryNormals(unsigned short bindIdx, DataStreamPtr& stream,
|
197
|
+
Mesh* pMesh, VertexData* dest);
|
198
|
+
virtual void readGeometryColours(unsigned short bindIdx, DataStreamPtr& stream,
|
199
|
+
Mesh* pMesh, VertexData* dest);
|
200
|
+
virtual void readGeometryTexCoords(unsigned short bindIdx, DataStreamPtr& stream,
|
201
|
+
Mesh* pMesh, VertexData* dest, unsigned short set);
|
202
|
+
};
|
203
|
+
|
204
|
+
/** Class for providing backwards-compatibility for loading version 1.1 of the .mesh format. */
|
205
|
+
class _OgrePrivate MeshSerializerImpl_v1_1 : public MeshSerializerImpl_v1_2
|
206
|
+
{
|
207
|
+
public:
|
208
|
+
MeshSerializerImpl_v1_1();
|
209
|
+
~MeshSerializerImpl_v1_1();
|
210
|
+
protected:
|
211
|
+
void readGeometryTexCoords(unsigned short bindIdx, DataStreamPtr& stream,
|
212
|
+
Mesh* pMesh, VertexData* dest, unsigned short set);
|
213
|
+
};
|
214
|
+
|
215
|
+
|
216
|
+
}
|
217
|
+
|
218
|
+
#endif
|
@@ -0,0 +1,530 @@
|
|
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
|
+
|
30
|
+
#ifndef __MovableObject_H__
|
31
|
+
#define __MovableObject_H__
|
32
|
+
|
33
|
+
// Precompiler options
|
34
|
+
#include "OgrePrerequisites.h"
|
35
|
+
#include "OgreRenderQueue.h"
|
36
|
+
#include "OgreAxisAlignedBox.h"
|
37
|
+
#include "OgreSphere.h"
|
38
|
+
#include "OgreShadowCaster.h"
|
39
|
+
#include "OgreFactoryObj.h"
|
40
|
+
#include "OgreAnimable.h"
|
41
|
+
#include "OgreAny.h"
|
42
|
+
#include "OgreUserDefinedObject.h"
|
43
|
+
|
44
|
+
namespace Ogre {
|
45
|
+
|
46
|
+
// Forward declaration
|
47
|
+
class MovableObjectFactory;
|
48
|
+
|
49
|
+
/** Abstract class definining a movable object in a scene.
|
50
|
+
@remarks
|
51
|
+
Instances of this class are discrete, relatively small, movable objects
|
52
|
+
which are attached to SceneNode objects to define their position.
|
53
|
+
*/
|
54
|
+
class _OgreExport MovableObject : public ShadowCaster, public AnimableObject
|
55
|
+
{
|
56
|
+
public:
|
57
|
+
/** Listener which gets called back on MovableObject events.
|
58
|
+
*/
|
59
|
+
class _OgreExport Listener
|
60
|
+
{
|
61
|
+
public:
|
62
|
+
Listener(void) {}
|
63
|
+
virtual ~Listener() {}
|
64
|
+
/** MovableObject is being destroyed */
|
65
|
+
virtual void objectDestroyed(MovableObject*) {}
|
66
|
+
/** MovableObject has been attached to a node */
|
67
|
+
virtual void objectAttached(MovableObject*) {}
|
68
|
+
/** MovableObject has been detached from a node */
|
69
|
+
virtual void objectDetached(MovableObject*) {}
|
70
|
+
/** MovableObject has been moved */
|
71
|
+
virtual void objectMoved(MovableObject*) {}
|
72
|
+
/** Called when the movable object of the camera to be used for rendering.
|
73
|
+
@returns
|
74
|
+
true if allows queue for rendering, false otherwise.
|
75
|
+
*/
|
76
|
+
virtual bool objectRendering(const MovableObject*, const Camera*) { return true; }
|
77
|
+
/** Called when the movable object needs to query a light list.
|
78
|
+
@remarks
|
79
|
+
If you want to customize light finding for this object, you should override
|
80
|
+
this method and hook into MovableObject via MovableObject::setListener.
|
81
|
+
Be aware that the default method caches results within a frame to
|
82
|
+
prevent unnecessary recalculation, so if you override this you
|
83
|
+
should provide your own cacheing to maintain performance.
|
84
|
+
@note
|
85
|
+
If you use texture shadows, there is an additional restriction -
|
86
|
+
since the lights which should have shadow textures rendered for
|
87
|
+
them are determined based on the entire frustum, and not per-object,
|
88
|
+
it is important that the lights returned at the start of this
|
89
|
+
list (up to the number of shadow textures available) are the same
|
90
|
+
lights that were used to generate the shadow textures,
|
91
|
+
and they are in the same order (particularly for additive effects).
|
92
|
+
@returns
|
93
|
+
A pointer to a light list if you populated the light list yourself, or
|
94
|
+
NULL to fall back on the default finding process.
|
95
|
+
*/
|
96
|
+
virtual const LightList* objectQueryLights(const MovableObject*) { return 0; }
|
97
|
+
};
|
98
|
+
|
99
|
+
protected:
|
100
|
+
/// Name of this object
|
101
|
+
String mName;
|
102
|
+
/// Creator of this object (if created by a factory)
|
103
|
+
MovableObjectFactory* mCreator;
|
104
|
+
/// SceneManager holding this object (if applicable)
|
105
|
+
SceneManager* mManager;
|
106
|
+
/// node to which this object is attached
|
107
|
+
Node* mParentNode;
|
108
|
+
bool mParentIsTagPoint;
|
109
|
+
/// Is this object visible?
|
110
|
+
bool mVisible;
|
111
|
+
/// Upper distance to still render
|
112
|
+
Real mUpperDistance;
|
113
|
+
Real mSquaredUpperDistance;
|
114
|
+
/// Hidden because of distance?
|
115
|
+
bool mBeyondFarDistance;
|
116
|
+
/// User defined link to another object / value / whatever
|
117
|
+
Any mUserAny;
|
118
|
+
/// The render queue to use when rendering this object
|
119
|
+
uint8 mRenderQueueID;
|
120
|
+
/// Flags whether the RenderQueue's default should be used.
|
121
|
+
bool mRenderQueueIDSet;
|
122
|
+
/// Flags determining whether this object is included / excluded from scene queries
|
123
|
+
uint32 mQueryFlags;
|
124
|
+
/// Flags determining whether this object is visible (compared to SceneManager mask)
|
125
|
+
uint32 mVisibilityFlags;
|
126
|
+
/// Cached world AABB of this object
|
127
|
+
mutable AxisAlignedBox mWorldAABB;
|
128
|
+
// Cached world bounding sphere
|
129
|
+
mutable Sphere mWorldBoundingSphere;
|
130
|
+
/// World space AABB of this object's dark cap
|
131
|
+
mutable AxisAlignedBox mWorldDarkCapBounds;
|
132
|
+
/// Does this object cast shadows?
|
133
|
+
bool mCastShadows;
|
134
|
+
|
135
|
+
/// Does rendering this object disabled by listener?
|
136
|
+
bool mRenderingDisabled;
|
137
|
+
/// MovableObject listener - only one allowed (no list) for size & performance reasons. */
|
138
|
+
Listener* mListener;
|
139
|
+
|
140
|
+
/// List of lights for this object
|
141
|
+
mutable LightList mLightList;
|
142
|
+
/// The last frame that this light list was updated in
|
143
|
+
mutable ulong mLightListUpdated;
|
144
|
+
|
145
|
+
// Static members
|
146
|
+
/// Default query flags
|
147
|
+
static uint32 msDefaultQueryFlags;
|
148
|
+
/// Default visibility flags
|
149
|
+
static uint32 msDefaultVisibilityFlags;
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
public:
|
154
|
+
/// Constructor
|
155
|
+
MovableObject();
|
156
|
+
|
157
|
+
/// Named constructor
|
158
|
+
MovableObject(const String& name);
|
159
|
+
/** Virtual destructor - read Scott Meyers if you don't know why this is needed.
|
160
|
+
*/
|
161
|
+
virtual ~MovableObject();
|
162
|
+
|
163
|
+
/** Notify the object of it's creator (internal use only) */
|
164
|
+
virtual void _notifyCreator(MovableObjectFactory* fact) { mCreator = fact; }
|
165
|
+
/** Get the creator of this object, if any (internal use only) */
|
166
|
+
virtual MovableObjectFactory* _getCreator(void) const { return mCreator; }
|
167
|
+
/** Notify the object of it's manager (internal use only) */
|
168
|
+
virtual void _notifyManager(SceneManager* man) { mManager = man; }
|
169
|
+
/** Get the manager of this object, if any (internal use only) */
|
170
|
+
virtual SceneManager* _getManager(void) const { return mManager; }
|
171
|
+
|
172
|
+
/** Returns the name of this object. */
|
173
|
+
virtual const String& getName(void) const { return mName; }
|
174
|
+
|
175
|
+
/** Returns the type name of this object. */
|
176
|
+
virtual const String& getMovableType(void) const = 0;
|
177
|
+
|
178
|
+
/** Returns the node to which this object is attached.
|
179
|
+
@remarks
|
180
|
+
A MovableObject may be attached to either a SceneNode or to a TagPoint,
|
181
|
+
the latter case if it's attached to a bone on an animated entity.
|
182
|
+
Both are Node subclasses so this method will return either.
|
183
|
+
*/
|
184
|
+
virtual Node* getParentNode(void) const;
|
185
|
+
|
186
|
+
/** Returns the scene node to which this object is attached.
|
187
|
+
@remarks
|
188
|
+
A MovableObject may be attached to either a SceneNode or to a TagPoint,
|
189
|
+
the latter case if it's attached to a bone on an animated entity.
|
190
|
+
This method will return the scene node of the parent entity
|
191
|
+
if the latter is true.
|
192
|
+
*/
|
193
|
+
virtual SceneNode* getParentSceneNode(void) const;
|
194
|
+
|
195
|
+
/** Internal method called to notify the object that it has been attached to a node.
|
196
|
+
*/
|
197
|
+
virtual void _notifyAttached(Node* parent, bool isTagPoint = false);
|
198
|
+
|
199
|
+
/** Returns true if this object is attached to a SceneNode or TagPoint. */
|
200
|
+
virtual bool isAttached(void) const;
|
201
|
+
|
202
|
+
/** Returns true if this object is attached to a SceneNode or TagPoint,
|
203
|
+
and this SceneNode / TagPoint is currently in an active part of the
|
204
|
+
scene graph. */
|
205
|
+
virtual bool isInScene(void) const;
|
206
|
+
|
207
|
+
/** Internal method called to notify the object that it has been moved.
|
208
|
+
*/
|
209
|
+
virtual void _notifyMoved(void);
|
210
|
+
|
211
|
+
/** Internal method to notify the object of the camera to be used for the next rendering operation.
|
212
|
+
@remarks
|
213
|
+
Certain objects may want to do specific processing based on the camera position. This method notifies
|
214
|
+
them incase they wish to do this.
|
215
|
+
*/
|
216
|
+
virtual void _notifyCurrentCamera(Camera* cam);
|
217
|
+
|
218
|
+
/** Retrieves the local axis-aligned bounding box for this object.
|
219
|
+
@remarks
|
220
|
+
This bounding box is in local coordinates.
|
221
|
+
*/
|
222
|
+
virtual const AxisAlignedBox& getBoundingBox(void) const = 0;
|
223
|
+
|
224
|
+
/** Retrieves the radius of the origin-centered bounding sphere
|
225
|
+
for this object.
|
226
|
+
*/
|
227
|
+
virtual Real getBoundingRadius(void) const = 0;
|
228
|
+
|
229
|
+
/** Retrieves the axis-aligned bounding box for this object in world coordinates. */
|
230
|
+
virtual const AxisAlignedBox& getWorldBoundingBox(bool derive = false) const;
|
231
|
+
/** Retrieves the worldspace bounding sphere for this object. */
|
232
|
+
virtual const Sphere& getWorldBoundingSphere(bool derive = false) const;
|
233
|
+
/** Internal method by which the movable object must add Renderable subclass instances to the rendering queue.
|
234
|
+
@remarks
|
235
|
+
The engine will call this method when this object is to be rendered. The object must then create one or more
|
236
|
+
Renderable subclass instances which it places on the passed in Queue for rendering.
|
237
|
+
*/
|
238
|
+
virtual void _updateRenderQueue(RenderQueue* queue) = 0;
|
239
|
+
|
240
|
+
/** Tells this object whether to be visible or not, if it has a renderable component.
|
241
|
+
@note An alternative approach of making an object invisible is to detach it
|
242
|
+
from it's SceneNode, or to remove the SceneNode entirely.
|
243
|
+
Detaching a node means that structurally the scene graph changes.
|
244
|
+
Once this change has taken place, the objects / nodes that have been
|
245
|
+
removed have less overhead to the visbility detection pass than simply
|
246
|
+
making the object invisible, so if you do this and leave the objects
|
247
|
+
out of the tree for a long time, it's faster. However, the act of
|
248
|
+
detaching / reattaching nodes is in itself more expensive than
|
249
|
+
setting an object visibility flag, since in the latter case
|
250
|
+
structural changes are not made. Therefore, small or frequent visbility
|
251
|
+
changes are best done using this method; large or more longer term
|
252
|
+
changes are best done by detaching.
|
253
|
+
*/
|
254
|
+
virtual void setVisible(bool visible);
|
255
|
+
|
256
|
+
/** Gets this object whether to be visible or not, if it has a renderable component.
|
257
|
+
@remarks
|
258
|
+
Returns the value set by MovableObject::setVisible only.
|
259
|
+
*/
|
260
|
+
virtual bool getVisible(void) const;
|
261
|
+
|
262
|
+
/** Returns whether or not this object is supposed to be visible or not.
|
263
|
+
@remarks
|
264
|
+
Takes into account both upper rendering distance and visible flag.
|
265
|
+
*/
|
266
|
+
virtual bool isVisible(void) const;
|
267
|
+
|
268
|
+
/** Sets the distance at which the object is no longer rendered.
|
269
|
+
@param dist Distance beyond which the object will not be rendered
|
270
|
+
(the default is 0, which means objects are always rendered).
|
271
|
+
*/
|
272
|
+
virtual void setRenderingDistance(Real dist) {
|
273
|
+
mUpperDistance = dist;
|
274
|
+
mSquaredUpperDistance = mUpperDistance * mUpperDistance;
|
275
|
+
}
|
276
|
+
|
277
|
+
/** Gets the distance at which batches are no longer rendered. */
|
278
|
+
virtual Real getRenderingDistance(void) const { return mUpperDistance; }
|
279
|
+
|
280
|
+
/** Call this to associate your own custom user object instance with this MovableObject.
|
281
|
+
@remarks
|
282
|
+
By simply making your game / application object a subclass of UserDefinedObject, you
|
283
|
+
can establish a link between an OGRE instance of MovableObject and your own application
|
284
|
+
classes. Call this method to establish the link.
|
285
|
+
*/
|
286
|
+
virtual void setUserObject(UserDefinedObject* obj) { mUserAny = Any(obj); }
|
287
|
+
/** Retrieves a pointer to a custom application object associated with this movable by an earlier
|
288
|
+
call to setUserObject.
|
289
|
+
*/
|
290
|
+
virtual UserDefinedObject* getUserObject(void)
|
291
|
+
{
|
292
|
+
return mUserAny.isEmpty() ? 0 : any_cast<UserDefinedObject*>(mUserAny);
|
293
|
+
}
|
294
|
+
|
295
|
+
/** Sets any kind of user value on this object.
|
296
|
+
@remarks
|
297
|
+
This method allows you to associate any user value you like with
|
298
|
+
this MovableObject. This can be a pointer back to one of your own
|
299
|
+
classes for instance.
|
300
|
+
@note This value is shared with setUserObject so don't use both!
|
301
|
+
*/
|
302
|
+
virtual void setUserAny(const Any& anything) { mUserAny = anything; }
|
303
|
+
|
304
|
+
/** Retrieves the custom user value associated with this object.
|
305
|
+
*/
|
306
|
+
virtual const Any& getUserAny(void) const { return mUserAny; }
|
307
|
+
|
308
|
+
/** Sets the render queue group this entity will be rendered through.
|
309
|
+
@remarks
|
310
|
+
Render queues are grouped to allow you to more tightly control the ordering
|
311
|
+
of rendered objects. If you do not call this method, all Entity objects default
|
312
|
+
to the default queue (RenderQueue::getDefaultQueueGroup), which is fine for most objects. You may want to alter this
|
313
|
+
if you want this entity to always appear in front of other objects, e.g. for
|
314
|
+
a 3D menu system or such.
|
315
|
+
@par
|
316
|
+
See RenderQueue for more details.
|
317
|
+
@param queueID Enumerated value of the queue group to use.
|
318
|
+
*/
|
319
|
+
virtual void setRenderQueueGroup(uint8 queueID);
|
320
|
+
|
321
|
+
/** Gets the queue group for this entity, see setRenderQueueGroup for full details. */
|
322
|
+
virtual uint8 getRenderQueueGroup(void) const;
|
323
|
+
|
324
|
+
/// return the full transformation of the parent sceneNode or the attachingPoint node
|
325
|
+
virtual const Matrix4& _getParentNodeFullTransform(void) const;
|
326
|
+
|
327
|
+
/** Sets the query flags for this object.
|
328
|
+
@remarks
|
329
|
+
When performing a scene query, this object will be included or excluded according
|
330
|
+
to flags on the object and flags on the query. This is a bitwise value, so only when
|
331
|
+
a bit on these flags is set, will it be included in a query asking for that flag. The
|
332
|
+
meaning of the bits is application-specific.
|
333
|
+
*/
|
334
|
+
virtual void setQueryFlags(uint32 flags) { mQueryFlags = flags; }
|
335
|
+
|
336
|
+
/** As setQueryFlags, except the flags passed as parameters are appended to the
|
337
|
+
existing flags on this object. */
|
338
|
+
virtual void addQueryFlags(uint32 flags) { mQueryFlags |= flags; }
|
339
|
+
|
340
|
+
/** As setQueryFlags, except the flags passed as parameters are removed from the
|
341
|
+
existing flags on this object. */
|
342
|
+
virtual void removeQueryFlags(unsigned long flags) { mQueryFlags &= ~flags; }
|
343
|
+
|
344
|
+
/// Returns the query flags relevant for this object
|
345
|
+
virtual uint32 getQueryFlags(void) const { return mQueryFlags; }
|
346
|
+
|
347
|
+
/** Set the default query flags for all future MovableObject instances.
|
348
|
+
*/
|
349
|
+
static void setDefaultQueryFlags(uint32 flags) { msDefaultQueryFlags = flags; }
|
350
|
+
|
351
|
+
/** Get the default query flags for all future MovableObject instances.
|
352
|
+
*/
|
353
|
+
static uint32 getDefaultQueryFlags() { return msDefaultQueryFlags; }
|
354
|
+
|
355
|
+
|
356
|
+
/** Sets the visiblity flags for this object.
|
357
|
+
@remarks
|
358
|
+
As well as a simple true/false value for visibility (as seen in setVisible),
|
359
|
+
you can also set visiblity flags which when 'and'ed with the SceneManager's
|
360
|
+
visibility mask can also make an object invisible.
|
361
|
+
*/
|
362
|
+
virtual void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }
|
363
|
+
|
364
|
+
/** As setVisibilityFlags, except the flags passed as parameters are appended to the
|
365
|
+
existing flags on this object. */
|
366
|
+
virtual void addVisibilityFlags(uint32 flags) { mVisibilityFlags |= flags; }
|
367
|
+
|
368
|
+
/** As setVisibilityFlags, except the flags passed as parameters are removed from the
|
369
|
+
existing flags on this object. */
|
370
|
+
virtual void removeVisibilityFlags(uint32 flags) { mVisibilityFlags &= ~flags; }
|
371
|
+
|
372
|
+
/// Returns the visibility flags relevant for this object
|
373
|
+
virtual uint32 getVisibilityFlags(void) const { return mVisibilityFlags; }
|
374
|
+
|
375
|
+
/** Set the default visibility flags for all future MovableObject instances.
|
376
|
+
*/
|
377
|
+
static void setDefaultVisibilityFlags(uint32 flags) { msDefaultVisibilityFlags = flags; }
|
378
|
+
|
379
|
+
/** Get the default visibility flags for all future MovableObject instances.
|
380
|
+
*/
|
381
|
+
static uint32 getDefaultVisibilityFlags() { return msDefaultVisibilityFlags; }
|
382
|
+
|
383
|
+
/** Sets a listener for this object.
|
384
|
+
@remarks
|
385
|
+
Note for size and performance reasons only one listener per object
|
386
|
+
is allowed.
|
387
|
+
*/
|
388
|
+
virtual void setListener(Listener* listener) { mListener = listener; }
|
389
|
+
|
390
|
+
/** Gets the current listener for this object.
|
391
|
+
*/
|
392
|
+
virtual Listener* getListener(void) const { return mListener; }
|
393
|
+
|
394
|
+
/** Gets a list of lights, ordered relative to how close they are to this movable object.
|
395
|
+
@remarks
|
396
|
+
By default, this method gives the listener a chance to populate light list first,
|
397
|
+
if there is no listener or Listener::objectQueryLights returns NULL, it'll
|
398
|
+
query the light list from parent entity if it is present, or returns
|
399
|
+
SceneNode::findLights if it has parent scene node, otherwise it just returns
|
400
|
+
an empty list.
|
401
|
+
@par
|
402
|
+
The object internally caches the light list, so it will recalculate
|
403
|
+
it only when object is moved, or lights that affect the frustum have
|
404
|
+
been changed (@see SceneManager::_getLightsDirtyCounter),
|
405
|
+
but if listener exists, it will be called each time, so the listener
|
406
|
+
should implement their own cache mechanism to optimise performance.
|
407
|
+
@par
|
408
|
+
This method can be useful when implementing Renderable::getLights in case
|
409
|
+
the renderable is a part of the movable.
|
410
|
+
@returns The list of lights use to lighting this object.
|
411
|
+
*/
|
412
|
+
virtual const LightList& queryLights(void) const;
|
413
|
+
|
414
|
+
/// Define a default implementation of method from ShadowCaster which implements no shadows
|
415
|
+
EdgeData* getEdgeList(void) { return NULL; }
|
416
|
+
/// Define a default implementation of method from ShadowCaster which implements no shadows
|
417
|
+
bool hasEdgeList(void) { return false; }
|
418
|
+
/// Define a default implementation of method from ShadowCaster which implements no shadows
|
419
|
+
ShadowRenderableListIterator getShadowVolumeRenderableIterator(
|
420
|
+
ShadowTechnique shadowTechnique, const Light* light,
|
421
|
+
HardwareIndexBufferSharedPtr* indexBuffer,
|
422
|
+
bool extrudeVertices, Real extrusionDist, unsigned long flags = 0);
|
423
|
+
|
424
|
+
/** Overridden member from ShadowCaster. */
|
425
|
+
const AxisAlignedBox& getLightCapBounds(void) const;
|
426
|
+
/** Overridden member from ShadowCaster. */
|
427
|
+
const AxisAlignedBox& getDarkCapBounds(const Light& light, Real dirLightExtrusionDist) const;
|
428
|
+
/** Sets whether or not this object will cast shadows.
|
429
|
+
@remarks
|
430
|
+
This setting simply allows you to turn on/off shadows for a given object.
|
431
|
+
An object will not cast shadows unless the scene supports it in any case
|
432
|
+
(see SceneManager::setShadowTechnique), and also the material which is
|
433
|
+
in use must also have shadow casting enabled. By default all entities cast
|
434
|
+
shadows. If, however, for some reason you wish to disable this for a single
|
435
|
+
object then you can do so using this method.
|
436
|
+
@note This method normally refers to objects which block the light, but
|
437
|
+
since Light is also a subclass of MovableObject, in that context it means
|
438
|
+
whether the light causes shadows itself.
|
439
|
+
*/
|
440
|
+
void setCastShadows(bool enabled) { mCastShadows = enabled; }
|
441
|
+
/** Returns whether shadow casting is enabled for this object. */
|
442
|
+
bool getCastShadows(void) const { return mCastShadows; }
|
443
|
+
/** Get the distance to extrude for a point/spot light */
|
444
|
+
Real getPointExtrusionDistance(const Light* l) const;
|
445
|
+
/** Get the 'type flags' for this MovableObject.
|
446
|
+
@remarks
|
447
|
+
A type flag identifies the type of the MovableObject as a bitpattern.
|
448
|
+
This is used for categorical inclusion / exclusion in SceneQuery
|
449
|
+
objects. By default, this method returns all ones for objects not
|
450
|
+
created by a MovableObjectFactory (hence always including them);
|
451
|
+
otherwise it returns the value assigned to the MovableObjectFactory.
|
452
|
+
Custom objects which don't use MovableObjectFactory will need to
|
453
|
+
override this if they want to be included in queries.
|
454
|
+
*/
|
455
|
+
virtual uint32 getTypeFlags(void) const;
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
};
|
462
|
+
|
463
|
+
/** Interface definition for a factory class which produces a certain
|
464
|
+
kind of MovableObject, and can be registered with Root in order
|
465
|
+
to allow all clients to produce new instances of this object, integrated
|
466
|
+
with the standard Ogre processing.
|
467
|
+
*/
|
468
|
+
class _OgreExport MovableObjectFactory
|
469
|
+
{
|
470
|
+
protected:
|
471
|
+
/// Type flag, allocated if requested
|
472
|
+
unsigned long mTypeFlag;
|
473
|
+
|
474
|
+
/// Internal implementation of create method - must be overridden
|
475
|
+
virtual MovableObject* createInstanceImpl(
|
476
|
+
const String& name, const NameValuePairList* params = 0) = 0;
|
477
|
+
public:
|
478
|
+
MovableObjectFactory() : mTypeFlag(0xFFFFFFFF) {}
|
479
|
+
virtual ~MovableObjectFactory() {}
|
480
|
+
/// Get the type of the object to be created
|
481
|
+
virtual const String& getType(void) const = 0;
|
482
|
+
|
483
|
+
/** Create a new instance of the object.
|
484
|
+
@param name The name of the new object
|
485
|
+
@param manager The SceneManager instance that will be holding the
|
486
|
+
instance once created.
|
487
|
+
@param params Name/value pair list of additional parameters required to
|
488
|
+
construct the object (defined per subtype). Optional.
|
489
|
+
*/
|
490
|
+
virtual MovableObject* createInstance(
|
491
|
+
const String& name, SceneManager* manager,
|
492
|
+
const NameValuePairList* params = 0);
|
493
|
+
/** Destroy an instance of the object */
|
494
|
+
virtual void destroyInstance(MovableObject* obj) = 0;
|
495
|
+
|
496
|
+
/** Does this factory require the allocation of a 'type flag', used to
|
497
|
+
selectively include / exclude this type from scene queries?
|
498
|
+
@remarks
|
499
|
+
The default implementation here is to return 'false', ie not to
|
500
|
+
request a unique type mask from Root. For objects that
|
501
|
+
never need to be excluded in SceneQuery results, that's fine, since
|
502
|
+
the default implementation of MovableObject::getTypeFlags is to return
|
503
|
+
all ones, hence matching any query type mask. However, if you want the
|
504
|
+
objects created by this factory to be filterable by queries using a
|
505
|
+
broad type, you have to give them a (preferably unique) type mask -
|
506
|
+
and given that you don't know what other MovableObject types are
|
507
|
+
registered, Root will allocate you one.
|
508
|
+
*/
|
509
|
+
virtual bool requestTypeFlags(void) const { return false; }
|
510
|
+
/** Notify this factory of the type mask to apply.
|
511
|
+
@remarks
|
512
|
+
This should normally only be called by Root in response to
|
513
|
+
a 'true' result from requestTypeMask. However, you can actually use
|
514
|
+
it yourself if you're careful; for example to assign the same mask
|
515
|
+
to a number of different types of object, should you always wish them
|
516
|
+
to be treated the same in queries.
|
517
|
+
*/
|
518
|
+
void _notifyTypeFlags(unsigned long flag) { mTypeFlag = flag; }
|
519
|
+
|
520
|
+
/** Gets the type flag for this factory.
|
521
|
+
@remarks
|
522
|
+
A type flag is like a query flag, except that it applies to all instances
|
523
|
+
of a certain type of object.
|
524
|
+
*/
|
525
|
+
unsigned long getTypeFlags(void) const { return mTypeFlag; }
|
526
|
+
|
527
|
+
};
|
528
|
+
|
529
|
+
}
|
530
|
+
#endif
|