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,250 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __BillboardParticleRenderer_H__
|
30
|
+
#define __BillboardParticleRenderer_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreParticleSystemRenderer.h"
|
34
|
+
#include "OgreBillboardSet.h"
|
35
|
+
|
36
|
+
namespace Ogre {
|
37
|
+
|
38
|
+
/** Specialisation of ParticleSystemRenderer to render particles using
|
39
|
+
a BillboardSet.
|
40
|
+
@remarks
|
41
|
+
This renderer has a few more options than the standard particle system,
|
42
|
+
which will be passed to it automatically when the particle system itself
|
43
|
+
does not understand them.
|
44
|
+
*/
|
45
|
+
class _OgreExport BillboardParticleRenderer : public ParticleSystemRenderer
|
46
|
+
{
|
47
|
+
protected:
|
48
|
+
/// The billboard set that's doing the rendering
|
49
|
+
BillboardSet* mBillboardSet;
|
50
|
+
public:
|
51
|
+
BillboardParticleRenderer();
|
52
|
+
~BillboardParticleRenderer();
|
53
|
+
|
54
|
+
/** Command object for billboard type (see ParamCommand).*/
|
55
|
+
class _OgrePrivate CmdBillboardType : public ParamCommand
|
56
|
+
{
|
57
|
+
public:
|
58
|
+
String doGet(const void* target) const;
|
59
|
+
void doSet(void* target, const String& val);
|
60
|
+
};
|
61
|
+
/** Command object for billboard origin (see ParamCommand).*/
|
62
|
+
class _OgrePrivate CmdBillboardOrigin : public ParamCommand
|
63
|
+
{
|
64
|
+
public:
|
65
|
+
String doGet(const void* target) const;
|
66
|
+
void doSet(void* target, const String& val);
|
67
|
+
};
|
68
|
+
/** Command object for billboard rotation type (see ParamCommand).*/
|
69
|
+
class _OgrePrivate CmdBillboardRotationType : public ParamCommand
|
70
|
+
{
|
71
|
+
public:
|
72
|
+
String doGet(const void* target) const;
|
73
|
+
void doSet(void* target, const String& val);
|
74
|
+
};
|
75
|
+
/** Command object for common direction (see ParamCommand).*/
|
76
|
+
class _OgrePrivate CmdCommonDirection : public ParamCommand
|
77
|
+
{
|
78
|
+
public:
|
79
|
+
String doGet(const void* target) const;
|
80
|
+
void doSet(void* target, const String& val);
|
81
|
+
};
|
82
|
+
/** Command object for common up-vector (see ParamCommand).*/
|
83
|
+
class _OgrePrivate CmdCommonUpVector : public ParamCommand
|
84
|
+
{
|
85
|
+
public:
|
86
|
+
String doGet(const void* target) const;
|
87
|
+
void doSet(void* target, const String& val);
|
88
|
+
};
|
89
|
+
/** Command object for point rendering (see ParamCommand).*/
|
90
|
+
class _OgrePrivate CmdPointRendering : public ParamCommand
|
91
|
+
{
|
92
|
+
public:
|
93
|
+
String doGet(const void* target) const;
|
94
|
+
void doSet(void* target, const String& val);
|
95
|
+
};
|
96
|
+
/** Command object for accurate facing(see ParamCommand).*/
|
97
|
+
class _OgrePrivate CmdAccurateFacing : public ParamCommand
|
98
|
+
{
|
99
|
+
public:
|
100
|
+
String doGet(const void* target) const;
|
101
|
+
void doSet(void* target, const String& val);
|
102
|
+
};
|
103
|
+
|
104
|
+
/** Sets the type of billboard to render.
|
105
|
+
@remarks
|
106
|
+
The default sort of billboard (BBT_POINT), always has both x and y axes parallel to
|
107
|
+
the camera's local axes. This is fine for 'point' style billboards (e.g. flares,
|
108
|
+
smoke, anything which is symmetrical about a central point) but does not look good for
|
109
|
+
billboards which have an orientation (e.g. an elongated raindrop). In this case, the
|
110
|
+
oriented billboards are more suitable (BBT_ORIENTED_COMMON or BBT_ORIENTED_SELF) since they retain an independant Y axis
|
111
|
+
and only the X axis is generated, perpendicular to both the local Y and the camera Z.
|
112
|
+
@param bbt The type of billboard to render
|
113
|
+
*/
|
114
|
+
void setBillboardType(BillboardType bbt);
|
115
|
+
|
116
|
+
/** Returns the billboard type in use. */
|
117
|
+
BillboardType getBillboardType(void) const;
|
118
|
+
|
119
|
+
/// @copydoc BillboardSet::setUseAccurateFacing
|
120
|
+
void setUseAccurateFacing(bool acc);
|
121
|
+
/// @copydoc BillboardSet::getUseAccurateFacing
|
122
|
+
bool getUseAccurateFacing(void) const;
|
123
|
+
|
124
|
+
/** Sets the point which acts as the origin point for all billboards in this set.
|
125
|
+
@remarks
|
126
|
+
This setting controls the fine tuning of where a billboard appears in relation to it's
|
127
|
+
position. It could be that a billboard's position represents it's center (e.g. for fireballs),
|
128
|
+
it could mean the center of the bottom edge (e.g. a tree which is positioned on the ground),
|
129
|
+
the top-left corner (e.g. a cursor).
|
130
|
+
@par
|
131
|
+
The default setting is BBO_CENTER.
|
132
|
+
@param
|
133
|
+
origin A member of the BillboardOrigin enum specifying the origin for all the billboards in this set.
|
134
|
+
*/
|
135
|
+
void setBillboardOrigin(BillboardOrigin origin) { mBillboardSet->setBillboardOrigin(origin); }
|
136
|
+
|
137
|
+
/** Gets the point which acts as the origin point for all billboards in this set.
|
138
|
+
@returns
|
139
|
+
A member of the BillboardOrigin enum specifying the origin for all the billboards in this set.
|
140
|
+
*/
|
141
|
+
BillboardOrigin getBillboardOrigin(void) const { return mBillboardSet->getBillboardOrigin(); }
|
142
|
+
|
143
|
+
/** Sets billboard rotation type.
|
144
|
+
@remarks
|
145
|
+
This setting controls the billboard rotation type, you can deciding rotate the billboard's vertices
|
146
|
+
around their facing direction or rotate the billboard's texture coordinates.
|
147
|
+
@par
|
148
|
+
The default settings is BBR_TEXCOORD.
|
149
|
+
@param
|
150
|
+
rotationType A member of the BillboardRotationType enum specifying the rotation type for all the billboards in this set.
|
151
|
+
*/
|
152
|
+
void setBillboardRotationType(BillboardRotationType rotationType);
|
153
|
+
|
154
|
+
/** Sets billboard rotation type.
|
155
|
+
@returns
|
156
|
+
A member of the BillboardRotationType enum specifying the rotation type for all the billboards in this set.
|
157
|
+
*/
|
158
|
+
BillboardRotationType getBillboardRotationType(void) const;
|
159
|
+
|
160
|
+
/** Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
|
161
|
+
@remarks
|
162
|
+
Use BBT_ORIENTED_COMMON when you want oriented billboards but you know they are always going to
|
163
|
+
be oriented the same way (e.g. rain in calm weather). It is faster for the system to calculate
|
164
|
+
the billboard vertices if they have a common direction.
|
165
|
+
@param vec The direction for all billboards.
|
166
|
+
*/
|
167
|
+
void setCommonDirection(const Vector3& vec);
|
168
|
+
|
169
|
+
/** Gets the common direction for all billboards (BBT_ORIENTED_COMMON) */
|
170
|
+
const Vector3& getCommonDirection(void) const;
|
171
|
+
|
172
|
+
/** Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.
|
173
|
+
@remarks
|
174
|
+
Use BBT_PERPENDICULAR_SELF when you want oriented billboards perpendicular to their own
|
175
|
+
direction vector and doesn't face to camera. In this case, we need an additional vector
|
176
|
+
to determine the billboard X, Y axis. The generated X axis perpendicular to both the own
|
177
|
+
direction and up-vector, the Y axis will coplanar with both own direction and up-vector,
|
178
|
+
and perpendicular to own direction.
|
179
|
+
@param vec The up-vector for all billboards.
|
180
|
+
*/
|
181
|
+
void setCommonUpVector(const Vector3& vec);
|
182
|
+
|
183
|
+
/** Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF) */
|
184
|
+
const Vector3& getCommonUpVector(void) const;
|
185
|
+
|
186
|
+
/// @copydoc BillboardSet::setPointRenderingEnabled
|
187
|
+
void setPointRenderingEnabled(bool enabled);
|
188
|
+
|
189
|
+
/// @copydoc BillboardSet::isPointRenderingEnabled
|
190
|
+
bool isPointRenderingEnabled(void) const;
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
/// @copydoc ParticleSystemRenderer::getType
|
195
|
+
const String& getType(void) const;
|
196
|
+
/// @copydoc ParticleSystemRenderer::_updateRenderQueue
|
197
|
+
void _updateRenderQueue(RenderQueue* queue,
|
198
|
+
std::list<Particle*>& currentParticles, bool cullIndividually);
|
199
|
+
/// @copydoc ParticleSystemRenderer::_setMaterial
|
200
|
+
void _setMaterial(MaterialPtr& mat);
|
201
|
+
/// @copydoc ParticleSystemRenderer::_notifyCurrentCamera
|
202
|
+
void _notifyCurrentCamera(Camera* cam);
|
203
|
+
/// @copydoc ParticleSystemRenderer::_notifyParticleRotated
|
204
|
+
void _notifyParticleRotated(void);
|
205
|
+
/// @copydoc ParticleSystemRenderer::_notifyParticleResized
|
206
|
+
void _notifyParticleResized(void);
|
207
|
+
/// @copydoc ParticleSystemRenderer::_notifyParticleQuota
|
208
|
+
void _notifyParticleQuota(size_t quota);
|
209
|
+
/// @copydoc ParticleSystemRenderer::_notifyAttached
|
210
|
+
void _notifyAttached(Node* parent, bool isTagPoint = false);
|
211
|
+
/// @copydoc ParticleSystemRenderer::_notifyDefaultDimensions
|
212
|
+
void _notifyDefaultDimensions(Real width, Real height);
|
213
|
+
/// @copydoc ParticleSystemRenderer::setRenderQueueGroup
|
214
|
+
void setRenderQueueGroup(uint8 queueID);
|
215
|
+
/// @copydoc ParticleSystemRenderer::setKeepParticlesInLocalSpace
|
216
|
+
void setKeepParticlesInLocalSpace(bool keepLocal);
|
217
|
+
/// @copydoc ParticleSystemRenderer::_getSortMode
|
218
|
+
SortMode _getSortMode(void) const;
|
219
|
+
|
220
|
+
/// Access BillboardSet in use
|
221
|
+
BillboardSet* getBillboardSet(void) const { return mBillboardSet; }
|
222
|
+
|
223
|
+
protected:
|
224
|
+
static CmdBillboardType msBillboardTypeCmd;
|
225
|
+
static CmdBillboardOrigin msBillboardOriginCmd;
|
226
|
+
static CmdBillboardRotationType msBillboardRotationTypeCmd;
|
227
|
+
static CmdCommonDirection msCommonDirectionCmd;
|
228
|
+
static CmdCommonUpVector msCommonUpVectorCmd;
|
229
|
+
static CmdPointRendering msPointRenderingCmd;
|
230
|
+
static CmdAccurateFacing msAccurateFacingCmd;
|
231
|
+
|
232
|
+
|
233
|
+
};
|
234
|
+
|
235
|
+
/** Factory class for BillboardParticleRenderer */
|
236
|
+
class _OgreExport BillboardParticleRendererFactory : public ParticleSystemRendererFactory
|
237
|
+
{
|
238
|
+
public:
|
239
|
+
/// @copydoc FactoryObj::getType
|
240
|
+
const String& getType() const;
|
241
|
+
/// @copydoc FactoryObj::createInstance
|
242
|
+
ParticleSystemRenderer* createInstance( const String& name );
|
243
|
+
/// @copydoc FactoryObj::destroyInstance
|
244
|
+
void destroyInstance( ParticleSystemRenderer* inst);
|
245
|
+
};
|
246
|
+
|
247
|
+
}
|
248
|
+
|
249
|
+
#endif
|
250
|
+
|
@@ -0,0 +1,841 @@
|
|
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 __BillboardSet_H__
|
31
|
+
#define __BillboardSet_H__
|
32
|
+
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
|
35
|
+
#include "OgreMovableObject.h"
|
36
|
+
#include "OgreRenderable.h"
|
37
|
+
#include "OgreRadixSort.h"
|
38
|
+
#include "OgreCommon.h"
|
39
|
+
|
40
|
+
namespace Ogre {
|
41
|
+
|
42
|
+
/** Enum covering what exactly a billboard's position means (center,
|
43
|
+
top-left etc).
|
44
|
+
@see
|
45
|
+
BillboardSet::setBillboardOrigin
|
46
|
+
*/
|
47
|
+
enum BillboardOrigin
|
48
|
+
{
|
49
|
+
BBO_TOP_LEFT,
|
50
|
+
BBO_TOP_CENTER,
|
51
|
+
BBO_TOP_RIGHT,
|
52
|
+
BBO_CENTER_LEFT,
|
53
|
+
BBO_CENTER,
|
54
|
+
BBO_CENTER_RIGHT,
|
55
|
+
BBO_BOTTOM_LEFT,
|
56
|
+
BBO_BOTTOM_CENTER,
|
57
|
+
BBO_BOTTOM_RIGHT
|
58
|
+
};
|
59
|
+
/** The rotation type of billboard. */
|
60
|
+
enum BillboardRotationType
|
61
|
+
{
|
62
|
+
/// Rotate the billboard's vertices around their facing direction
|
63
|
+
BBR_VERTEX,
|
64
|
+
/// Rotate the billboard's texture coordinates
|
65
|
+
BBR_TEXCOORD
|
66
|
+
};
|
67
|
+
/** The type of billboard to use. */
|
68
|
+
enum BillboardType
|
69
|
+
{
|
70
|
+
/// Standard point billboard (default), always faces the camera completely and is always upright
|
71
|
+
BBT_POINT,
|
72
|
+
/// Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera
|
73
|
+
BBT_ORIENTED_COMMON,
|
74
|
+
/// Billboards are oriented around their own direction vector (their own Y axis) and only rotate around this to face the camera
|
75
|
+
BBT_ORIENTED_SELF,
|
76
|
+
/// Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor
|
77
|
+
BBT_PERPENDICULAR_COMMON,
|
78
|
+
/// Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor
|
79
|
+
BBT_PERPENDICULAR_SELF
|
80
|
+
};
|
81
|
+
|
82
|
+
/** A collection of billboards (faces which are always facing the given direction) with the same (default) dimensions, material
|
83
|
+
and which are fairly close proximity to each other.
|
84
|
+
@remarks
|
85
|
+
Billboards are rectangles made up of 2 tris which are always facing the given direction. They are typically used
|
86
|
+
for special effects like particles. This class collects together a set of billboards with the same (default) dimensions,
|
87
|
+
material and relative locality in order to process them more efficiently. The entire set of billboards will be
|
88
|
+
culled as a whole (by default, although this can be changed if you want a large set of billboards
|
89
|
+
which are spread out and you want them culled individually), individual Billboards have locations which are relative to the set (which itself derives it's
|
90
|
+
position from the SceneNode it is attached to since it is a MoveableObject), they will be rendered as a single rendering operation,
|
91
|
+
and some calculations will be sped up by the fact that they use the same dimensions so some workings can be reused.
|
92
|
+
@par
|
93
|
+
A BillboardSet can be created using the SceneManager::createBillboardSet method. They can also be used internally
|
94
|
+
by other classes to create effects.
|
95
|
+
@note
|
96
|
+
Billboard bounds are only automatically calculated when you create them.
|
97
|
+
If you modify the position of a billboard you may need to call
|
98
|
+
_updateBounds if the billboard moves outside the original bounds.
|
99
|
+
Similarly, the bounds do no shrink when you remove a billboard,
|
100
|
+
if you want them to call _updateBounds, but note this requires a
|
101
|
+
potentially expensive examination of every billboard in the set.
|
102
|
+
*/
|
103
|
+
class _OgreExport BillboardSet : public MovableObject, public Renderable
|
104
|
+
{
|
105
|
+
protected:
|
106
|
+
/** Private constructor (instances cannot be created directly).
|
107
|
+
*/
|
108
|
+
BillboardSet();
|
109
|
+
|
110
|
+
/// Bounds of all billboards in this set
|
111
|
+
AxisAlignedBox mAABB;
|
112
|
+
/// Bounding radius
|
113
|
+
Real mBoundingRadius;
|
114
|
+
|
115
|
+
/// Origin of each billboard
|
116
|
+
BillboardOrigin mOriginType;
|
117
|
+
/// Rotation type of each billboard
|
118
|
+
BillboardRotationType mRotationType;
|
119
|
+
|
120
|
+
/// Default width of each billboard
|
121
|
+
Real mDefaultWidth;
|
122
|
+
/// Default height of each billboard
|
123
|
+
Real mDefaultHeight;
|
124
|
+
|
125
|
+
/// Name of the material to use
|
126
|
+
String mMaterialName;
|
127
|
+
/// Pointer to the material to use
|
128
|
+
MaterialPtr mpMaterial;
|
129
|
+
|
130
|
+
/// True if no billboards in this set have been resized - greater efficiency.
|
131
|
+
bool mAllDefaultSize;
|
132
|
+
|
133
|
+
/// Flag indicating whether to autoextend pool
|
134
|
+
bool mAutoExtendPool;
|
135
|
+
|
136
|
+
/// Flag indicating whether the billboards has to be sorted
|
137
|
+
bool mSortingEnabled;
|
138
|
+
|
139
|
+
// Use 'true' billboard to cam position facing, rather than camera direcion
|
140
|
+
bool mAccurateFacing;
|
141
|
+
|
142
|
+
bool mAllDefaultRotation;
|
143
|
+
bool mWorldSpace;
|
144
|
+
|
145
|
+
typedef std::list<Billboard*> ActiveBillboardList;
|
146
|
+
typedef std::list<Billboard*> FreeBillboardList;
|
147
|
+
typedef std::vector<Billboard*> BillboardPool;
|
148
|
+
|
149
|
+
/** Active billboard list.
|
150
|
+
@remarks
|
151
|
+
This is a linked list of pointers to billboards in the billboard pool.
|
152
|
+
@par
|
153
|
+
This allows very fast instertions and deletions from anywhere in the list to activate / deactivate billboards
|
154
|
+
(required for particle systems etc) as well as resuse of Billboard instances in the pool
|
155
|
+
without construction & destruction which avoids memory thrashing.
|
156
|
+
*/
|
157
|
+
ActiveBillboardList mActiveBillboards;
|
158
|
+
|
159
|
+
/** Free billboard queue.
|
160
|
+
@remarks
|
161
|
+
This contains a list of the billboards free for use as new instances
|
162
|
+
as required by the set. Billboard instances are preconstructed up to the estimated size in the
|
163
|
+
mBillboardPool vector and are referenced on this deque at startup. As they get used this deque
|
164
|
+
reduces, as they get released back to to the set they get added back to the deque.
|
165
|
+
*/
|
166
|
+
FreeBillboardList mFreeBillboards;
|
167
|
+
|
168
|
+
/** Pool of billboard instances for use and reuse in the active billboard list.
|
169
|
+
@remarks
|
170
|
+
This vector will be preallocated with the estimated size of the set,and will extend as required.
|
171
|
+
*/
|
172
|
+
BillboardPool mBillboardPool;
|
173
|
+
|
174
|
+
/// The vertex position data for all billboards in this set.
|
175
|
+
VertexData* mVertexData;
|
176
|
+
/// Shortcut to main buffer (positions, colours, texture coords)
|
177
|
+
HardwareVertexBufferSharedPtr mMainBuf;
|
178
|
+
/// Locked pointer to buffer
|
179
|
+
float* mLockPtr;
|
180
|
+
/// Boundary offsets based on origin and camera orientation
|
181
|
+
/// Vector3 vLeftOff, vRightOff, vTopOff, vBottomOff;
|
182
|
+
/// Final vertex offsets, used where sizes all default to save calcs
|
183
|
+
Vector3 mVOffset[4];
|
184
|
+
/// Current camera
|
185
|
+
Camera* mCurrentCamera;
|
186
|
+
// Parametric offsets of origin
|
187
|
+
Real mLeftOff, mRightOff, mTopOff, mBottomOff;
|
188
|
+
// Camera axes in billboard space
|
189
|
+
Vector3 mCamX, mCamY;
|
190
|
+
// Camera direction in billboard space
|
191
|
+
Vector3 mCamDir;
|
192
|
+
// Camera orientation in billboard space
|
193
|
+
Quaternion mCamQ;
|
194
|
+
// Camera position in billboard space
|
195
|
+
Vector3 mCamPos;
|
196
|
+
|
197
|
+
/// The vertex index data for all billboards in this set (1 set only)
|
198
|
+
//unsigned short* mpIndexes;
|
199
|
+
IndexData* mIndexData;
|
200
|
+
|
201
|
+
/// Flag indicating whether each billboard should be culled separately (default: false)
|
202
|
+
bool mCullIndividual;
|
203
|
+
|
204
|
+
typedef std::vector< Ogre::FloatRect > TextureCoordSets;
|
205
|
+
TextureCoordSets mTextureCoords;
|
206
|
+
|
207
|
+
/// The type of billboard to render
|
208
|
+
BillboardType mBillboardType;
|
209
|
+
|
210
|
+
/// Common direction for billboards of type BBT_ORIENTED_COMMON and BBT_PERPENDICULAR_COMMON
|
211
|
+
Vector3 mCommonDirection;
|
212
|
+
/// Common up-vector for billboards of type BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON
|
213
|
+
Vector3 mCommonUpVector;
|
214
|
+
|
215
|
+
/// Internal method for culling individual billboards
|
216
|
+
inline bool billboardVisible(Camera* cam, const Billboard& bill);
|
217
|
+
|
218
|
+
// Number of visible billboards (will be == getNumBillboards if mCullIndividual == false)
|
219
|
+
unsigned short mNumVisibleBillboards;
|
220
|
+
|
221
|
+
/// Internal method for increasing pool size
|
222
|
+
virtual void increasePool(size_t size);
|
223
|
+
|
224
|
+
|
225
|
+
//-----------------------------------------------------------------------
|
226
|
+
// The internal methods which follow are here to allow maximum flexibility as to
|
227
|
+
// when various components of the calculation are done. Depending on whether the
|
228
|
+
// billboards are of fixed size and whether they are point or oriented type will
|
229
|
+
// determine how much calculation has to be done per-billboard. NOT a one-size fits all approach.
|
230
|
+
//-----------------------------------------------------------------------
|
231
|
+
/** Internal method for generating billboard corners.
|
232
|
+
@remarks
|
233
|
+
Optional parameter pBill is only present for type BBT_ORIENTED_SELF and BBT_PERPENDICULAR_SELF
|
234
|
+
*/
|
235
|
+
void genBillboardAxes(Vector3* pX, Vector3 *pY, const Billboard* pBill = 0);
|
236
|
+
|
237
|
+
/** Internal method, generates parametric offsets based on origin.
|
238
|
+
*/
|
239
|
+
void getParametricOffsets(Real& left, Real& right, Real& top, Real& bottom);
|
240
|
+
|
241
|
+
/** Internal method for generating vertex data.
|
242
|
+
@param offsets Array of 4 Vector3 offsets
|
243
|
+
@param bb Referenceto billboard
|
244
|
+
*/
|
245
|
+
void genVertices(const Vector3* const offsets, const Billboard& pBillboard);
|
246
|
+
|
247
|
+
/** Internal method generates vertex offsets.
|
248
|
+
@remarks
|
249
|
+
Takes in parametric offsets as generated from getParametericOffsets, width and height values
|
250
|
+
and billboard x and y axes as generated from genBillboardAxes.
|
251
|
+
Fills output array of 4 vectors with vector offsets
|
252
|
+
from origin for left-top, right-top, left-bottom, right-bottom corners.
|
253
|
+
*/
|
254
|
+
void genVertOffsets(Real inleft, Real inright, Real intop, Real inbottom,
|
255
|
+
Real width, Real height,
|
256
|
+
const Vector3& x, const Vector3& y, Vector3* pDestVec);
|
257
|
+
|
258
|
+
|
259
|
+
/** Sort by direction functor */
|
260
|
+
struct SortByDirectionFunctor
|
261
|
+
{
|
262
|
+
/// Direction to sort in
|
263
|
+
Vector3 sortDir;
|
264
|
+
|
265
|
+
SortByDirectionFunctor(const Vector3& dir);
|
266
|
+
float operator()(Billboard* bill) const;
|
267
|
+
};
|
268
|
+
|
269
|
+
/** Sort by distance functor */
|
270
|
+
struct SortByDistanceFunctor
|
271
|
+
{
|
272
|
+
/// Position to sort in
|
273
|
+
Vector3 sortPos;
|
274
|
+
|
275
|
+
SortByDistanceFunctor(const Vector3& pos);
|
276
|
+
float operator()(Billboard* bill) const;
|
277
|
+
};
|
278
|
+
|
279
|
+
static RadixSort<ActiveBillboardList, Billboard*, float> mRadixSorter;
|
280
|
+
|
281
|
+
/// Use point rendering?
|
282
|
+
bool mPointRendering;
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
private:
|
287
|
+
/// Flag indicating whether the HW buffers have been created.
|
288
|
+
bool mBuffersCreated;
|
289
|
+
/// The number of billboard in the pool.
|
290
|
+
size_t mPoolSize;
|
291
|
+
/// Is external billboard data in use?
|
292
|
+
bool mExternalData;
|
293
|
+
|
294
|
+
/** Internal method creates vertex and index buffers.
|
295
|
+
*/
|
296
|
+
void _createBuffers(void);
|
297
|
+
/** Internal method destroys vertex and index buffers.
|
298
|
+
*/
|
299
|
+
void _destroyBuffers(void);
|
300
|
+
|
301
|
+
public:
|
302
|
+
|
303
|
+
/** Usual constructor - this is called by the SceneManager.
|
304
|
+
@param
|
305
|
+
name The name to give the billboard set (must be unique)
|
306
|
+
@param
|
307
|
+
poolSize The initial size of the billboard pool. Estimate of the number of billboards
|
308
|
+
which will be required, and pass it using this parameter. The set will
|
309
|
+
preallocate this number to avoid memory fragmentation. The default behaviour
|
310
|
+
once this pool has run out is to double it.
|
311
|
+
@param
|
312
|
+
externalDataSource If true, the source of data for drawing the
|
313
|
+
billboards will not be the internal billboard list, but external
|
314
|
+
data. When driving thebillboard from external data, you must call
|
315
|
+
_notifyCurrentCamera to reorient the billboards, setPoolSize to set
|
316
|
+
the maximum billboards you want to use, beginBillboards to
|
317
|
+
start the update, and injectBillboard per billboard,
|
318
|
+
followed by endBillboards.
|
319
|
+
@see
|
320
|
+
BillboardSet::setAutoextend
|
321
|
+
*/
|
322
|
+
BillboardSet( const String& name, unsigned int poolSize = 20,
|
323
|
+
bool externalDataSource = false);
|
324
|
+
|
325
|
+
virtual ~BillboardSet();
|
326
|
+
|
327
|
+
/** Creates a new billboard and adds it to this set.
|
328
|
+
@remarks
|
329
|
+
Behaviour once the billboard pool has been exhausted depends on the
|
330
|
+
BillboardSet::setAutoextendPool option.
|
331
|
+
@param
|
332
|
+
position The position of the new billboard realtive to the certer of the set
|
333
|
+
@param
|
334
|
+
colour Optional base colour of the billboard.
|
335
|
+
@returns
|
336
|
+
On success, a pointer to a newly created Billboard is
|
337
|
+
returned.
|
338
|
+
@par
|
339
|
+
On failiure (i.e. no more space and can't autoextend),
|
340
|
+
<b>NULL</b> is returned.
|
341
|
+
@see
|
342
|
+
BillboardSet::setAutoextend
|
343
|
+
*/
|
344
|
+
Billboard* createBillboard(
|
345
|
+
const Vector3& position,
|
346
|
+
const ColourValue& colour = ColourValue::White );
|
347
|
+
|
348
|
+
/** Creates a new billboard and adds it to this set.
|
349
|
+
@remarks
|
350
|
+
Behaviour once the billboard pool has been exhausted depends on the
|
351
|
+
BillboardSet::setAutoextendPool option.
|
352
|
+
@param
|
353
|
+
x
|
354
|
+
@param
|
355
|
+
y
|
356
|
+
@param
|
357
|
+
z The position of the new billboard realtive to the certer of the set
|
358
|
+
@param
|
359
|
+
colour Optional base colour of the billboard.
|
360
|
+
@returns
|
361
|
+
On success, a pointer to a newly created Billboard is
|
362
|
+
returned.
|
363
|
+
@par
|
364
|
+
On failiure (i.e. no more space and can't autoextend),
|
365
|
+
<b>NULL</b> is returned.
|
366
|
+
@see
|
367
|
+
BillboardSet::setAutoextend
|
368
|
+
*/
|
369
|
+
Billboard* createBillboard(
|
370
|
+
Real x, Real y, Real z,
|
371
|
+
const ColourValue& colour = ColourValue::White );
|
372
|
+
|
373
|
+
/** Returns the number of active billboards which currently make up this set.
|
374
|
+
*/
|
375
|
+
virtual int getNumBillboards(void) const;
|
376
|
+
|
377
|
+
/** Tells the set whether to allow automatic extension of the pool of billboards.
|
378
|
+
@remarks
|
379
|
+
A BillboardSet stores a pool of pre-constructed billboards which are used as needed when
|
380
|
+
a new billboard is requested. This allows applications to create / remove billboards efficiently
|
381
|
+
without incurring construction / destruction costs (a must for sets with lots of billboards like
|
382
|
+
particle effects). This method allows you to configure the behaviour when a new billboard is requested
|
383
|
+
but the billboard pool has been exhausted.
|
384
|
+
@par
|
385
|
+
The default behaviour is to allow the pool to extend (typically this allocates double the current
|
386
|
+
pool of billboards when the pool is expended), equivalent to calling this method with
|
387
|
+
autoExtend = true. If you set the parameter to false however, any attempt to create a new billboard
|
388
|
+
when the pool has expired will simply fail silently, returning a null pointer.
|
389
|
+
@param autoextend true to double the pool every time it runs out, false to fail silently.
|
390
|
+
*/
|
391
|
+
virtual void setAutoextend(bool autoextend);
|
392
|
+
|
393
|
+
/** Returns true if the billboard pool automatically extends.
|
394
|
+
@see
|
395
|
+
BillboardSet::setAutoextend
|
396
|
+
*/
|
397
|
+
virtual bool getAutoextend(void) const;
|
398
|
+
|
399
|
+
/** Enables sorting for this BillboardSet. (default: off)
|
400
|
+
@param sortenable true to sort the billboards according to their distance to the camera
|
401
|
+
*/
|
402
|
+
virtual void setSortingEnabled(bool sortenable);
|
403
|
+
|
404
|
+
/** Returns true if sorting of billboards is enabled based on their distance from the camera
|
405
|
+
@see
|
406
|
+
BillboardSet::setSortingEnabled
|
407
|
+
*/
|
408
|
+
virtual bool getSortingEnabled(void) const;
|
409
|
+
|
410
|
+
/** Adjusts the size of the pool of billboards available in this set.
|
411
|
+
@remarks
|
412
|
+
See the BillboardSet::setAutoextend method for full details of the billboard pool. This method adjusts
|
413
|
+
the preallocated size of the pool. If you try to reduce the size of the pool, the set has the option
|
414
|
+
of ignoring you if too many billboards are already in use. Bear in mind that calling this method will
|
415
|
+
incur significant construction / destruction calls so should be avoided in time-critical code. The same
|
416
|
+
goes for auto-extension, try to avoid it by estimating the pool size correctly up-front.
|
417
|
+
@param
|
418
|
+
size The new size for the pool.
|
419
|
+
*/
|
420
|
+
virtual void setPoolSize(size_t size);
|
421
|
+
|
422
|
+
/** Returns the current size of the billboard pool.
|
423
|
+
@returns
|
424
|
+
The current size of the billboard pool.
|
425
|
+
@see
|
426
|
+
BillboardSet::setAutoextend
|
427
|
+
*/
|
428
|
+
virtual unsigned int getPoolSize(void) const;
|
429
|
+
|
430
|
+
|
431
|
+
/** Empties this set of all billboards.
|
432
|
+
*/
|
433
|
+
virtual void clear();
|
434
|
+
|
435
|
+
/** Returns a pointer to the billboard at the supplied index.
|
436
|
+
@note
|
437
|
+
This method requires linear time since the billboard list is a linked list.
|
438
|
+
@param
|
439
|
+
index The index of the billboard that is requested.
|
440
|
+
@returns
|
441
|
+
On success, a valid pointer to the requested billboard is
|
442
|
+
returned.
|
443
|
+
@par
|
444
|
+
On failiure, <b>NULL</b> is returned.
|
445
|
+
*/
|
446
|
+
virtual Billboard* getBillboard(unsigned int index) const;
|
447
|
+
|
448
|
+
/** Removes the billboard at the supplied index.
|
449
|
+
@note
|
450
|
+
This method requires linear time since the billboard list is a linked list.
|
451
|
+
*/
|
452
|
+
virtual void removeBillboard(unsigned int index);
|
453
|
+
|
454
|
+
/** Removes a billboard from the set.
|
455
|
+
@note
|
456
|
+
This version is more efficient than removing by index.
|
457
|
+
*/
|
458
|
+
virtual void removeBillboard(Billboard* pBill);
|
459
|
+
|
460
|
+
/** Sets the point which acts as the origin point for all billboards in this set.
|
461
|
+
@remarks
|
462
|
+
This setting controls the fine tuning of where a billboard appears in relation to it's
|
463
|
+
position. It could be that a billboard's position represents it's center (e.g. for fireballs),
|
464
|
+
it could mean the center of the bottom edge (e.g. a tree which is positioned on the ground),
|
465
|
+
the top-left corner (e.g. a cursor).
|
466
|
+
@par
|
467
|
+
The default setting is BBO_CENTER.
|
468
|
+
@param
|
469
|
+
origin A member of the BillboardOrigin enum specifying the origin for all the billboards in this set.
|
470
|
+
*/
|
471
|
+
virtual void setBillboardOrigin(BillboardOrigin origin);
|
472
|
+
|
473
|
+
/** Gets the point which acts as the origin point for all billboards in this set.
|
474
|
+
@returns
|
475
|
+
A member of the BillboardOrigin enum specifying the origin for all the billboards in this set.
|
476
|
+
*/
|
477
|
+
virtual BillboardOrigin getBillboardOrigin(void) const;
|
478
|
+
|
479
|
+
/** Sets billboard rotation type.
|
480
|
+
@remarks
|
481
|
+
This setting controls the billboard rotation type, you can deciding rotate the billboard's vertices
|
482
|
+
around their facing direction or rotate the billboard's texture coordinates.
|
483
|
+
@par
|
484
|
+
The default settings is BBR_TEXCOORD.
|
485
|
+
@param
|
486
|
+
rotationType A member of the BillboardRotationType enum specifying the rotation type for all the billboards in this set.
|
487
|
+
*/
|
488
|
+
virtual void setBillboardRotationType(BillboardRotationType rotationType);
|
489
|
+
|
490
|
+
/** Sets billboard rotation type.
|
491
|
+
@returns
|
492
|
+
A member of the BillboardRotationType enum specifying the rotation type for all the billboards in this set.
|
493
|
+
*/
|
494
|
+
virtual BillboardRotationType getBillboardRotationType(void) const;
|
495
|
+
|
496
|
+
/** Sets the default dimensions of the billboards in this set.
|
497
|
+
@remarks
|
498
|
+
All billboards in a set are created with these default dimensions. The set will render most efficiently if
|
499
|
+
all the billboards in the set are the default size. It is possible to alter the size of individual
|
500
|
+
billboards at the expense of extra calculation. See the Billboard class for more info.
|
501
|
+
@param width
|
502
|
+
The new default width for the billboards in this set.
|
503
|
+
@param height
|
504
|
+
The new default height for the billboards in this set.
|
505
|
+
*/
|
506
|
+
virtual void setDefaultDimensions(Real width, Real height);
|
507
|
+
|
508
|
+
/** See setDefaultDimensions - this sets 1 component individually. */
|
509
|
+
virtual void setDefaultWidth(Real width);
|
510
|
+
/** See setDefaultDimensions - this gets 1 component individually. */
|
511
|
+
virtual Real getDefaultWidth(void) const;
|
512
|
+
/** See setDefaultDimensions - this sets 1 component individually. */
|
513
|
+
virtual void setDefaultHeight(Real height);
|
514
|
+
/** See setDefaultDimensions - this gets 1 component individually. */
|
515
|
+
virtual Real getDefaultHeight(void) const;
|
516
|
+
|
517
|
+
/** Sets the name of the material to be used for this billboard set.
|
518
|
+
@param
|
519
|
+
name The new name of the material to use for this set.
|
520
|
+
*/
|
521
|
+
virtual void setMaterialName(const String& name);
|
522
|
+
|
523
|
+
/** Sets the name of the material to be used for this billboard set.
|
524
|
+
@returns The name of the material that is used for this set.
|
525
|
+
*/
|
526
|
+
virtual const String& getMaterialName(void) const;
|
527
|
+
|
528
|
+
/** Overridden from MovableObject
|
529
|
+
@see
|
530
|
+
MovableObject
|
531
|
+
*/
|
532
|
+
virtual void _notifyCurrentCamera(Camera* cam);
|
533
|
+
|
534
|
+
/** Begin injection of billboard data; applicable when
|
535
|
+
constructing the BillboardSet for external data use.
|
536
|
+
@param numBillboards If you know the number of billboards you will be
|
537
|
+
issuing, state it here to make the update more efficient.
|
538
|
+
*/
|
539
|
+
void beginBillboards(size_t numBillboards = 0);
|
540
|
+
/** Define a billboard. */
|
541
|
+
void injectBillboard(const Billboard& bb);
|
542
|
+
/** Finish defining billboards. */
|
543
|
+
void endBillboards(void);
|
544
|
+
/** Set the bounds of the BillboardSet.
|
545
|
+
@remarks
|
546
|
+
You may need to call this if you're injecting billboards manually,
|
547
|
+
and you're relying on the BillboardSet to determine culling.
|
548
|
+
*/
|
549
|
+
void setBounds(const AxisAlignedBox& box, Real radius);
|
550
|
+
|
551
|
+
|
552
|
+
/** Overridden from MovableObject
|
553
|
+
@see
|
554
|
+
MovableObject
|
555
|
+
*/
|
556
|
+
virtual const AxisAlignedBox& getBoundingBox(void) const;
|
557
|
+
|
558
|
+
/** Overridden from MovableObject
|
559
|
+
@see
|
560
|
+
MovableObject
|
561
|
+
*/
|
562
|
+
virtual Real getBoundingRadius(void) const;
|
563
|
+
/** Overridden from MovableObject
|
564
|
+
@see
|
565
|
+
MovableObject
|
566
|
+
*/
|
567
|
+
virtual void _updateRenderQueue(RenderQueue* queue);
|
568
|
+
|
569
|
+
/** Overridden from MovableObject
|
570
|
+
@see
|
571
|
+
MovableObject
|
572
|
+
*/
|
573
|
+
virtual const MaterialPtr& getMaterial(void) const;
|
574
|
+
|
575
|
+
/** Overridden from MovableObject
|
576
|
+
@see
|
577
|
+
MovableObject
|
578
|
+
*/
|
579
|
+
virtual void getRenderOperation(RenderOperation& op);
|
580
|
+
|
581
|
+
/** Overridden from MovableObject
|
582
|
+
@see
|
583
|
+
MovableObject
|
584
|
+
*/
|
585
|
+
virtual void getWorldTransforms(Matrix4* xform) const;
|
586
|
+
|
587
|
+
/** @copydoc Renderable::getWorldOrientation */
|
588
|
+
const Quaternion& getWorldOrientation(void) const;
|
589
|
+
/** @copydoc Renderable::getWorldPosition */
|
590
|
+
const Vector3& getWorldPosition(void) const;
|
591
|
+
/** Internal callback used by Billboards to notify their parent that they have been resized.
|
592
|
+
*/
|
593
|
+
virtual void _notifyBillboardResized(void);
|
594
|
+
|
595
|
+
/** Internal callback used by Billboards to notify their parent that they have been rotated..
|
596
|
+
*/
|
597
|
+
virtual void _notifyBillboardRotated(void);
|
598
|
+
|
599
|
+
/** Returns whether or not billbards in this are tested individually for culling. */
|
600
|
+
virtual bool getCullIndividually(void) const;
|
601
|
+
/** Sets whether culling tests billboards in this individually as well as in a group.
|
602
|
+
@remarks
|
603
|
+
Billboard sets are always culled as a whole group, based on a bounding box which
|
604
|
+
encloses all billboards in the set. For fairly localised sets, this is enough. However, you
|
605
|
+
can optionally tell the set to also cull individual billboards in the set, i.e. to test
|
606
|
+
each individual billboard before rendering. The default is not to do this.
|
607
|
+
@par
|
608
|
+
This is useful when you have a large, fairly distributed set of billboards, like maybe
|
609
|
+
trees on a landscape. You probably still want to group them into more than one
|
610
|
+
set (maybe one set per section of landscape), which will be culled coarsely, but you also
|
611
|
+
want to cull the billboards individually because they are spread out. Whilst you could have
|
612
|
+
lots of single-tree sets which are culled separately, this would be inefficient to render
|
613
|
+
because each tree would be issued as it's own rendering operation.
|
614
|
+
@par
|
615
|
+
By calling this method with a parameter of true, you can have large billboard sets which
|
616
|
+
are spaced out and so get the benefit of batch rendering and coarse culling, but also have
|
617
|
+
fine-grained culling so unnecessary rendering is avoided.
|
618
|
+
@param cullIndividual If true, each billboard is tested before being sent to the pipeline as well
|
619
|
+
as the whole set having to pass the coarse group bounding test.
|
620
|
+
*/
|
621
|
+
virtual void setCullIndividually(bool cullIndividual);
|
622
|
+
|
623
|
+
/** Sets the type of billboard to render.
|
624
|
+
@remarks
|
625
|
+
The default sort of billboard (BBT_POINT), always has both x and y axes parallel to
|
626
|
+
the camera's local axes. This is fine for 'point' style billboards (e.g. flares,
|
627
|
+
smoke, anything which is symmetrical about a central point) but does not look good for
|
628
|
+
billboards which have an orientation (e.g. an elongated raindrop). In this case, the
|
629
|
+
oriented billboards are more suitable (BBT_ORIENTED_COMMON or BBT_ORIENTED_SELF) since
|
630
|
+
they retain an independant Y axis and only the X axis is generated, perpendicular to both
|
631
|
+
the local Y and the camera Z.
|
632
|
+
@par
|
633
|
+
In some case you might want the billboard has fixed Z axis and doesn't need to face to
|
634
|
+
camera (e.g. an aureola around the player and parallel to the ground). You can use
|
635
|
+
BBT_PERPENDICULAR_SELF which the billboard plane perpendicular to the billboard own
|
636
|
+
direction. Or BBT_PERPENDICULAR_COMMON which the billboard plane perpendicular to the
|
637
|
+
common direction.
|
638
|
+
@note
|
639
|
+
BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON can't guarantee counterclockwise, you might
|
640
|
+
use double-side material (<b>cull_hardware node</b>) to ensure no billboard are culled.
|
641
|
+
@param bbt The type of billboard to render
|
642
|
+
*/
|
643
|
+
virtual void setBillboardType(BillboardType bbt);
|
644
|
+
|
645
|
+
/** Returns the billboard type in use. */
|
646
|
+
virtual BillboardType getBillboardType(void) const;
|
647
|
+
|
648
|
+
/** Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON or BBT_PERPENDICULAR_COMMON.
|
649
|
+
@remarks
|
650
|
+
Use BBT_ORIENTED_COMMON when you want oriented billboards but you know they are always going to
|
651
|
+
be oriented the same way (e.g. rain in calm weather). It is faster for the system to calculate
|
652
|
+
the billboard vertices if they have a common direction.
|
653
|
+
@par
|
654
|
+
The common direction also use in BBT_PERPENDICULAR_COMMON, in this case the common direction
|
655
|
+
treat as Z axis, and an additional common up-vector was use to determine billboard X and Y
|
656
|
+
axis.
|
657
|
+
@see setCommonUpVector
|
658
|
+
@param vec The direction for all billboards.
|
659
|
+
@note
|
660
|
+
The direction are use as is, never normalised in internal, user are supposed to normalise it himself.
|
661
|
+
*/
|
662
|
+
virtual void setCommonDirection(const Vector3& vec);
|
663
|
+
|
664
|
+
/** Gets the common direction for all billboards (BBT_ORIENTED_COMMON) */
|
665
|
+
virtual const Vector3& getCommonDirection(void) const;
|
666
|
+
|
667
|
+
/** Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF or BBT_PERPENDICULAR_COMMON.
|
668
|
+
@remarks
|
669
|
+
Use BBT_PERPENDICULAR_SELF or BBT_PERPENDICULAR_COMMON when you want oriented billboards
|
670
|
+
perpendicular to specify direction vector (or, Z axis), and doesn't face to camera.
|
671
|
+
In this case, we need an additional up-vector to determine the billboard X and Y axis.
|
672
|
+
The generated billboard plane and X-axis guarantee perpendicular to specify direction.
|
673
|
+
@see setCommonDirection
|
674
|
+
@par
|
675
|
+
The specify direction is billboard own direction when billboard type is BBT_PERPENDICULAR_SELF,
|
676
|
+
and it's shared common direction when billboard type is BBT_PERPENDICULAR_COMMON.
|
677
|
+
@param vec The up-vector for all billboards.
|
678
|
+
@note
|
679
|
+
The up-vector are use as is, never normalised in internal, user are supposed to normalise it himself.
|
680
|
+
*/
|
681
|
+
virtual void setCommonUpVector(const Vector3& vec);
|
682
|
+
|
683
|
+
/** Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON) */
|
684
|
+
virtual const Vector3& getCommonUpVector(void) const;
|
685
|
+
|
686
|
+
/** Sets whether or not billboards should use an 'accurate' facing model
|
687
|
+
based on the vector from each billboard to the camera, rather than
|
688
|
+
an optimised version using just the camera direction.
|
689
|
+
@remarks
|
690
|
+
By default, the axes for all billboards are calulated using the
|
691
|
+
camera's view direction, not the vector from the camera position to
|
692
|
+
the billboard. The former is faster, and most of the time the difference
|
693
|
+
is not noticeable. However for some purposes (e.g. very large, static
|
694
|
+
billboards) the changing billboard orientation when rotating the camera
|
695
|
+
can be off putting, therefore you can enable this option to use a
|
696
|
+
more expensive, but more accurate version.
|
697
|
+
@param acc True to use the slower but more accurate model. Default is false.
|
698
|
+
*/
|
699
|
+
virtual void setUseAccurateFacing(bool acc) { mAccurateFacing = acc; }
|
700
|
+
/** Gets whether or not billboards use an 'accurate' facing model
|
701
|
+
based on the vector from each billboard to the camera, rather than
|
702
|
+
an optimised version using just the camera direction.
|
703
|
+
*/
|
704
|
+
virtual bool getUseAccurateFacing(void) const { return mAccurateFacing; }
|
705
|
+
|
706
|
+
/** Overridden from MovableObject */
|
707
|
+
virtual const String& getMovableType(void) const;
|
708
|
+
|
709
|
+
/** Overridden, see Renderable */
|
710
|
+
Real getSquaredViewDepth(const Camera* cam) const;
|
711
|
+
|
712
|
+
/** Update the bounds of the billboardset */
|
713
|
+
virtual void _updateBounds(void);
|
714
|
+
/** @copydoc Renderable::getLights */
|
715
|
+
const LightList& getLights(void) const;
|
716
|
+
|
717
|
+
/** Sort the billboard set. Only called when enabled via setSortingEnabled */
|
718
|
+
virtual void _sortBillboards( Camera* cam);
|
719
|
+
|
720
|
+
/** Gets the sort mode of this billboard set */
|
721
|
+
virtual SortMode _getSortMode(void) const;
|
722
|
+
|
723
|
+
/** Sets whether billboards should be treated as being in world space.
|
724
|
+
@remarks
|
725
|
+
This is most useful when you are driving the billboard set from
|
726
|
+
an external data source.
|
727
|
+
*/
|
728
|
+
virtual void setBillboardsInWorldSpace(bool ws) { mWorldSpace = ws; }
|
729
|
+
|
730
|
+
/** BillboardSet can use custom texture coordinates for various billboards.
|
731
|
+
This is useful for selecting one of many particle images out of a tiled
|
732
|
+
texture sheet, or doing flipbook animation within a single texture.
|
733
|
+
@par
|
734
|
+
The generic functionality is setTextureCoords(), which will copy the
|
735
|
+
texture coordinate rects you supply into internal storage for the
|
736
|
+
billboard set. If your texture sheet is a square grid, you can also
|
737
|
+
use setTextureStacksAndSlices() for more convenience, which will construct
|
738
|
+
the set of texture coordinates for you.
|
739
|
+
@par
|
740
|
+
When a Billboard is created, it can be assigned a texture coordinate
|
741
|
+
set from within the sets you specify (that set can also be re-specified
|
742
|
+
later). When drawn, the billboard will use those texture coordinates,
|
743
|
+
rather than the full 0-1 range.
|
744
|
+
@par
|
745
|
+
@param coords is a vector of texture coordinates (in UV space) to choose
|
746
|
+
from for each billboard created in the set.
|
747
|
+
@param numCoords is how many such coordinate rectangles there are to
|
748
|
+
choose from.
|
749
|
+
@remarks
|
750
|
+
Set 'coords' to 0 and/or 'numCoords' to 0 to reset the texture coord
|
751
|
+
rects to the initial set of a single rectangle spanning 0 through 1 in
|
752
|
+
both U and V (i e, the entire texture).
|
753
|
+
@see
|
754
|
+
BillboardSet::setTextureStacksAndSlices()
|
755
|
+
Billboard::setTexcoordIndex()
|
756
|
+
*/
|
757
|
+
virtual void setTextureCoords( Ogre::FloatRect const * coords, uint16 numCoords );
|
758
|
+
|
759
|
+
/** setTextureStacksAndSlices() will generate texture coordinate rects as if the
|
760
|
+
texture for the billboard set contained 'stacks' rows of 'slices'
|
761
|
+
images each, all equal size. Thus, if the texture size is 512x512
|
762
|
+
and 'stacks' is 4 and 'slices' is 8, each sub-rectangle of the texture
|
763
|
+
would be 128 texels tall and 64 texels wide.
|
764
|
+
@remarks
|
765
|
+
This function is short-hand for creating a regular set and calling
|
766
|
+
setTextureCoords() yourself. The numbering used for Billboard::setTexcoordIndex()
|
767
|
+
counts first across, then down, so top-left is 0, the one to the right
|
768
|
+
of that is 1, and the lower-right is stacks*slices-1.
|
769
|
+
@see
|
770
|
+
BillboardSet::setTextureCoords()
|
771
|
+
*/
|
772
|
+
virtual void setTextureStacksAndSlices( uchar stacks, uchar slices );
|
773
|
+
|
774
|
+
/** getTextureCoords() returns the current texture coordinate rects in
|
775
|
+
effect. By default, there is only one texture coordinate rect in the
|
776
|
+
set, spanning the entire texture from 0 through 1 in each direction.
|
777
|
+
@see
|
778
|
+
BillboardSet::setTextureCoords()
|
779
|
+
*/
|
780
|
+
virtual Ogre::FloatRect const * getTextureCoords( uint16 * oNumCoords );
|
781
|
+
|
782
|
+
/** Set whether or not the BillboardSet will use point rendering
|
783
|
+
rather than manually generated quads.
|
784
|
+
@remarks
|
785
|
+
By default a billboardset is rendered by generating geometry for a
|
786
|
+
textured quad in memory, taking into account the size and
|
787
|
+
orientation settings, and uploading it to the video card.
|
788
|
+
The alternative is to use hardware point rendering, which means that
|
789
|
+
only one position needs to be sent per billboard rather than 4 and
|
790
|
+
the hardware sorts out how this is rendered based on the render
|
791
|
+
state.
|
792
|
+
@par
|
793
|
+
Using point rendering is faster than generating quads manually, but
|
794
|
+
is more restrictive. The following restrictions apply:
|
795
|
+
\li Only the BBT_POINT type is supported
|
796
|
+
\li Size and appearance of each billboard is controlled by the
|
797
|
+
material (Pass::setPointSize, Pass::setPointSizeAttenuation,
|
798
|
+
Pass::setPointSpritesEnabled)
|
799
|
+
\li Per-billboard size is not supported (stems from the above)
|
800
|
+
\li Per-billboard rotation is not supported, this can only be
|
801
|
+
controlled through texture unit rotation
|
802
|
+
\li Only BBO_CENTER origin is supported
|
803
|
+
\li Per-billboard texture coordinates are not supported
|
804
|
+
|
805
|
+
@par
|
806
|
+
You will almost certainly want to enable in your material pass
|
807
|
+
both point attenuation and point sprites if you use this option.
|
808
|
+
@param enabled True to enable point rendering, false otherwise
|
809
|
+
*/
|
810
|
+
virtual void setPointRenderingEnabled(bool enabled);
|
811
|
+
|
812
|
+
/** Returns whether point rendering is enabled. */
|
813
|
+
virtual bool isPointRenderingEnabled(void) const
|
814
|
+
{ return mPointRendering; }
|
815
|
+
|
816
|
+
/// Override to return specific type flag
|
817
|
+
uint32 getTypeFlags(void) const;
|
818
|
+
|
819
|
+
};
|
820
|
+
|
821
|
+
/** Factory object for creating BillboardSet instances */
|
822
|
+
class _OgreExport BillboardSetFactory : public MovableObjectFactory
|
823
|
+
{
|
824
|
+
protected:
|
825
|
+
MovableObject* createInstanceImpl( const String& name, const NameValuePairList* params);
|
826
|
+
public:
|
827
|
+
BillboardSetFactory() {}
|
828
|
+
~BillboardSetFactory() {}
|
829
|
+
|
830
|
+
static String FACTORY_TYPE_NAME;
|
831
|
+
|
832
|
+
const String& getType(void) const;
|
833
|
+
void destroyInstance( MovableObject* obj);
|
834
|
+
|
835
|
+
};
|
836
|
+
|
837
|
+
|
838
|
+
}
|
839
|
+
|
840
|
+
|
841
|
+
#endif
|