ruby-ogre 0.0.5-x86-linux → 0.1.0-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +27 -17
- data/Rakefile +80 -248
- data/lib/{version.rb → ruby-ogre/version.rb} +1 -1
- data/ruby-ogre-push.gemspec +30 -0
- metadata +23 -1623
- data/INSTALL.md +0 -24
- data/bindings/ogre/interface/AnyVALUE.h +0 -21
- data/bindings/ogre/interface/GLX/OgreConfigDialogImp.i +0 -8
- data/bindings/ogre/interface/GLX/OgreErrorDialogImp.i +0 -8
- data/bindings/ogre/interface/GLX/OgreTimerImp.i +0 -8
- data/bindings/ogre/interface/Ogre.i +0 -8
- data/bindings/ogre/interface/OgreAlignedAllocator.i +0 -10
- data/bindings/ogre/interface/OgreAnimable.i +0 -6
- data/bindings/ogre/interface/OgreAnimation.i +0 -8
- data/bindings/ogre/interface/OgreAnimationBlender.i +0 -8
- data/bindings/ogre/interface/OgreAnimationState.i +0 -31
- data/bindings/ogre/interface/OgreAnimationTrack.i +0 -6
- data/bindings/ogre/interface/OgreAny.i +0 -381
- data/bindings/ogre/interface/OgreArchive.i +0 -6
- data/bindings/ogre/interface/OgreArchiveFactory.i +0 -10
- data/bindings/ogre/interface/OgreArchiveManager.i +0 -8
- data/bindings/ogre/interface/OgreAtomicWrappers.i +0 -8
- data/bindings/ogre/interface/OgreAutoParamDataSource.i +0 -8
- data/bindings/ogre/interface/OgreAxisAlignedBox.i +0 -6
- data/bindings/ogre/interface/OgreBillboard.i +0 -8
- data/bindings/ogre/interface/OgreBillboardChain.i +0 -8
- data/bindings/ogre/interface/OgreBillboardParticleRenderer.i +0 -8
- data/bindings/ogre/interface/OgreBillboardSet.i +0 -8
- data/bindings/ogre/interface/OgreBitwise.i +0 -10
- data/bindings/ogre/interface/OgreBlendMode.i +0 -6
- data/bindings/ogre/interface/OgreBone.i +0 -8
- data/bindings/ogre/interface/OgreBorderPanelOverlayElement.i +0 -14
- data/bindings/ogre/interface/OgreBuildSettings.i +0 -8
- data/bindings/ogre/interface/OgreCamera.i +0 -6
- data/bindings/ogre/interface/OgreCodec.i +0 -8
- data/bindings/ogre/interface/OgreColourValue.i +0 -6
- data/bindings/ogre/interface/OgreCommon.i +0 -12
- data/bindings/ogre/interface/OgreCompositionPass.i +0 -8
- data/bindings/ogre/interface/OgreCompositionTargetPass.i +0 -8
- data/bindings/ogre/interface/OgreCompositionTechnique.i +0 -13
- data/bindings/ogre/interface/OgreCompositor.i +0 -8
- data/bindings/ogre/interface/OgreCompositorChain.i +0 -8
- data/bindings/ogre/interface/OgreCompositorInstance.i +0 -8
- data/bindings/ogre/interface/OgreCompositorLogic.i +0 -8
- data/bindings/ogre/interface/OgreCompositorManager.i +0 -8
- data/bindings/ogre/interface/OgreConfig.i +0 -8
- data/bindings/ogre/interface/OgreConfigDialog.i +0 -8
- data/bindings/ogre/interface/OgreConfigFile.i +0 -88
- data/bindings/ogre/interface/OgreConfigOptionMap.i +0 -6
- data/bindings/ogre/interface/OgreController.i +0 -8
- data/bindings/ogre/interface/OgreControllerManager.i +0 -8
- data/bindings/ogre/interface/OgreConvexBody.i +0 -8
- data/bindings/ogre/interface/OgreCustomCompositionPass.i +0 -8
- data/bindings/ogre/interface/OgreDDSCodec.i +0 -8
- data/bindings/ogre/interface/OgreDataStream.i +0 -6
- data/bindings/ogre/interface/OgreDefaultHardwareBufferManager.i +0 -8
- data/bindings/ogre/interface/OgreDeflate.i +0 -8
- data/bindings/ogre/interface/OgreDepthBuffer.i +0 -8
- data/bindings/ogre/interface/OgreDistanceLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgreDualQuaternion.i +0 -8
- data/bindings/ogre/interface/OgreDynLib.i +0 -8
- data/bindings/ogre/interface/OgreDynLibManager.i +0 -8
- data/bindings/ogre/interface/OgreEdgeListBuilder.i +0 -8
- data/bindings/ogre/interface/OgreEntity.i +0 -6
- data/bindings/ogre/interface/OgreErrorDialog.i +0 -8
- data/bindings/ogre/interface/OgreException.i +0 -8
- data/bindings/ogre/interface/OgreExternalTextureSource.i +0 -8
- data/bindings/ogre/interface/OgreExternalTextureSourceManager.i +0 -8
- data/bindings/ogre/interface/OgreFactoryObj.i +0 -8
- data/bindings/ogre/interface/OgreFileSystem.i +0 -8
- data/bindings/ogre/interface/OgreFont.i +0 -8
- data/bindings/ogre/interface/OgreFontManager.i +0 -8
- data/bindings/ogre/interface/OgreFrameListener.i +0 -9
- data/bindings/ogre/interface/OgreFreeImageCodec.i +0 -8
- data/bindings/ogre/interface/OgreFrustum.i +0 -6
- data/bindings/ogre/interface/OgreGpuProgram.i +0 -6
- data/bindings/ogre/interface/OgreGpuProgramManager.i +0 -8
- data/bindings/ogre/interface/OgreGpuProgramParams.i +0 -13
- data/bindings/ogre/interface/OgreGpuProgramUsage.i +0 -8
- data/bindings/ogre/interface/OgreHardwareBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareBufferManager.i +0 -8
- data/bindings/ogre/interface/OgreHardwareIndexBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareOcclusionQuery.i +0 -8
- data/bindings/ogre/interface/OgreHardwarePixelBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareVertexBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHeaderPrefix.i +0 -8
- data/bindings/ogre/interface/OgreHeaderSuffix.i +0 -8
- data/bindings/ogre/interface/OgreHighLevelGpuProgram.i +0 -8
- data/bindings/ogre/interface/OgreHighLevelGpuProgramManager.i +0 -8
- data/bindings/ogre/interface/OgreImage.i +0 -6
- data/bindings/ogre/interface/OgreImageCodec.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatch.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchHW.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchHW_VTF.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchShader.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchVTF.i +0 -8
- data/bindings/ogre/interface/OgreInstanceManager.i +0 -8
- data/bindings/ogre/interface/OgreInstancedEntity.i +0 -8
- data/bindings/ogre/interface/OgreInstancedGeometry.i +0 -9
- data/bindings/ogre/interface/OgreIteratorRange.i +0 -8
- data/bindings/ogre/interface/OgreIteratorWrapper.i +0 -6
- data/bindings/ogre/interface/OgreIteratorWrappers.i +0 -8
- data/bindings/ogre/interface/OgreKeyFrame.i +0 -13
- data/bindings/ogre/interface/OgreLight.i +0 -6
- data/bindings/ogre/interface/OgreLodListener.i +0 -8
- data/bindings/ogre/interface/OgreLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgreLodStrategyManager.i +0 -10
- data/bindings/ogre/interface/OgreLog.i +0 -11
- data/bindings/ogre/interface/OgreLogManager.i +0 -8
- data/bindings/ogre/interface/OgreManualObject.i +0 -8
- data/bindings/ogre/interface/OgreMaterial.i +0 -17
- data/bindings/ogre/interface/OgreMaterialManager.i +0 -6
- data/bindings/ogre/interface/OgreMaterialSerializer.i +0 -8
- data/bindings/ogre/interface/OgreMath.i +0 -5
- data/bindings/ogre/interface/OgreMatrix3.i +0 -8
- data/bindings/ogre/interface/OgreMatrix4.i +0 -6
- data/bindings/ogre/interface/OgreMemoryAllocatedObject.i +0 -8
- data/bindings/ogre/interface/OgreMemoryAllocatorConfig.i +0 -7
- data/bindings/ogre/interface/OgreMemoryNedAlloc.i +0 -8
- data/bindings/ogre/interface/OgreMemoryNedPooling.i +0 -6
- data/bindings/ogre/interface/OgreMemorySTLAllocator.i +0 -5
- data/bindings/ogre/interface/OgreMemoryStdAlloc.i +0 -8
- data/bindings/ogre/interface/OgreMemoryTracker.i +0 -8
- data/bindings/ogre/interface/OgreMesh.i +0 -11
- data/bindings/ogre/interface/OgreMeshFileFormat.i +0 -8
- data/bindings/ogre/interface/OgreMeshManager.i +0 -6
- data/bindings/ogre/interface/OgreMeshSerializer.i +0 -8
- data/bindings/ogre/interface/OgreMeshSerializerImpl.i +0 -8
- data/bindings/ogre/interface/OgreMovableObject.i +0 -12
- data/bindings/ogre/interface/OgreMovablePlane.i +0 -8
- data/bindings/ogre/interface/OgreNode.i +0 -8
- data/bindings/ogre/interface/OgreNumerics.i +0 -8
- data/bindings/ogre/interface/OgreOptimisedUtil.i +0 -8
- data/bindings/ogre/interface/OgreOverlay.i +0 -6
- data/bindings/ogre/interface/OgreOverlayContainer.i +0 -37
- data/bindings/ogre/interface/OgreOverlayElement.i +0 -6
- data/bindings/ogre/interface/OgreOverlayElementCommands.i +0 -8
- data/bindings/ogre/interface/OgreOverlayElementFactory.i +0 -8
- data/bindings/ogre/interface/OgreOverlayManager.i +0 -20
- data/bindings/ogre/interface/OgrePanelOverlayElement.i +0 -14
- data/bindings/ogre/interface/OgreParticle.i +0 -8
- data/bindings/ogre/interface/OgreParticleAffector.i +0 -8
- data/bindings/ogre/interface/OgreParticleAffectorFactory.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitter.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitterCommands.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitterFactory.i +0 -8
- data/bindings/ogre/interface/OgreParticleIterator.i +0 -8
- data/bindings/ogre/interface/OgreParticleScriptCompiler.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystem.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystemManager.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystemRenderer.i +0 -10
- data/bindings/ogre/interface/OgrePass.i +0 -6
- data/bindings/ogre/interface/OgrePatchMesh.i +0 -6
- data/bindings/ogre/interface/OgrePatchSurface.i +0 -6
- data/bindings/ogre/interface/OgrePixelCountLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgrePixelFormat.i +0 -6
- data/bindings/ogre/interface/OgrePlane.i +0 -6
- data/bindings/ogre/interface/OgrePlaneBoundedVolume.i +0 -6
- data/bindings/ogre/interface/OgrePlatform.i +0 -6
- data/bindings/ogre/interface/OgrePlatformInformation.i +0 -8
- data/bindings/ogre/interface/OgrePlugin.i +0 -8
- data/bindings/ogre/interface/OgrePolygon.i +0 -8
- data/bindings/ogre/interface/OgrePose.i +0 -6
- data/bindings/ogre/interface/OgrePredefinedControllers.i +0 -8
- data/bindings/ogre/interface/OgrePrefabFactory.i +0 -8
- data/bindings/ogre/interface/OgrePrerequisites.i +0 -11
- data/bindings/ogre/interface/OgreProfiler.i +0 -8
- data/bindings/ogre/interface/OgreProgressiveMesh.i +0 -8
- data/bindings/ogre/interface/OgreQuaternion.i +0 -6
- data/bindings/ogre/interface/OgreRadixSort.i +0 -8
- data/bindings/ogre/interface/OgreRay.i +0 -8
- data/bindings/ogre/interface/OgreRectangle.i +0 -6
- data/bindings/ogre/interface/OgreRectangle2D.i +0 -6
- data/bindings/ogre/interface/OgreRenderObjectListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderOperation.i +0 -8
- data/bindings/ogre/interface/OgreRenderQueue.i +0 -6
- data/bindings/ogre/interface/OgreRenderQueueInvocation.i +0 -8
- data/bindings/ogre/interface/OgreRenderQueueListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderQueueSortingGrouping.i +0 -11
- data/bindings/ogre/interface/OgreRenderSystem.i +0 -23
- data/bindings/ogre/interface/OgreRenderSystemCapabilities.i +0 -6
- data/bindings/ogre/interface/OgreRenderSystemCapabilitiesManager.i +0 -8
- data/bindings/ogre/interface/OgreRenderSystemCapabilitiesSerializer.i +0 -8
- data/bindings/ogre/interface/OgreRenderTarget.i +0 -6
- data/bindings/ogre/interface/OgreRenderTargetListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderTexture.i +0 -8
- data/bindings/ogre/interface/OgreRenderToVertexBuffer.i +0 -8
- data/bindings/ogre/interface/OgreRenderWindow.i +0 -6
- data/bindings/ogre/interface/OgreRenderable.i +0 -6
- data/bindings/ogre/interface/OgreResource.i +0 -9
- data/bindings/ogre/interface/OgreResourceBackgroundQueue.i +0 -8
- data/bindings/ogre/interface/OgreResourceGroupManager.i +0 -20
- data/bindings/ogre/interface/OgreResourceManager.i +0 -30
- data/bindings/ogre/interface/OgreRibbonTrail.i +0 -17
- data/bindings/ogre/interface/OgreRoot.i +0 -44
- data/bindings/ogre/interface/OgreRotationalSpline.i +0 -8
- data/bindings/ogre/interface/OgreSceneManager.i +0 -59
- data/bindings/ogre/interface/OgreSceneManagerEnumerator.i +0 -11
- data/bindings/ogre/interface/OgreSceneNode.i +0 -9
- data/bindings/ogre/interface/OgreSceneQuery.i +0 -6
- data/bindings/ogre/interface/OgreScriptCompiler.i +0 -11
- data/bindings/ogre/interface/OgreScriptLexer.i +0 -8
- data/bindings/ogre/interface/OgreScriptLoader.i +0 -8
- data/bindings/ogre/interface/OgreScriptParser.i +0 -8
- data/bindings/ogre/interface/OgreScriptTranslator.i +0 -8
- data/bindings/ogre/interface/OgreSearchOps.i +0 -8
- data/bindings/ogre/interface/OgreSerializer.i +0 -6
- data/bindings/ogre/interface/OgreShadowCameraSetup.i +0 -6
- data/bindings/ogre/interface/OgreShadowCameraSetupFocused.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupLiSPSM.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupPSSM.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupPlaneOptimal.i +0 -8
- data/bindings/ogre/interface/OgreShadowCaster.i +0 -8
- data/bindings/ogre/interface/OgreShadowTextureManager.i +0 -6
- data/bindings/ogre/interface/OgreShadowVolumeExtrudeProgram.i +0 -8
- data/bindings/ogre/interface/OgreSharedPtr.i +0 -6
- data/bindings/ogre/interface/OgreSimpleRenderable.i +0 -6
- data/bindings/ogre/interface/OgreSimpleSpline.i +0 -8
- data/bindings/ogre/interface/OgreSingleton.i +0 -8
- data/bindings/ogre/interface/OgreSkeleton.i +0 -6
- data/bindings/ogre/interface/OgreSkeletonFileFormat.i +0 -8
- data/bindings/ogre/interface/OgreSkeletonInstance.i +0 -6
- data/bindings/ogre/interface/OgreSkeletonManager.i +0 -8
- data/bindings/ogre/interface/OgreSkeletonSerializer.i +0 -8
- data/bindings/ogre/interface/OgreSmallVector.i +0 -8
- data/bindings/ogre/interface/OgreSphere.i +0 -8
- data/bindings/ogre/interface/OgreSpotShadowFadePng.i +0 -8
- data/bindings/ogre/interface/OgreStableHeaders.i +0 -8
- data/bindings/ogre/interface/OgreStaticFaceGroup.i +0 -8
- data/bindings/ogre/interface/OgreStaticGeometry.i +0 -13
- data/bindings/ogre/interface/OgreStaticPluginLoader.i +0 -8
- data/bindings/ogre/interface/OgreStdHeaders.i +0 -8
- data/bindings/ogre/interface/OgreStreamSerialiser.i +0 -8
- data/bindings/ogre/interface/OgreString.i +0 -6
- data/bindings/ogre/interface/OgreStringConverter.i +0 -8
- data/bindings/ogre/interface/OgreStringInterface.i +0 -8
- data/bindings/ogre/interface/OgreStringVector.i +0 -22
- data/bindings/ogre/interface/OgreSubEntity.i +0 -8
- data/bindings/ogre/interface/OgreSubMesh.i +0 -8
- data/bindings/ogre/interface/OgreTagPoint.i +0 -8
- data/bindings/ogre/interface/OgreTangentSpaceCalc.i +0 -8
- data/bindings/ogre/interface/OgreTechnique.i +0 -18
- data/bindings/ogre/interface/OgreTextAreaOverlayElement.i +0 -8
- data/bindings/ogre/interface/OgreTexture.i +0 -6
- data/bindings/ogre/interface/OgreTextureManager.i +0 -6
- data/bindings/ogre/interface/OgreTextureUnitState.i +0 -6
- data/bindings/ogre/interface/OgreTimer.i +0 -8
- data/bindings/ogre/interface/OgreUTFString.i +0 -26
- data/bindings/ogre/interface/OgreUnifiedHighLevelGpuProgram.i +0 -10
- data/bindings/ogre/interface/OgreUserObjectBindings.i +0 -8
- data/bindings/ogre/interface/OgreVector2.i +0 -8
- data/bindings/ogre/interface/OgreVector3.i +0 -9
- data/bindings/ogre/interface/OgreVector4.i +0 -8
- data/bindings/ogre/interface/OgreVertexBoneAssignment.i +0 -6
- data/bindings/ogre/interface/OgreVertexIndexData.i +0 -8
- data/bindings/ogre/interface/OgreViewport.i +0 -6
- data/bindings/ogre/interface/OgreWindowEventUtilities.i +0 -6
- data/bindings/ogre/interface/OgreWireBoundingBox.i +0 -8
- data/bindings/ogre/interface/OgreWorkQueue.i +0 -8
- data/bindings/ogre/interface/OgreZip.i +0 -12
- data/bindings/ogre/interface/Paging/OgreGrid2DPageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgreGrid3DPageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePage.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageConnection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContent.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentCollection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentCollectionFactory.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentFactory.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageFileFormats.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageManager.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagedWorld.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagedWorldSection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePaging.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagingPrerequisites.i +0 -8
- data/bindings/ogre/interface/Paging/OgreSimplePageContentCollection.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreRTShaderSystem.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExDualQuaternionSkinning.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinning.i +0 -10
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExIntegratedPSSM3.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLayeredBlending.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLinearSkinning.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExNormalMapLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExPerPixelLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExTextureAtlasSampler.i +0 -10
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPColour.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPFog.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderState.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderStateBuilder.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTexturing.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTransform.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunction.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunctionAtom.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramWriter.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGenerator.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderMaterialSerializerListener.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderParameter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderPrerequisites.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgram.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramManager.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramSet.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriterManager.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderRenderState.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderScriptTranslator.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderSubRenderState.i +0 -8
- data/bindings/ogre/interface/Rakefile +0 -22
- data/bindings/ogre/interface/Terrain/OgreTerrain.i +0 -14
- data/bindings/ogre/interface/Terrain/OgreTerrainGroup.i +0 -79
- data/bindings/ogre/interface/Terrain/OgreTerrainLayerBlendMap.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGenerator.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGeneratorA.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPagedWorldSection.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPaging.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPrerequisites.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainQuadTreeNode.i +0 -8
- data/bindings/ogre/interface/Threading/OgreDefaultWorkQueue.i +0 -8
- data/bindings/ogre/interface/Threading/OgreDefaultWorkQueueStandard.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadDefines.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadDefinesNone.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadHeaders.i +0 -8
- data/bindings/ogre/interface/changeFileName +0 -6
- data/bindings/ogre/interface/ogre.i +0 -6
- data/bindings/ogre/interface/ogre_all.i +0 -363
- data/bindings/ogre/interface/ogre_wrap.cpp +0 -552973
- data/bindings/ogre/interface/ogre_wrap.h +0 -79
- data/bindings/ogre/interface/ogre_wrap.o +0 -0
- data/bindings/ogrebites/interface/Rakefile +0 -22
- data/bindings/ogrebites/interface/SdkCameraMan.i +0 -6
- data/bindings/ogrebites/interface/SdkTrays.i +0 -60
- data/bindings/ogrebites/interface/ogrebites.i +0 -26
- data/bindings/ogrebites/interface/ogrebites_wrap.cpp +0 -21112
- data/bindings/ogrebites/interface/ogrebites_wrap.h +0 -34
- data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
- data/bindings/ois/interface/OIS_Effect.i +0 -8
- data/bindings/ois/interface/OIS_Event.i +0 -8
- data/bindings/ois/interface/OIS_Exception.i +0 -8
- data/bindings/ois/interface/OIS_FactoryCreator.i +0 -8
- data/bindings/ois/interface/OIS_ForceFeedback.i +0 -8
- data/bindings/ois/interface/OIS_InputManager.i +0 -20
- data/bindings/ois/interface/OIS_Interface.i +0 -8
- data/bindings/ois/interface/OIS_JoyStick.i +0 -8
- data/bindings/ois/interface/OIS_Keyboard.i +0 -15
- data/bindings/ois/interface/OIS_Mouse.i +0 -10
- data/bindings/ois/interface/OIS_Object.i +0 -22
- data/bindings/ois/interface/OIS_Prereqs.i +0 -20
- data/bindings/ois/interface/Rakefile +0 -22
- data/bindings/ois/interface/ois.i +0 -3
- data/bindings/ois/interface/ois_all.i +0 -23
- data/bindings/ois/interface/ois_wrap.cpp +0 -19311
- data/bindings/ois/interface/ois_wrap.h +0 -40
- data/bindings/ois/interface/ois_wrap.o +0 -0
- data/bindings/procedural/interface/ProceduralBoxGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralCapsuleGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralConeGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralCylinderGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralExtruder.i +0 -8
- data/bindings/procedural/interface/ProceduralGeometryHelpers.i +0 -15
- data/bindings/procedural/interface/ProceduralHeader.i +0 -8
- data/bindings/procedural/interface/ProceduralIcoSphereGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralLathe.i +0 -8
- data/bindings/procedural/interface/ProceduralMeshGenerator.i +0 -9
- data/bindings/procedural/interface/ProceduralMultiShape.i +0 -8
- data/bindings/procedural/interface/ProceduralPath.i +0 -8
- data/bindings/procedural/interface/ProceduralPathGenerators.i +0 -10
- data/bindings/procedural/interface/ProceduralPlaneGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralPlatform.i +0 -8
- data/bindings/procedural/interface/ProceduralRoot.i +0 -23
- data/bindings/procedural/interface/ProceduralRoundedBoxGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralShape.i +0 -8
- data/bindings/procedural/interface/ProceduralShapeGenerators.i +0 -10
- data/bindings/procedural/interface/ProceduralSphereGenerator.i +0 -11
- data/bindings/procedural/interface/ProceduralSplines.i +0 -8
- data/bindings/procedural/interface/ProceduralStableHeaders.i +0 -8
- data/bindings/procedural/interface/ProceduralTorusGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralTorusKnotGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralTrack.i +0 -8
- data/bindings/procedural/interface/ProceduralTriangleBuffer.i +0 -13
- data/bindings/procedural/interface/ProceduralTriangulator.i +0 -8
- data/bindings/procedural/interface/ProceduralTubeGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralUtils.i +0 -8
- data/bindings/procedural/interface/Rakefile +0 -22
- data/bindings/procedural/interface/procedural.i +0 -41
- data/bindings/procedural/interface/procedural_wrap.cpp +0 -36079
- data/bindings/procedural/interface/procedural_wrap.h +0 -19
- data/bindings/procedural/interface/procedural_wrap.o +0 -0
- data/deps/include/OGRE/ExampleApplication.h +0 -431
- data/deps/include/OGRE/ExampleFrameListener.h +0 -516
- data/deps/include/OGRE/ExampleLoadingBar.h +0 -192
- data/deps/include/OGRE/FileSystemLayer.h +0 -75
- data/deps/include/OGRE/GLX/OgreConfigDialogImp.h +0 -75
- data/deps/include/OGRE/GLX/OgreErrorDialogImp.h +0 -52
- data/deps/include/OGRE/GLX/OgreTimerImp.h +0 -79
- data/deps/include/OGRE/Ogre.h +0 -133
- data/deps/include/OGRE/OgreAlignedAllocator.h +0 -107
- data/deps/include/OGRE/OgreAnimable.h +0 -335
- data/deps/include/OGRE/OgreAnimation.h +0 -544
- data/deps/include/OGRE/OgreAnimationState.h +0 -295
- data/deps/include/OGRE/OgreAnimationTrack.h +0 -580
- data/deps/include/OGRE/OgreAny.h +0 -440
- data/deps/include/OGRE/OgreArchive.h +0 -240
- data/deps/include/OGRE/OgreArchiveFactory.h +0 -70
- data/deps/include/OGRE/OgreArchiveManager.h +0 -139
- data/deps/include/OGRE/OgreAtomicWrappers.h +0 -441
- data/deps/include/OGRE/OgreAutoParamDataSource.h +0 -265
- data/deps/include/OGRE/OgreAxisAlignedBox.h +0 -841
- data/deps/include/OGRE/OgreBillboard.h +0 -225
- data/deps/include/OGRE/OgreBillboardChain.h +0 -387
- data/deps/include/OGRE/OgreBillboardParticleRenderer.h +0 -263
- data/deps/include/OGRE/OgreBillboardSet.h +0 -878
- data/deps/include/OGRE/OgreBitwise.h +0 -331
- data/deps/include/OGRE/OgreBlendMode.h +0 -266
- data/deps/include/OGRE/OgreBone.h +0 -154
- data/deps/include/OGRE/OgreBorderPanelOverlayElement.h +0 -352
- data/deps/include/OGRE/OgreBuildSettings.h +0 -62
- data/deps/include/OGRE/OgreCamera.h +0 -680
- data/deps/include/OGRE/OgreCodec.h +0 -178
- data/deps/include/OGRE/OgreColourValue.h +0 -334
- data/deps/include/OGRE/OgreCommon.h +0 -870
- data/deps/include/OGRE/OgreCompositionPass.h +0 -356
- data/deps/include/OGRE/OgreCompositionTargetPass.h +0 -174
- data/deps/include/OGRE/OgreCompositionTechnique.h +0 -188
- data/deps/include/OGRE/OgreCompositor.h +0 -235
- data/deps/include/OGRE/OgreCompositorChain.h +0 -241
- data/deps/include/OGRE/OgreCompositorInstance.h +0 -373
- data/deps/include/OGRE/OgreCompositorLogic.h +0 -68
- data/deps/include/OGRE/OgreCompositorManager.h +0 -291
- data/deps/include/OGRE/OgreConfig.h +0 -189
- data/deps/include/OGRE/OgreConfigDialog.h +0 -55
- data/deps/include/OGRE/OgreConfigFile.h +0 -110
- data/deps/include/OGRE/OgreConfigOptionMap.h +0 -63
- data/deps/include/OGRE/OgreController.h +0 -233
- data/deps/include/OGRE/OgreControllerManager.h +0 -294
- data/deps/include/OGRE/OgreConvexBody.h +0 -260
- data/deps/include/OGRE/OgreCustomCompositionPass.h +0 -65
- data/deps/include/OGRE/OgreDDSCodec.h +0 -98
- data/deps/include/OGRE/OgreDataStream.h +0 -664
- data/deps/include/OGRE/OgreDefaultHardwareBufferManager.h +0 -140
- data/deps/include/OGRE/OgreDeflate.h +0 -133
- data/deps/include/OGRE/OgreDepthBuffer.h +0 -155
- data/deps/include/OGRE/OgreDistanceLodStrategy.h +0 -137
- data/deps/include/OGRE/OgreDualQuaternion.h +0 -184
- data/deps/include/OGRE/OgreDynLib.h +0 -124
- data/deps/include/OGRE/OgreDynLibManager.h +0 -117
- data/deps/include/OGRE/OgreEdgeListBuilder.h +0 -269
- data/deps/include/OGRE/OgreEntity.h +0 -866
- data/deps/include/OGRE/OgreErrorDialog.h +0 -55
- data/deps/include/OGRE/OgreException.h +0 -351
- data/deps/include/OGRE/OgreExternalTextureSource.h +0 -191
- data/deps/include/OGRE/OgreExternalTextureSourceManager.h +0 -124
- data/deps/include/OGRE/OgreFactoryObj.h +0 -72
- data/deps/include/OGRE/OgreFileSystem.h +0 -144
- data/deps/include/OGRE/OgreFont.h +0 -478
- data/deps/include/OGRE/OgreFontManager.h +0 -102
- data/deps/include/OGRE/OgreFrameListener.h +0 -140
- data/deps/include/OGRE/OgreFreeImageCodec.h +0 -87
- data/deps/include/OGRE/OgreFrustum.h +0 -673
- data/deps/include/OGRE/OgreGpuProgram.h +0 -487
- data/deps/include/OGRE/OgreGpuProgramManager.h +0 -262
- data/deps/include/OGRE/OgreGpuProgramParams.h +0 -1840
- data/deps/include/OGRE/OgreGpuProgramUsage.h +0 -149
- data/deps/include/OGRE/OgreHardwareBuffer.h +0 -356
- data/deps/include/OGRE/OgreHardwareBufferManager.h +0 -539
- data/deps/include/OGRE/OgreHardwareIndexBuffer.h +0 -89
- data/deps/include/OGRE/OgreHardwareOcclusionQuery.h +0 -132
- data/deps/include/OGRE/OgreHardwarePixelBuffer.h +0 -208
- data/deps/include/OGRE/OgreHardwareVertexBuffer.h +0 -581
- data/deps/include/OGRE/OgreHeaderPrefix.h +0 -82
- data/deps/include/OGRE/OgreHeaderSuffix.h +0 -44
- data/deps/include/OGRE/OgreHighLevelGpuProgram.h +0 -194
- data/deps/include/OGRE/OgreHighLevelGpuProgramManager.h +0 -158
- data/deps/include/OGRE/OgreImage.h +0 -510
- data/deps/include/OGRE/OgreImageCodec.h +0 -89
- data/deps/include/OGRE/OgreInstanceBatch.h +0 -348
- data/deps/include/OGRE/OgreInstanceBatchHW.h +0 -110
- data/deps/include/OGRE/OgreInstanceBatchHW_VTF.h +0 -113
- data/deps/include/OGRE/OgreInstanceBatchShader.h +0 -99
- data/deps/include/OGRE/OgreInstanceBatchVTF.h +0 -226
- data/deps/include/OGRE/OgreInstanceManager.h +0 -285
- data/deps/include/OGRE/OgreInstancedEntity.h +0 -277
- data/deps/include/OGRE/OgreInstancedGeometry.h +0 -890
- data/deps/include/OGRE/OgreIteratorRange.h +0 -332
- data/deps/include/OGRE/OgreIteratorWrapper.h +0 -383
- data/deps/include/OGRE/OgreIteratorWrappers.h +0 -35
- data/deps/include/OGRE/OgreKeyFrame.h +0 -257
- data/deps/include/OGRE/OgreLight.h +0 -597
- data/deps/include/OGRE/OgreLodListener.h +0 -207
- data/deps/include/OGRE/OgreLodStrategy.h +0 -132
- data/deps/include/OGRE/OgreLodStrategyManager.h +0 -133
- data/deps/include/OGRE/OgreLog.h +0 -263
- data/deps/include/OGRE/OgreLogManager.h +0 -175
- data/deps/include/OGRE/OgreManualObject.h +0 -572
- data/deps/include/OGRE/OgreMaterial.h +0 -741
- data/deps/include/OGRE/OgreMaterialManager.h +0 -304
- data/deps/include/OGRE/OgreMaterialSerializer.h +0 -447
- data/deps/include/OGRE/OgreMath.h +0 -743
- data/deps/include/OGRE/OgreMatrix3.h +0 -286
- data/deps/include/OGRE/OgreMatrix4.h +0 -660
- data/deps/include/OGRE/OgreMemoryAllocatedObject.h +0 -129
- data/deps/include/OGRE/OgreMemoryAllocatorConfig.h +0 -493
- data/deps/include/OGRE/OgreMemoryNedAlloc.h +0 -140
- data/deps/include/OGRE/OgreMemoryNedPooling.h +0 -143
- data/deps/include/OGRE/OgreMemorySTLAllocator.h +0 -225
- data/deps/include/OGRE/OgreMemoryStdAlloc.h +0 -155
- data/deps/include/OGRE/OgreMemoryTracker.h +0 -197
- data/deps/include/OGRE/OgreMesh.h +0 -922
- data/deps/include/OGRE/OgreMeshFileFormat.h +0 -295
- data/deps/include/OGRE/OgreMeshManager.h +0 -497
- data/deps/include/OGRE/OgreMeshSerializer.h +0 -206
- data/deps/include/OGRE/OgreMeshSerializerImpl.h +0 -274
- data/deps/include/OGRE/OgreMovableObject.h +0 -641
- data/deps/include/OGRE/OgreMovablePlane.h +0 -97
- data/deps/include/OGRE/OgreNode.h +0 -774
- data/deps/include/OGRE/OgreNumerics.h +0 -66
- data/deps/include/OGRE/OgreOptimisedUtil.h +0 -232
- data/deps/include/OGRE/OgreOverlay.h +0 -280
- data/deps/include/OGRE/OgreOverlayContainer.h +0 -152
- data/deps/include/OGRE/OgreOverlayElement.h +0 -501
- data/deps/include/OGRE/OgreOverlayElementCommands.h +0 -122
- data/deps/include/OGRE/OgreOverlayElementFactory.h +0 -116
- data/deps/include/OGRE/OgreOverlayManager.h +0 -256
- data/deps/include/OGRE/OgrePanelOverlayElement.h +0 -161
- data/deps/include/OGRE/OgreParticle.h +0 -154
- data/deps/include/OGRE/OgreParticleAffector.h +0 -127
- data/deps/include/OGRE/OgreParticleAffectorFactory.h +0 -81
- data/deps/include/OGRE/OgreParticleEmitter.h +0 -524
- data/deps/include/OGRE/OgreParticleEmitterCommands.h +0 -215
- data/deps/include/OGRE/OgreParticleEmitterFactory.h +0 -84
- data/deps/include/OGRE/OgreParticleIterator.h +0 -68
- data/deps/include/OGRE/OgreParticleScriptCompiler.h +0 -92
- data/deps/include/OGRE/OgreParticleSystem.h +0 -913
- data/deps/include/OGRE/OgreParticleSystemManager.h +0 -406
- data/deps/include/OGRE/OgreParticleSystemRenderer.h +0 -143
- data/deps/include/OGRE/OgrePass.h +0 -1775
- data/deps/include/OGRE/OgrePatchMesh.h +0 -164
- data/deps/include/OGRE/OgrePatchSurface.h +0 -240
- data/deps/include/OGRE/OgrePixelCountLodStrategy.h +0 -113
- data/deps/include/OGRE/OgrePixelFormat.h +0 -513
- data/deps/include/OGRE/OgrePlane.h +0 -166
- data/deps/include/OGRE/OgrePlaneBoundedVolume.h +0 -135
- data/deps/include/OGRE/OgrePlatform.h +0 -288
- data/deps/include/OGRE/OgrePlatformInformation.h +0 -202
- data/deps/include/OGRE/OgrePlugin.h +0 -139
- data/deps/include/OGRE/OgrePolygon.h +0 -145
- data/deps/include/OGRE/OgrePose.h +0 -141
- data/deps/include/OGRE/OgrePredefinedControllers.h +0 -292
- data/deps/include/OGRE/OgrePrefabFactory.h +0 -73
- data/deps/include/OGRE/OgrePrerequisites.h +0 -563
- data/deps/include/OGRE/OgreProfiler.h +0 -549
- data/deps/include/OGRE/OgreProgressiveMesh.h +0 -416
- data/deps/include/OGRE/OgreQuaternion.h +0 -330
- data/deps/include/OGRE/OgreRadixSort.h +0 -330
- data/deps/include/OGRE/OgreRay.h +0 -122
- data/deps/include/OGRE/OgreRectangle.h +0 -77
- data/deps/include/OGRE/OgreRectangle2D.h +0 -101
- data/deps/include/OGRE/OgreRenderObjectListener.h +0 -64
- data/deps/include/OGRE/OgreRenderOperation.h +0 -100
- data/deps/include/OGRE/OgreRenderQueue.h +0 -516
- data/deps/include/OGRE/OgreRenderQueueInvocation.h +0 -225
- data/deps/include/OGRE/OgreRenderQueueListener.h +0 -106
- data/deps/include/OGRE/OgreRenderQueueSortingGrouping.h +0 -733
- data/deps/include/OGRE/OgreRenderSystem.h +0 -1589
- data/deps/include/OGRE/OgreRenderSystemCapabilities.h +0 -727
- data/deps/include/OGRE/OgreRenderSystemCapabilitiesManager.h +0 -129
- data/deps/include/OGRE/OgreRenderSystemCapabilitiesSerializer.h +0 -248
- data/deps/include/OGRE/OgreRenderTarget.h +0 -534
- data/deps/include/OGRE/OgreRenderTargetListener.h +0 -146
- data/deps/include/OGRE/OgreRenderTexture.h +0 -140
- data/deps/include/OGRE/OgreRenderToVertexBuffer.h +0 -151
- data/deps/include/OGRE/OgreRenderWindow.h +0 -225
- data/deps/include/OGRE/OgreRenderable.h +0 -428
- data/deps/include/OGRE/OgreResource.h +0 -536
- data/deps/include/OGRE/OgreResourceBackgroundQueue.h +0 -359
- data/deps/include/OGRE/OgreResourceGroupManager.h +0 -1092
- data/deps/include/OGRE/OgreResourceManager.h +0 -538
- data/deps/include/OGRE/OgreRibbonTrail.h +0 -245
- data/deps/include/OGRE/OgreRoot.h +0 -1075
- data/deps/include/OGRE/OgreRotationalSpline.h +0 -136
- data/deps/include/OGRE/OgreSceneManager.h +0 -3670
- data/deps/include/OGRE/OgreSceneManagerEnumerator.h +0 -233
- data/deps/include/OGRE/OgreSceneNode.h +0 -472
- data/deps/include/OGRE/OgreSceneQuery.h +0 -564
- data/deps/include/OGRE/OgreScriptCompiler.h +0 -851
- data/deps/include/OGRE/OgreScriptLexer.h +0 -96
- data/deps/include/OGRE/OgreScriptLoader.h +0 -96
- data/deps/include/OGRE/OgreScriptParser.h +0 -63
- data/deps/include/OGRE/OgreScriptTranslator.h +0 -286
- data/deps/include/OGRE/OgreSearchOps.h +0 -69
- data/deps/include/OGRE/OgreSerializer.h +0 -120
- data/deps/include/OGRE/OgreShadowCameraSetup.h +0 -107
- data/deps/include/OGRE/OgreShadowCameraSetupFocused.h +0 -289
- data/deps/include/OGRE/OgreShadowCameraSetupLiSPSM.h +0 -254
- data/deps/include/OGRE/OgreShadowCameraSetupPSSM.h +0 -126
- data/deps/include/OGRE/OgreShadowCameraSetupPlaneOptimal.h +0 -88
- data/deps/include/OGRE/OgreShadowCaster.h +0 -225
- data/deps/include/OGRE/OgreShadowTextureManager.h +0 -156
- data/deps/include/OGRE/OgreShadowVolumeExtrudeProgram.h +0 -286
- data/deps/include/OGRE/OgreSharedPtr.h +0 -278
- data/deps/include/OGRE/OgreSimpleRenderable.h +0 -111
- data/deps/include/OGRE/OgreSimpleSpline.h +0 -137
- data/deps/include/OGRE/OgreSingleton.h +0 -104
- data/deps/include/OGRE/OgreSkeleton.h +0 -539
- data/deps/include/OGRE/OgreSkeletonFileFormat.h +0 -117
- data/deps/include/OGRE/OgreSkeletonInstance.h +0 -163
- data/deps/include/OGRE/OgreSkeletonManager.h +0 -105
- data/deps/include/OGRE/OgreSkeletonSerializer.h +0 -151
- data/deps/include/OGRE/OgreSmallVector.h +0 -814
- data/deps/include/OGRE/OgreSphere.h +0 -145
- data/deps/include/OGRE/OgreSpotShadowFadePng.h +0 -647
- data/deps/include/OGRE/OgreStableHeaders.h +0 -82
- data/deps/include/OGRE/OgreStaticFaceGroup.h +0 -141
- data/deps/include/OGRE/OgreStaticGeometry.h +0 -781
- data/deps/include/OGRE/OgreStaticPluginLoader.h +0 -205
- data/deps/include/OGRE/OgreStdHeaders.h +0 -128
- data/deps/include/OGRE/OgreStreamSerialiser.h +0 -386
- data/deps/include/OGRE/OgreString.h +0 -223
- data/deps/include/OGRE/OgreStringConverter.h +0 -275
- data/deps/include/OGRE/OgreStringInterface.h +0 -335
- data/deps/include/OGRE/OgreStringVector.h +0 -53
- data/deps/include/OGRE/OgreSubEntity.h +0 -288
- data/deps/include/OGRE/OgreSubMesh.h +0 -294
- data/deps/include/OGRE/OgreTagPoint.h +0 -123
- data/deps/include/OGRE/OgreTangentSpaceCalc.h +0 -269
- data/deps/include/OGRE/OgreTechnique.h +0 -714
- data/deps/include/OGRE/OgreTextAreaOverlayElement.h +0 -258
- data/deps/include/OGRE/OgreTexture.h +0 -496
- data/deps/include/OGRE/OgreTextureManager.h +0 -508
- data/deps/include/OGRE/OgreTextureUnitState.h +0 -1265
- data/deps/include/OGRE/OgreTimer.h +0 -49
- data/deps/include/OGRE/OgreUTFString.h +0 -1113
- data/deps/include/OGRE/OgreUnifiedHighLevelGpuProgram.h +0 -177
- data/deps/include/OGRE/OgreUserObjectBindings.h +0 -140
- data/deps/include/OGRE/OgreVector2.h +0 -609
- data/deps/include/OGRE/OgreVector3.h +0 -818
- data/deps/include/OGRE/OgreVector4.h +0 -414
- data/deps/include/OGRE/OgreVertexBoneAssignment.h +0 -63
- data/deps/include/OGRE/OgreVertexIndexData.h +0 -323
- data/deps/include/OGRE/OgreViewport.h +0 -433
- data/deps/include/OGRE/OgreWindowEventUtilities.h +0 -188
- data/deps/include/OGRE/OgreWireBoundingBox.h +0 -87
- data/deps/include/OGRE/OgreWorkQueue.h +0 -556
- data/deps/include/OGRE/OgreZip.h +0 -196
- data/deps/include/OGRE/Paging/OgreGrid2DPageStrategy.h +0 -250
- data/deps/include/OGRE/Paging/OgreGrid3DPageStrategy.h +0 -222
- data/deps/include/OGRE/Paging/OgrePage.h +0 -205
- data/deps/include/OGRE/Paging/OgrePageConnection.h +0 -50
- data/deps/include/OGRE/Paging/OgrePageContent.h +0 -90
- data/deps/include/OGRE/Paging/OgrePageContentCollection.h +0 -103
- data/deps/include/OGRE/Paging/OgrePageContentCollectionFactory.h +0 -62
- data/deps/include/OGRE/Paging/OgrePageContentFactory.h +0 -67
- data/deps/include/OGRE/Paging/OgrePageFileFormats.h +0 -223
- data/deps/include/OGRE/Paging/OgrePageManager.h +0 -481
- data/deps/include/OGRE/Paging/OgrePageStrategy.h +0 -138
- data/deps/include/OGRE/Paging/OgrePagedWorld.h +0 -252
- data/deps/include/OGRE/Paging/OgrePagedWorldSection.h +0 -316
- data/deps/include/OGRE/Paging/OgrePaging.h +0 -45
- data/deps/include/OGRE/Paging/OgrePagingPrerequisites.h +0 -84
- data/deps/include/OGRE/Paging/OgreSimplePageContentCollection.h +0 -137
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspLevel.h +0 -278
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspNode.h +0 -212
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspPrerequisites.h +0 -65
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspResourceManager.h +0 -110
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManager.h +0 -280
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManagerPlugin.h +0 -67
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneNode.h +0 -79
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Level.h +0 -167
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Shader.h +0 -119
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3ShaderManager.h +0 -125
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Types.h +0 -250
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgFxScriptLoader.h +0 -1544
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPlugin.h +0 -65
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPrerequisites.h +0 -62
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgram.h +0 -149
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgramFactory.h +0 -55
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctree.h +0 -164
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeCamera.h +0 -89
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeNode.h +0 -148
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePlugin.h +0 -64
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePrerequisites.h +0 -59
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneManager.h +0 -253
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneQuery.h +0 -102
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZone.h +0 -264
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZoneOctree.h +0 -203
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePlugin.h +0 -72
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePrerequisites.h +0 -67
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreAntiPortal.h +0 -75
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreCapsule.h +0 -68
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreDefaultZone.h +0 -154
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCPlane.h +0 -94
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZCamera.h +0 -113
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZFrustum.h +0 -136
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZLight.h +0 -137
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPlugin.h +0 -77
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPrerequisites.h +0 -63
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneManager.h +0 -410
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneNode.h +0 -135
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneQuery.h +0 -134
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZone.h +0 -316
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZoneFactory.h +0 -126
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortal.h +0 -106
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortalBase.h +0 -303
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreSegment.h +0 -81
- data/deps/include/OGRE/Plugins/ParticleFX/OgreAreaEmitter.h +0 -139
- data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitter.h +0 -60
- data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitterFactory.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector.h +0 -167
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector2.h +0 -226
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory2.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffector.h +0 -80
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffector.h +0 -97
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitter.h +0 -68
- data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffector.h +0 -114
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffector.h +0 -109
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffectorFactory.h +0 -54
- data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitter.h +0 -64
- data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitter.h +0 -126
- data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffector.h +0 -120
- data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPlugin.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPrerequisites.h +0 -68
- data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitter.h +0 -62
- data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitterFactory.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitter.h +0 -111
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffector.h +0 -131
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffector.h +0 -84
- data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffectorFactory.h +0 -56
- data/deps/include/OGRE/RTShaderSystem/OgreRTShaderSystem.h +0 -76
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h +0 -85
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExDualQuaternionSkinning.h +0 -127
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinning.h +0 -358
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.h +0 -156
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExIntegratedPSSM3.h +0 -231
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLayeredBlending.h +0 -261
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLinearSkinning.h +0 -97
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExNormalMapLighting.h +0 -445
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExPerPixelLighting.h +0 -308
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExTextureAtlasSampler.h +0 -372
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPColour.h +0 -189
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPFog.h +0 -214
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPLighting.h +0 -266
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderState.h +0 -134
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderStateBuilder.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTexturing.h +0 -281
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTransform.h +0 -121
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunction.h +0 -234
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunctionAtom.h +0 -256
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramProcessor.h +0 -93
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramWriter.h +0 -202
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h +0 -98
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h +0 -152
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGenerator.h +0 -987
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h +0 -84
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h +0 -111
- data/deps/include/OGRE/RTShaderSystem/OgreShaderParameter.h +0 -665
- data/deps/include/OGRE/RTShaderSystem/OgreShaderPrerequisites.h +0 -120
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgram.h +0 -224
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramManager.h +0 -243
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h +0 -277
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramSet.h +0 -102
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriter.h +0 -110
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriterManager.h +0 -130
- data/deps/include/OGRE/RTShaderSystem/OgreShaderRenderState.h +0 -224
- data/deps/include/OGRE/RTShaderSystem/OgreShaderScriptTranslator.h +0 -145
- data/deps/include/OGRE/RTShaderSystem/OgreShaderSubRenderState.h +0 -324
- data/deps/include/OGRE/RenderSystems/GL/GL/gl.h +0 -1918
- data/deps/include/OGRE/RenderSystems/GL/GL/glew.h +0 -16131
- data/deps/include/OGRE/RenderSystems/GL/GL/glext.h +0 -6030
- data/deps/include/OGRE/RenderSystems/GL/GL/glxew.h +0 -1587
- data/deps/include/OGRE/RenderSystems/GL/GL/glxext.h +0 -681
- data/deps/include/OGRE/RenderSystems/GL/GL/glxtokens.h +0 -231
- data/deps/include/OGRE/RenderSystems/GL/GL/wglew.h +0 -1363
- data/deps/include/OGRE/RenderSystems/GL/GL/wglext.h +0 -608
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLUtil.h +0 -43
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXContext.h +0 -62
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXGLSupport.h +0 -201
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXRenderTexture.h +0 -52
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXUtils.h +0 -102
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXWindow.h +0 -126
- data/deps/include/OGRE/RenderSystems/GL/OgreGLATIFSInit.h +0 -41
- data/deps/include/OGRE/RenderSystems/GL/OgreGLContext.h +0 -75
- data/deps/include/OGRE/RenderSystems/GL/OgreGLDefaultHardwareBufferManager.h +0 -135
- data/deps/include/OGRE/RenderSystems/GL/OgreGLDepthBuffer.h +0 -71
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFBOMultiRenderTarget.h +0 -59
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFBORenderTexture.h +0 -200
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFrameBufferObject.h +0 -105
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuNvparseProgram.h +0 -69
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgram.h +0 -120
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgramManager.h +0 -68
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareBufferManager.h +0 -141
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareIndexBuffer.h +0 -70
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareOcclusionQuery.h +0 -108
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwarePixelBuffer.h +0 -138
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareVertexBuffer.h +0 -69
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPBRenderTexture.h +0 -106
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPBuffer.h +0 -62
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPixelFormat.h +0 -100
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPlugin.h +0 -63
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPrerequisites.h +0 -105
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderSystem.h +0 -530
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderTexture.h +0 -141
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderToVertexBuffer.h +0 -72
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLExtSupport.h +0 -66
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLGpuProgram.h +0 -104
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgram.h +0 -149
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgramManager.h +0 -144
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLPreprocessor.h +0 -524
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgram.h +0 -200
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgramFactory.h +0 -60
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSupport.h +0 -137
- data/deps/include/OGRE/RenderSystems/GL/OgreGLTexture.h +0 -191
- data/deps/include/OGRE/RenderSystems/GL/OgreGLTextureManager.h +0 -69
- data/deps/include/OGRE/Sample.h +0 -330
- data/deps/include/OGRE/SampleContext.h +0 -874
- data/deps/include/OGRE/SamplePlugin.h +0 -99
- data/deps/include/OGRE/SdkCameraMan.h +0 -367
- data/deps/include/OGRE/SdkSample.h +0 -552
- data/deps/include/OGRE/SdkTrays.h +0 -3168
- data/deps/include/OGRE/Terrain/OgreTerrain.h +0 -2076
- data/deps/include/OGRE/Terrain/OgreTerrainGroup.h +0 -545
- data/deps/include/OGRE/Terrain/OgreTerrainLayerBlendMap.h +0 -199
- data/deps/include/OGRE/Terrain/OgreTerrainMaterialGenerator.h +0 -404
- data/deps/include/OGRE/Terrain/OgreTerrainMaterialGeneratorA.h +0 -279
- data/deps/include/OGRE/Terrain/OgreTerrainPagedWorldSection.h +0 -165
- data/deps/include/OGRE/Terrain/OgreTerrainPaging.h +0 -135
- data/deps/include/OGRE/Terrain/OgreTerrainPrerequisites.h +0 -68
- data/deps/include/OGRE/Terrain/OgreTerrainQuadTreeNode.h +0 -413
- data/deps/include/OGRE/Threading/OgreDefaultWorkQueue.h +0 -42
- data/deps/include/OGRE/Threading/OgreDefaultWorkQueueStandard.h +0 -82
- data/deps/include/OGRE/Threading/OgreThreadDefines.h +0 -41
- data/deps/include/OGRE/Threading/OgreThreadDefinesNone.h +0 -59
- data/deps/include/OGRE/Threading/OgreThreadHeaders.h +0 -39
- data/deps/include/OGRE/asm_math.h +0 -376
- data/deps/include/OIS/OIS.h +0 -41
- data/deps/include/OIS/OISConfig.h +0 -75
- data/deps/include/OIS/OISEffect.h +0 -278
- data/deps/include/OIS/OISEvents.h +0 -43
- data/deps/include/OIS/OISException.h +0 -78
- data/deps/include/OIS/OISFactoryCreator.h +0 -81
- data/deps/include/OIS/OISForceFeedback.h +0 -120
- data/deps/include/OIS/OISInputManager.h +0 -205
- data/deps/include/OIS/OISInterface.h +0 -47
- data/deps/include/OIS/OISJoyStick.h +0 -228
- data/deps/include/OIS/OISKeyboard.h +0 -312
- data/deps/include/OIS/OISMouse.h +0 -138
- data/deps/include/OIS/OISMultiTouch.h +0 -169
- data/deps/include/OIS/OISObject.h +0 -95
- data/deps/include/OIS/OISPrereqs.h +0 -226
- data/deps/include/OgreProcedural/Procedural.h +0 -54
- data/deps/include/OgreProcedural/ProceduralBoxGenerator.h +0 -110
- data/deps/include/OgreProcedural/ProceduralCapsuleGenerator.h +0 -103
- data/deps/include/OgreProcedural/ProceduralConeGenerator.h +0 -90
- data/deps/include/OgreProcedural/ProceduralCylinderGenerator.h +0 -99
- data/deps/include/OgreProcedural/ProceduralExtruder.h +0 -131
- data/deps/include/OgreProcedural/ProceduralGeometryHelpers.h +0 -171
- data/deps/include/OgreProcedural/ProceduralIcoSphereGenerator.h +0 -76
- data/deps/include/OgreProcedural/ProceduralLathe.h +0 -129
- data/deps/include/OgreProcedural/ProceduralMeshGenerator.h +0 -286
- data/deps/include/OgreProcedural/ProceduralMultiShape.h +0 -126
- data/deps/include/OgreProcedural/ProceduralPath.h +0 -322
- data/deps/include/OgreProcedural/ProceduralPathGenerators.h +0 -281
- data/deps/include/OgreProcedural/ProceduralPlaneGenerator.h +0 -93
- data/deps/include/OgreProcedural/ProceduralPlatform.h +0 -54
- data/deps/include/OgreProcedural/ProceduralRoot.h +0 -65
- data/deps/include/OgreProcedural/ProceduralRoundedBoxGenerator.h +0 -118
- data/deps/include/OgreProcedural/ProceduralShape.h +0 -532
- data/deps/include/OgreProcedural/ProceduralShapeGenerators.h +0 -362
- data/deps/include/OgreProcedural/ProceduralSphereGenerator.h +0 -80
- data/deps/include/OgreProcedural/ProceduralSplines.h +0 -168
- data/deps/include/OgreProcedural/ProceduralStableHeaders.h +0 -28
- data/deps/include/OgreProcedural/ProceduralTorusGenerator.h +0 -88
- data/deps/include/OgreProcedural/ProceduralTorusKnotGenerator.h +0 -106
- data/deps/include/OgreProcedural/ProceduralTrack.h +0 -122
- data/deps/include/OgreProcedural/ProceduralTriangleBuffer.h +0 -328
- data/deps/include/OgreProcedural/ProceduralTriangulator.h +0 -173
- data/deps/include/OgreProcedural/ProceduralTubeGenerator.h +0 -96
- data/deps/include/OgreProcedural/ProceduralUtils.h +0 -185
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.1 +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so.1.8.0 +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so.1.8.1 +0 -0
- data/deps/lib/libOIS-1.3.0.so +0 -0
- data/deps/lib/libOIS.so +0 -0
- data/deps/lib/libOgreMain.so +0 -0
- data/deps/lib/libOgreMain.so.1.8.0 +0 -0
- data/deps/lib/libOgreMain.so.1.8.1 +0 -0
- data/deps/lib/libOgrePaging.so +0 -0
- data/deps/lib/libOgrePaging.so.1.8.0 +0 -0
- data/deps/lib/libOgrePaging.so.1.8.1 +0 -0
- data/deps/lib/libOgreProcedural.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so.1.8.0 +0 -0
- data/deps/lib/libOgreRTShaderSystem.so.1.8.1 +0 -0
- data/deps/lib/libOgreTerrain.so +0 -0
- data/deps/lib/libOgreTerrain.so.1.8.0 +0 -0
- data/deps/lib/libOgreTerrain.so.1.8.1 +0 -0
- data/deps/share/OGRE/media/DeferredShadingMedia/COPYING +0 -18
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/Ambient_ps.cg +0 -68
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_ps.cg +0 -187
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_vs.cg +0 -53
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowColour_ps.cg +0 -41
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowDS_ps.cg +0 -40
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowNormal_ps.cg +0 -39
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/vs.cg +0 -54
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.cg +0 -25
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.material +0 -15
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.program +0 -24
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred.compositor +0 -147
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.material +0 -148
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.program +0 -85
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post_minilight.material +0 -71
- data/deps/share/OGRE/media/DeferredShadingMedia/deferreddemo.material +0 -73
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.cg +0 -178
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.compositor +0 -93
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.material +0 -148
- data/deps/share/OGRE/media/PCZAppMedia/Carpet_Diamond_Olive.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Brass_Ceiling.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Embossed.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted1.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured_White.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM.material +0 -149
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NX.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NY.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NZ.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PX.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PY.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PZ.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Roofing_Tile_Spanish.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted1.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Wood_Floor.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/building_exterior.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxnynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpx.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnypynzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nypy.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nypy_4y.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxnynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxpynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/terrain2.cfg +0 -71
- data/deps/share/OGRE/media/PCZAppMedia/terrain2.png +0 -0
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.cg +0 -248
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsl +0 -248
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsles +0 -231
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.hlsl +0 -219
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.cg +0 -138
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsl +0 -139
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsles +0 -141
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.hlsl +0 -138
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.cg +0 -225
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsl +0 -226
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsles +0 -227
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.hlsl +0 -225
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.cg +0 -319
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsl +0 -334
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsles +0 -355
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.hlsl +0 -319
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.cg +0 -78
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsl +0 -71
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsles +0 -65
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.hlsl +0 -71
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.cg +0 -130
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.glsl +0 -132
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.cg +0 -81
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsl +0 -107
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsles +0 -112
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.hlsl +0 -81
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.cg +0 -728
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsl +0 -825
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsles +0 -889
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.hlsl +0 -730
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.cg +0 -257
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsl +0 -269
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsles +0 -264
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.hlsl +0 -257
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.cg +0 -226
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsl +0 -228
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsles +0 -223
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.hlsl +0 -226
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.cg +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsl +0 -124
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsles +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.hlsl +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.cg +0 -76
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.glsl +0 -93
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.hlsl +0 -76
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.cg +0 -62
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsl +0 -65
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsles +0 -67
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.hlsl +0 -62
- data/deps/share/OGRE/media/RTShaderLib/cache/dummy.txt +0 -1
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.cg +0 -292
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.material +0 -384
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowFourWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowOneWeight.glsl +0 -28
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_ps.glsl +0 -9
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_vs.glsl +0 -15
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowThreeWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowTwoWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.cg +0 -111
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.material +0 -265
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_Fragment.glsl +0 -6
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_TwoWeights.glsl +0 -18
- data/deps/share/OGRE/media/RTShaderLib/materials/RTShaderSystem.material +0 -221
- data/deps/share/OGRE/media/fonts/bluebold.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluecond.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluehigh.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluehighway-10.font +0 -2
- data/deps/share/OGRE/media/fonts/bluehighway-12.font +0 -2
- data/deps/share/OGRE/media/fonts/bluehighway-8.font +0 -2
- data/deps/share/OGRE/media/fonts/read_me.html +0 -2
- data/deps/share/OGRE/media/fonts/sample.fontdef +0 -11
- data/deps/share/OGRE/media/fonts/solo5.ttf +0 -0
- data/deps/share/OGRE/media/materials/programs/ASCIIFP.cg +0 -32
- data/deps/share/OGRE/media/materials/programs/ASCIIFP.glsles +0 -31
- data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsl +0 -13
- data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsles +0 -20
- data/deps/share/OGRE/media/materials/programs/AmbientOneTextureWithUV.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsl +0 -27
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsles +0 -30
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.hlsl +0 -58
- data/deps/share/OGRE/media/materials/programs/Bloom_ps20.hlsl +0 -52
- data/deps/share/OGRE/media/materials/programs/Bloom_vs11.hlsl +0 -21
- data/deps/share/OGRE/media/materials/programs/Blur0_ps20.hlsl +0 -31
- data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsl +0 -15
- data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur0_vs11.hlsl +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur1_ps20.hlsl +0 -28
- data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsl +0 -15
- data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur1_vs11.hlsl +0 -19
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsl +0 -56
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsles +0 -58
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.hlsl +0 -51
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsl +0 -60
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.hlsl +0 -51
- data/deps/share/OGRE/media/materials/programs/Blur_ps.glsl +0 -14
- data/deps/share/OGRE/media/materials/programs/Blur_ps.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Blur_vs.glsl +0 -14
- data/deps/share/OGRE/media/materials/programs/Blur_vs.glsles +0 -24
- data/deps/share/OGRE/media/materials/programs/Blur_vs11.hlsl +0 -19
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsles +0 -32
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.hlsl +0 -20
- data/deps/share/OGRE/media/materials/programs/ColdCasterFp.glsles +0 -11
- data/deps/share/OGRE/media/materials/programs/ColdCasterVp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Combine_fp.cg +0 -15
- data/deps/share/OGRE/media/materials/programs/Combine_fp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/Common.cg +0 -81
- data/deps/share/OGRE/media/materials/programs/DOF_ps.cg +0 -47
- data/deps/share/OGRE/media/materials/programs/DOF_ps.glsles +0 -94
- data/deps/share/OGRE/media/materials/programs/DepthShadowmap.hlsl +0 -309
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsl +0 -16
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsles +0 -19
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsl +0 -24
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsles +0 -27
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsl +0 -84
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsles +0 -86
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsles +0 -51
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsl +0 -66
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsles +0 -67
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsl +0 -32
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsles +0 -42
- data/deps/share/OGRE/media/materials/programs/DiffuseOneTexture.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/DitherFP.cg +0 -18
- data/deps/share/OGRE/media/materials/programs/DitherFP.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/DualQuaternion.cg +0 -159
- data/deps/share/OGRE/media/materials/programs/DualQuaternion.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.cg +0 -85
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.glsl +0 -70
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_ShadowCaster.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhase.glsl +0 -77
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhaseShadowCaster.glsl +0 -41
- data/deps/share/OGRE/media/materials/programs/EmbossedFp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Example_Basic.cg +0 -400
- data/deps/share/OGRE/media/materials/programs/Example_Basic.hlsl +0 -273
- data/deps/share/OGRE/media/materials/programs/Example_BasicFp.glsles +0 -620
- data/deps/share/OGRE/media/materials/programs/Example_BasicVp.glsles +0 -620
- data/deps/share/OGRE/media/materials/programs/Example_BumpMapping.cg +0 -235
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingFp.glsles +0 -29
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvFp.glsles +0 -34
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvVp.glsles +0 -55
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularFp.glsles +0 -41
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_CelShading.cg +0 -64
- data/deps/share/OGRE/media/materials/programs/Example_CelShadingFp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/Example_CelShadingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_Fresnel.cg +0 -116
- data/deps/share/OGRE/media/materials/programs/Example_FresnelFp.glsles +0 -40
- data/deps/share/OGRE/media/materials/programs/Example_FresnelPS.asm +0 -72
- data/deps/share/OGRE/media/materials/programs/Example_FresnelVp.glsles +0 -39
- data/deps/share/OGRE/media/materials/programs/Example_Projection.cg +0 -28
- data/deps/share/OGRE/media/materials/programs/Example_ProjectionFp.glsles +0 -56
- data/deps/share/OGRE/media/materials/programs/Example_ProjectionVp.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.asm +0 -10
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.glsl +0 -17
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.hlsl4 +0 -33
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.glsl +0 -11
- data/deps/share/OGRE/media/materials/programs/GlassFP.cg +0 -9
- data/deps/share/OGRE/media/materials/programs/GlassFP.glsles +0 -15
- data/deps/share/OGRE/media/materials/programs/Grass.cg +0 -283
- data/deps/share/OGRE/media/materials/programs/GrassAmbientFp.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/GrassAmbientVp.glsles +0 -41
- data/deps/share/OGRE/media/materials/programs/GrassCasterFp.glsles +0 -33
- data/deps/share/OGRE/media/materials/programs/GrassCasterVp.glsles +0 -32
- data/deps/share/OGRE/media/materials/programs/GrassFp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/GrassReceiverFp.glsles +0 -47
- data/deps/share/OGRE/media/materials/programs/GrassReceiverVp.glsles +0 -57
- data/deps/share/OGRE/media/materials/programs/GrassTexVp.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/GrassVp.glsles +0 -38
- data/deps/share/OGRE/media/materials/programs/GrayScale.cg +0 -20
- data/deps/share/OGRE/media/materials/programs/GrayScale.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.cg +0 -69
- data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.vert +0 -69
- data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.cg +0 -124
- data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.vert +0 -131
- data/deps/share/OGRE/media/materials/programs/HalftoneFP.cg +0 -19
- data/deps/share/OGRE/media/materials/programs/HalftoneFP.glsles +0 -24
- data/deps/share/OGRE/media/materials/programs/HeatBlurFp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/HeatBlurVp.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/HeatCasterFp.glsles +0 -11
- data/deps/share/OGRE/media/materials/programs/HeatCasterVp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/HeatVision.cg +0 -230
- data/deps/share/OGRE/media/materials/programs/Instancing.frag +0 -66
- data/deps/share/OGRE/media/materials/programs/Instancing.program +0 -84
- data/deps/share/OGRE/media/materials/programs/InstancingMisc.cg +0 -63
- data/deps/share/OGRE/media/materials/programs/InstancingMisc.vert +0 -62
- data/deps/share/OGRE/media/materials/programs/InstancingVertexInterpolators.cg +0 -34
- data/deps/share/OGRE/media/materials/programs/Instancing_ps.cg +0 -57
- data/deps/share/OGRE/media/materials/programs/InvertFP.cg +0 -6
- data/deps/share/OGRE/media/materials/programs/InvertFP.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/LaplaceFP.cg +0 -37
- data/deps/share/OGRE/media/materials/programs/LaplaceFP.glsles +0 -40
- data/deps/share/OGRE/media/materials/programs/LightToHeatFp.glsles +0 -39
- data/deps/share/OGRE/media/materials/programs/LightToHeatVp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/NightVisionFP.cg +0 -27
- data/deps/share/OGRE/media/materials/programs/NightVisionFP.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.frag +0 -71
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.vert +0 -91
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.frag +0 -76
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.vert +0 -101
- data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.frag +0 -85
- data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.vert +0 -108
- data/deps/share/OGRE/media/materials/programs/OffsetMapping.cg +0 -84
- data/deps/share/OGRE/media/materials/programs/OffsetMapping.hlsl +0 -135
- data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsl +0 -69
- data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsles +0 -43
- data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsFp.glsles +0 -70
- data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsl +0 -54
- data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.asm +0 -44
- data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.glsles +0 -49
- data/deps/share/OGRE/media/materials/programs/OldMovieFP.cg +0 -55
- data/deps/share/OGRE/media/materials/programs/OldMovieFP.glsles +0 -58
- data/deps/share/OGRE/media/materials/programs/OldTV.cg +0 -42
- data/deps/share/OGRE/media/materials/programs/ParticleGS.cg +0 -324
- data/deps/share/OGRE/media/materials/programs/ParticleGS.hlsl +0 -316
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsl +0 -9
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsles +0 -14
- data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsl +0 -5
- data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/PosterizeFP.cg +0 -17
- data/deps/share/OGRE/media/materials/programs/PosterizeFP.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.cg +0 -58
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.glsles +0 -62
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.hlsl +0 -58
- data/deps/share/OGRE/media/materials/programs/ShaderInstancing.cg +0 -101
- data/deps/share/OGRE/media/materials/programs/ShaderInstancing.vert +0 -117
- data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.cg +0 -23
- data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.glsles +0 -31
- data/deps/share/OGRE/media/materials/programs/ShowNormals.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/ShowTangents.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/ShowUV.glsles +0 -12
- data/deps/share/OGRE/media/materials/programs/ShowUVdir3D.glsles +0 -14
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2_vp.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2a_vp.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex3_vp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex4_vp.glsles +0 -27
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.cg +0 -113
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsl +0 -11
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.hlsl +0 -20
- data/deps/share/OGRE/media/materials/programs/Swizzle.gp +0 -39
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsl +0 -40
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsles +0 -80
- data/deps/share/OGRE/media/materials/programs/TilingFP.cg +0 -33
- data/deps/share/OGRE/media/materials/programs/TilingFP.glsles +0 -36
- data/deps/share/OGRE/media/materials/programs/VTFInstancing.cg +0 -107
- data/deps/share/OGRE/media/materials/programs/VTFInstancing.vert +0 -113
- data/deps/share/OGRE/media/materials/programs/crowdVp.glsl +0 -62
- data/deps/share/OGRE/media/materials/programs/crowdVp.glsles +0 -68
- data/deps/share/OGRE/media/materials/programs/depthshadowobject.cg +0 -185
- data/deps/share/OGRE/media/materials/programs/depthshadowobjectFp.glsles +0 -183
- data/deps/share/OGRE/media/materials/programs/depthshadowobjectVp.glsles +0 -183
- data/deps/share/OGRE/media/materials/programs/hdr.cg +0 -25
- data/deps/share/OGRE/media/materials/programs/hdr.hlsl +0 -165
- data/deps/share/OGRE/media/materials/programs/hdrFp.glsles +0 -15
- data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsl +0 -22
- data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsl +0 -24
- data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsl +0 -26
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsles +0 -30
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsl +0 -37
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsles +0 -64
- data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsl +0 -28
- data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsles +0 -54
- data/deps/share/OGRE/media/materials/programs/hdr_tonemap_util.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/hdrutils.hlsl +0 -65
- data/deps/share/OGRE/media/materials/programs/instancing.cg +0 -125
- data/deps/share/OGRE/media/materials/programs/instancingVp.glsl +0 -39
- data/deps/share/OGRE/media/materials/programs/instancingVp.glsles +0 -51
- data/deps/share/OGRE/media/materials/programs/isosurf.cg +0 -155
- data/deps/share/OGRE/media/materials/programs/isosurf.hlsl +0 -145
- data/deps/share/OGRE/media/materials/programs/mrttestfp.hlsl +0 -48
- data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsl +0 -17
- data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsles +0 -20
- data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsl +0 -20
- data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsles +0 -21
- data/deps/share/OGRE/media/materials/programs/oceanGLSL.frag +0 -45
- data/deps/share/OGRE/media/materials/programs/oceanGLSL.vert +0 -32
- data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.frag +0 -45
- data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.vert +0 -41
- data/deps/share/OGRE/media/materials/programs/particlesgs.fx +0 -367
- data/deps/share/OGRE/media/materials/programs/pssm.cg +0 -164
- data/deps/share/OGRE/media/materials/programs/pssm.hlsl +0 -167
- data/deps/share/OGRE/media/materials/programs/pssmCasterFp.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/pssmCasterVp.glsles +0 -21
- data/deps/share/OGRE/media/materials/programs/pssmFp.glsles +0 -0
- data/deps/share/OGRE/media/materials/programs/pssmReceiverFp.glsles +0 -92
- data/deps/share/OGRE/media/materials/programs/pssmReceiverVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/pssmVp.glsles +0 -0
- data/deps/share/OGRE/media/materials/programs/shadows.cg +0 -144
- data/deps/share/OGRE/media/materials/programs/shadows.glsl +0 -146
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsles +0 -46
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsl +0 -61
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.cg +0 -65
- data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.glsles +0 -132
- data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.cg +0 -44
- data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.glsles +0 -88
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.cg +0 -107
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.glsles +0 -214
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.cg +0 -47
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.glsles +0 -94
- data/deps/share/OGRE/media/materials/scripts/ASCII.material +0 -55
- data/deps/share/OGRE/media/materials/scripts/ASMSwizzle.material +0 -19
- data/deps/share/OGRE/media/materials/scripts/BlackAndWhite.material +0 -45
- data/deps/share/OGRE/media/materials/scripts/Bloom.material +0 -217
- data/deps/share/OGRE/media/materials/scripts/Bloom2.material +0 -360
- data/deps/share/OGRE/media/materials/scripts/CGSwizzle.material +0 -20
- data/deps/share/OGRE/media/materials/scripts/CompositorDemo.material +0 -18
- data/deps/share/OGRE/media/materials/scripts/DOF.material +0 -94
- data/deps/share/OGRE/media/materials/scripts/DepthShadowmap.material +0 -747
- data/deps/share/OGRE/media/materials/scripts/Dither.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/DualQuaternion.material +0 -112
- data/deps/share/OGRE/media/materials/scripts/DualQuaternion.program +0 -154
- data/deps/share/OGRE/media/materials/scripts/Embossed.material +0 -44
- data/deps/share/OGRE/media/materials/scripts/Example-Water.material +0 -183
- data/deps/share/OGRE/media/materials/scripts/Examples-Advanced.material +0 -842
- data/deps/share/OGRE/media/materials/scripts/Examples-DynTex.material +0 -38
- data/deps/share/OGRE/media/materials/scripts/Examples-Water.material +0 -183
- data/deps/share/OGRE/media/materials/scripts/Examples.compositor +0 -788
- data/deps/share/OGRE/media/materials/scripts/Examples.material +0 -2035
- data/deps/share/OGRE/media/materials/scripts/Examples.program +0 -340
- data/deps/share/OGRE/media/materials/scripts/GLSLSwizzle.material +0 -37
- data/deps/share/OGRE/media/materials/scripts/Glass.material +0 -56
- data/deps/share/OGRE/media/materials/scripts/HWInstancing.material +0 -131
- data/deps/share/OGRE/media/materials/scripts/HW_VTFInstancing.material +0 -445
- data/deps/share/OGRE/media/materials/scripts/HW_VTF_LUTInstancing.material +0 -438
- data/deps/share/OGRE/media/materials/scripts/Halftone.material +0 -56
- data/deps/share/OGRE/media/materials/scripts/HeatVision.material +0 -317
- data/deps/share/OGRE/media/materials/scripts/Hurt.material +0 -18
- data/deps/share/OGRE/media/materials/scripts/InstancingMisc.material +0 -81
- data/deps/share/OGRE/media/materials/scripts/Invert.material +0 -47
- data/deps/share/OGRE/media/materials/scripts/IsoSurf.material +0 -127
- data/deps/share/OGRE/media/materials/scripts/Laplace.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/MRTtest.material +0 -133
- data/deps/share/OGRE/media/materials/scripts/MotionBlur.material +0 -101
- data/deps/share/OGRE/media/materials/scripts/NightVision.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/Ocean.controls +0 -90
- data/deps/share/OGRE/media/materials/scripts/Ocean.material +0 -618
- data/deps/share/OGRE/media/materials/scripts/OffsetMapping.material +0 -447
- data/deps/share/OGRE/media/materials/scripts/Ogre.material +0 -66
- data/deps/share/OGRE/media/materials/scripts/OldMovie.material +0 -85
- data/deps/share/OGRE/media/materials/scripts/OldTV.material +0 -59
- data/deps/share/OGRE/media/materials/scripts/ParticleGS.material +0 -200
- data/deps/share/OGRE/media/materials/scripts/Penguin.material +0 -13
- data/deps/share/OGRE/media/materials/scripts/Posterize.material +0 -46
- data/deps/share/OGRE/media/materials/scripts/RZR-002.material +0 -15
- data/deps/share/OGRE/media/materials/scripts/RadialBlur.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.cg +0 -65
- data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.cg +0 -88
- data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.cg +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.material +0 -61
- data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.cg +0 -86
- data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.material +0 -60
- data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.cg +0 -95
- data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.material +0 -58
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAO.compositor +0 -224
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.cg +0 -153
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.compositor +0 -77
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.material +0 -239
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.cg +0 -13
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.material +0 -47
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.cg +0 -11
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.material +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.cg +0 -11
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.material +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.cg +0 -79
- data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.material +0 -141
- data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.cg +0 -82
- data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.material +0 -59
- data/deps/share/OGRE/media/materials/scripts/ShaderInstancing.material +0 -380
- data/deps/share/OGRE/media/materials/scripts/ShaderSystem.material +0 -20
- data/deps/share/OGRE/media/materials/scripts/SharpenEdges.material +0 -66
- data/deps/share/OGRE/media/materials/scripts/StdQuad_vp.program +0 -162
- data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleOrg.tai +0 -36
- data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleWrap.tai +0 -36
- data/deps/share/OGRE/media/materials/scripts/Tiling.material +0 -50
- data/deps/share/OGRE/media/materials/scripts/VTFInstancing.material +0 -438
- data/deps/share/OGRE/media/materials/scripts/VarianceShadowmap.material +0 -103
- data/deps/share/OGRE/media/materials/scripts/facial.material +0 -98
- data/deps/share/OGRE/media/materials/scripts/hdr.material +0 -332
- data/deps/share/OGRE/media/materials/scripts/instancing.material +0 -185
- data/deps/share/OGRE/media/materials/scripts/pssm.material +0 -226
- data/deps/share/OGRE/media/materials/scripts/shadows.material +0 -130
- data/deps/share/OGRE/media/materials/scripts/sibenik.material +0 -305
- data/deps/share/OGRE/media/materials/scripts/smoke.material +0 -19
- data/deps/share/OGRE/media/materials/textures/10points.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1D_Noise.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1D_Noise2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1d_SPIRAL.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1d_debug.png +0 -0
- data/deps/share/OGRE/media/materials/textures/8x8PagesSplotches2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ASCII.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/BeachStones.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/BumpyMetal.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Chrome.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Dirt.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Dr_Bunsen_Head.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/GLX_icon.png +0 -0
- data/deps/share/OGRE/media/materials/textures/GreenSkin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/HeatLookup.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/HeatNoise.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN-stup.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN320x240-bump.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN320x240.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/LowRes.png +0 -0
- data/deps/share/OGRE/media/materials/textures/MRAMOR-bump.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/MRAMOR6X6.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/MtlPlat2.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/NMBalls.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMBumpsOut.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMHollyBumps.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMStripes.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NPRMetallic.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/NoiseVolume.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Diffuse.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Normal_Obj.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Normal_Tangent.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_reflection.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_refmask.png +0 -0
- data/deps/share/OGRE/media/materials/textures/RZR-002.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Random3D.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/RustedMetal.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/RustyBarrel.png +0 -0
- data/deps/share/OGRE/media/materials/textures/RustySteel.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/4InterleavedKMeansDisk8x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/gray256.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/importance4InterleavedSphereHemisphere8x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/rand1x32.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/randCosSinJitter4x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/regularSphereJittered4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Sepia1D.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/SmallLeaf_BP.png +0 -0
- data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleOrg0.png +0 -0
- data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleWrap0.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Water01.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Water02.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/WaterNormal1.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/WaterNormal2.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/WoodPallet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/atheneNormalMap.png +0 -0
- data/deps/share/OGRE/media/materials/textures/aureola.png +0 -0
- data/deps/share/OGRE/media/materials/textures/basic_droplet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/blue_jaiqua.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_diffuse.png +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_edge.png +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_specular.png +0 -0
- data/deps/share/OGRE/media/materials/textures/checker.png +0 -0
- data/deps/share/OGRE/media/materials/textures/circuit.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/clouds.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/cursor.png +0 -0
- data/deps/share/OGRE/media/materials/textures/dark_grid.png +0 -0
- data/deps/share/OGRE/media/materials/textures/dirt01.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/dkyellow.png +0 -0
- data/deps/share/OGRE/media/materials/textures/droplet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/egyptrockyfull.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/flare.png +0 -0
- data/deps/share/OGRE/media/materials/textures/flare_alpha.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/flaretrail.png +0 -0
- data/deps/share/OGRE/media/materials/textures/frost.png +0 -0
- data/deps/share/OGRE/media/materials/textures/fw12b.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/gras_02.png +0 -0
- data/deps/share/OGRE/media/materials/textures/grassWalpha.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/grass_1024.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/img1.png +0 -0
- data/deps/share/OGRE/media/materials/textures/img2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/leaf.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_bk.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_dn.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_fr.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_lf.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_rt.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_up.png +0 -0
- data/deps/share/OGRE/media/materials/textures/normalNoiseColor.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nskingr.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/TextureUsageAgreement.txt +0 -26
- data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/ogreborder.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogreborderUp.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrebordercenter.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogregui.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrelogo-small.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrelogo.png +0 -0
- data/deps/share/OGRE/media/materials/textures/particle.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/penguin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/perlinvolume.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/r2skin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/radial.png +0 -0
- data/deps/share/OGRE/media/materials/textures/random.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ribbonband.png +0 -0
- data/deps/share/OGRE/media/materials/textures/rockwall.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/rockwall_NH.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-back.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-down-p.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-down.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-thumb.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-up-p.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-up.png +0 -0
- data/deps/share/OGRE/media/materials/textures/smoke.png +0 -0
- data/deps/share/OGRE/media/materials/textures/smokecolors.png +0 -0
- data/deps/share/OGRE/media/materials/textures/snow_1024.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/spacesky.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/spheremap.png +0 -0
- data/deps/share/OGRE/media/materials/textures/spine_strips.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/spotlight_image.png +0 -0
- data/deps/share/OGRE/media/materials/textures/steelhead.png +0 -0
- data/deps/share/OGRE/media/materials/textures/strugotine.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_dirt-grass.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_rock-dirt.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_rock6.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain.png +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain_detail.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain_texture.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/texmap2.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/tusk.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/waveNM.png +0 -0
- data/deps/share/OGRE/media/materials/textures/waves2.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/white.bmp +0 -0
- data/deps/share/OGRE/media/models/Barrel.mesh +0 -0
- data/deps/share/OGRE/media/models/RZR-002.mesh +0 -0
- data/deps/share/OGRE/media/models/ShaderSystem.mesh +0 -0
- data/deps/share/OGRE/media/models/WoodPallet.mesh +0 -0
- data/deps/share/OGRE/media/models/athene.mesh +0 -0
- data/deps/share/OGRE/media/models/column.mesh +0 -0
- data/deps/share/OGRE/media/models/cornell.mesh +0 -0
- data/deps/share/OGRE/media/models/cube.mesh +0 -0
- data/deps/share/OGRE/media/models/facial.mesh +0 -0
- data/deps/share/OGRE/media/models/fish.mesh +0 -0
- data/deps/share/OGRE/media/models/fish.skeleton +0 -0
- data/deps/share/OGRE/media/models/geosphere4500.mesh +0 -0
- data/deps/share/OGRE/media/models/geosphere8000.mesh +0 -0
- data/deps/share/OGRE/media/models/jaiqua.mesh +0 -0
- data/deps/share/OGRE/media/models/jaiqua.skeleton +0 -0
- data/deps/share/OGRE/media/models/knot.mesh +0 -0
- data/deps/share/OGRE/media/models/ninja.mesh +0 -0
- data/deps/share/OGRE/media/models/ninja.skeleton +0 -0
- data/deps/share/OGRE/media/models/ogrehead.mesh +0 -0
- data/deps/share/OGRE/media/models/penguin.mesh +0 -0
- data/deps/share/OGRE/media/models/penguin.skeleton +0 -0
- data/deps/share/OGRE/media/models/razor.mesh +0 -0
- data/deps/share/OGRE/media/models/robot.mesh +0 -0
- data/deps/share/OGRE/media/models/robot.skeleton +0 -0
- data/deps/share/OGRE/media/models/sibenik.mesh +0 -0
- data/deps/share/OGRE/media/models/sphere.mesh +0 -0
- data/deps/share/OGRE/media/models/spine.mesh +0 -0
- data/deps/share/OGRE/media/models/spine.mesh.skeleton +0 -0
- data/deps/share/OGRE/media/models/tudorhouse.mesh +0 -0
- data/deps/share/OGRE/media/packs/SdkTrays.zip +0 -0
- data/deps/share/OGRE/media/packs/Sinbad.zip +0 -0
- data/deps/share/OGRE/media/packs/chiropteraDM.pk3 +0 -0
- data/deps/share/OGRE/media/packs/chiropteraDM.txt +0 -99
- data/deps/share/OGRE/media/packs/cubemap.zip +0 -0
- data/deps/share/OGRE/media/packs/cubemapsJS.zip +0 -0
- data/deps/share/OGRE/media/packs/dragon.zip +0 -0
- data/deps/share/OGRE/media/packs/fresneldemo.zip +0 -0
- data/deps/share/OGRE/media/packs/ogredance.zip +0 -0
- data/deps/share/OGRE/media/packs/ogretestmap.zip +0 -0
- data/deps/share/OGRE/media/packs/profiler.zip +0 -0
- data/deps/share/OGRE/media/packs/skybox.zip +0 -0
- data/deps/share/OGRE/media/particle/Examples-Water.particle +0 -35
- data/deps/share/OGRE/media/particle/Examples.particle +0 -381
- data/deps/share/OGRE/media/particle/emitted_emitter.particle +0 -56
- data/deps/share/OGRE/media/particle/smoke.particle +0 -44
- data/deps/share/OGRE/media/terrain.cfg +0 -71
- data/deps/share/OGRE/media/thumbnails/thumb_bezier.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_bsp.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_bump.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_camtrack.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_cel.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_char.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_comp.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_cubemap.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_deferred.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_dualquaternionskinning.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_dyntex.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_error.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_facial.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_fresnel.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_grass.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_instancing.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_isosurf.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_lighting.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_newinstancing.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_ocean.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_particlegs.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_particles.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_playpen.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_shadersystem.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_shadows.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skelanim.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skybox.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skydome.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skyplane.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_smoke.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_spheremap.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_ssao.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_terrain.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_texarray.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_texfx.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_trans.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_visual_tests.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_voltex.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_water.png +0 -0
- data/lib/ogre.so +0 -0
- data/lib/ogre_config.rb +0 -37
- data/lib/ogrebites.so +0 -0
- data/lib/ois.so +0 -0
- data/lib/procedural.so +0 -0
- data/sample/charactor/camera_mover.rb +0 -184
- data/sample/charactor/plugins.cfg +0 -17
- data/sample/charactor/resources.cfg +0 -22
- data/sample/charactor/sinbad +0 -5
- data/sample/charactor/sinbad.rb +0 -250
- data/sample/charactor/sinbad.win +0 -5
- data/sample/charactor/sinbad_character.rb +0 -379
- data/sample/charactor/ui_listener.rb +0 -65
@@ -1,2076 +0,0 @@
|
|
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-2012 Torus Knot Software Ltd
|
8
|
-
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
11
|
-
in the Software without restriction, including without limitation the rights
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
14
|
-
furnished to do so, subject to the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
17
|
-
all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
25
|
-
THE SOFTWARE.
|
26
|
-
-----------------------------------------------------------------------------
|
27
|
-
*/
|
28
|
-
|
29
|
-
#ifndef __Ogre_Terrain_H__
|
30
|
-
#define __Ogre_Terrain_H__
|
31
|
-
|
32
|
-
#include "OgreTerrainPrerequisites.h"
|
33
|
-
#include "OgreCommon.h"
|
34
|
-
#include "OgreVector3.h"
|
35
|
-
#include "OgreAxisAlignedBox.h"
|
36
|
-
#include "OgreSceneManager.h"
|
37
|
-
#include "OgreTerrainMaterialGenerator.h"
|
38
|
-
#include "OgreTerrainLayerBlendMap.h"
|
39
|
-
#include "OgreWorkQueue.h"
|
40
|
-
|
41
|
-
namespace Ogre
|
42
|
-
{
|
43
|
-
/** \addtogroup Optional Components
|
44
|
-
* @{
|
45
|
-
*/
|
46
|
-
/** \addtogroup Terrain
|
47
|
-
* Some details on the terrain component
|
48
|
-
* @{
|
49
|
-
*/
|
50
|
-
|
51
|
-
/** The main containing class for a chunk of terrain.
|
52
|
-
@par
|
53
|
-
Terrain can be edited and stored.
|
54
|
-
The data format for this in a file is:<br/>
|
55
|
-
<b>TerrainData (Identifier 'TERR')</b>\n
|
56
|
-
[Version 1]
|
57
|
-
<table>
|
58
|
-
<tr>
|
59
|
-
<td><b>Name</b></td>
|
60
|
-
<td><b>Type</b></td>
|
61
|
-
<td><b>Description</b></td>
|
62
|
-
</tr>
|
63
|
-
<tr>
|
64
|
-
<td>Terrain orientation</td>
|
65
|
-
<td>uint8</td>
|
66
|
-
<td>The orientation of the terrain; XZ = 0, XY = 1, YZ = 2</td>
|
67
|
-
</tr>
|
68
|
-
<tr>
|
69
|
-
<td>Terrain size</td>
|
70
|
-
<td>uint16</td>
|
71
|
-
<td>The number of vertices along one side of the terrain</td>
|
72
|
-
</tr>
|
73
|
-
<tr>
|
74
|
-
<td>Terrain world size</td>
|
75
|
-
<td>Real</td>
|
76
|
-
<td>The world size of one side of the terrain</td>
|
77
|
-
</tr>
|
78
|
-
<tr>
|
79
|
-
<td>Max batch size</td>
|
80
|
-
<td>uint16</td>
|
81
|
-
<td>The maximum batch size in vertices along one side</td>
|
82
|
-
</tr>
|
83
|
-
<tr>
|
84
|
-
<td>Min batch size</td>
|
85
|
-
<td>uint16</td>
|
86
|
-
<td>The minimum batch size in vertices along one side</td>
|
87
|
-
</tr>
|
88
|
-
<tr>
|
89
|
-
<td>Position</td>
|
90
|
-
<td>Vector3</td>
|
91
|
-
<td>The location of the centre of the terrain</td>
|
92
|
-
</tr>
|
93
|
-
<tr>
|
94
|
-
<td>Height data</td>
|
95
|
-
<td>float[size*size]</td>
|
96
|
-
<td>List of floating point heights</td>
|
97
|
-
</tr>
|
98
|
-
<tr>
|
99
|
-
<td>LayerDeclaration</td>
|
100
|
-
<td>LayerDeclaration*</td>
|
101
|
-
<td>The layer declaration for this terrain (see below)</td>
|
102
|
-
</tr>
|
103
|
-
<tr>
|
104
|
-
<td>Layer count</td>
|
105
|
-
<td>uint8</td>
|
106
|
-
<td>The number of layers in this terrain</td>
|
107
|
-
</tr>
|
108
|
-
<tr>
|
109
|
-
<td>LayerInstance list</td>
|
110
|
-
<td>LayerInstance*</td>
|
111
|
-
<td>A number of LayerInstance definitions based on layer count (see below)</td>
|
112
|
-
</tr>
|
113
|
-
<tr>
|
114
|
-
<td>Layer blend map size</td>
|
115
|
-
<td>uint16</td>
|
116
|
-
<td>The size of the layer blend maps as stored in this file</td>
|
117
|
-
</tr>
|
118
|
-
<tr>
|
119
|
-
<td>Packed blend texture data</td>
|
120
|
-
<td>uint8*</td>
|
121
|
-
<td>layerCount-1 sets of blend texture data interleaved as either RGB or RGBA
|
122
|
-
depending on layer count</td>
|
123
|
-
</tr>
|
124
|
-
<tr>
|
125
|
-
<td>Optional derived map data</td>
|
126
|
-
<td>TerrainDerivedMap list</td>
|
127
|
-
<td>0 or more sets of map data derived from the original terrain</td>
|
128
|
-
</tr>
|
129
|
-
<tr>
|
130
|
-
<td>Delta data</td>
|
131
|
-
<td>float[size*size]</td>
|
132
|
-
<td>At each vertex, delta information for the LOD at which this vertex disappears</td>
|
133
|
-
</tr>
|
134
|
-
<tr>
|
135
|
-
<td>Quadtree delta data</td>
|
136
|
-
<td>float[quadtrees*lods]</td>
|
137
|
-
<td>At each quadtree node, for each lod a record of the max delta value in the region</td>
|
138
|
-
</tr>
|
139
|
-
</table>
|
140
|
-
<b>TerrainLayerDeclaration (Identifier 'TDCL')</b>\n
|
141
|
-
[Version 1]
|
142
|
-
<table>
|
143
|
-
<tr>
|
144
|
-
<td><b>Name</b></td>
|
145
|
-
<td><b>Type</b></td>
|
146
|
-
<td><b>Description</b></td>
|
147
|
-
</tr>
|
148
|
-
<tr>
|
149
|
-
<td>TerrainLayerSampler Count</td>
|
150
|
-
<td>uint8</td>
|
151
|
-
<td>Number of samplers in this declaration</td>
|
152
|
-
</tr>
|
153
|
-
<tr>
|
154
|
-
<td>TerrainLayerSampler List</td>
|
155
|
-
<td>TerrainLayerSampler*</td>
|
156
|
-
<td>List of TerrainLayerSampler structures</td>
|
157
|
-
</tr>
|
158
|
-
<tr>
|
159
|
-
<td>Sampler Element Count</td>
|
160
|
-
<td>uint8</td>
|
161
|
-
<td>Number of sampler elements in this declaration</td>
|
162
|
-
</tr>
|
163
|
-
<tr>
|
164
|
-
<td>TerrainLayerSamplerElement List</td>
|
165
|
-
<td>TerrainLayerSamplerElement*</td>
|
166
|
-
<td>List of TerrainLayerSamplerElement structures</td>
|
167
|
-
</tr>
|
168
|
-
</table>
|
169
|
-
<b>TerrainLayerSampler (Identifier 'TSAM')</b>\n
|
170
|
-
[Version 1]
|
171
|
-
<table>
|
172
|
-
<tr>
|
173
|
-
<td><b>Name</b></td>
|
174
|
-
<td><b>Type</b></td>
|
175
|
-
<td><b>Description</b></td>
|
176
|
-
</tr>
|
177
|
-
<tr>
|
178
|
-
<td>Alias</td>
|
179
|
-
<td>String</td>
|
180
|
-
<td>Alias name of this sampler</td>
|
181
|
-
</tr>
|
182
|
-
<tr>
|
183
|
-
<td>Format</td>
|
184
|
-
<td>uint8</td>
|
185
|
-
<td>Desired pixel format</td>
|
186
|
-
</tr>
|
187
|
-
</table>
|
188
|
-
<b>TerrainLayerSamplerElement (Identifier 'TSEL')</b>\n
|
189
|
-
[Version 1]
|
190
|
-
<table>
|
191
|
-
<tr>
|
192
|
-
<td><b>Name</b></td>
|
193
|
-
<td><b>Type</b></td>
|
194
|
-
<td><b>Description</b></td>
|
195
|
-
</tr>
|
196
|
-
<tr>
|
197
|
-
<td>Source</td>
|
198
|
-
<td>uint8</td>
|
199
|
-
<td>Sampler source index</td>
|
200
|
-
</tr>
|
201
|
-
<tr>
|
202
|
-
<td>Semantic</td>
|
203
|
-
<td>uint8</td>
|
204
|
-
<td>Semantic interpretation of this element</td>
|
205
|
-
</tr>
|
206
|
-
<tr>
|
207
|
-
<td>Element start</td>
|
208
|
-
<td>uint8</td>
|
209
|
-
<td>Start of this element in the sampler</td>
|
210
|
-
</tr>
|
211
|
-
<tr>
|
212
|
-
<td>Element count</td>
|
213
|
-
<td>uint8</td>
|
214
|
-
<td>Number of elements in the sampler used by this entry</td>
|
215
|
-
</tr>
|
216
|
-
</table>
|
217
|
-
<b>LayerInstance (Identifier 'TLIN')</b>\n
|
218
|
-
[Version 1]
|
219
|
-
<table>
|
220
|
-
<tr>
|
221
|
-
<td><b>Name</b></td>
|
222
|
-
<td><b>Type</b></td>
|
223
|
-
<td><b>Description</b></td>
|
224
|
-
</tr>
|
225
|
-
<tr>
|
226
|
-
<td>World size</td>
|
227
|
-
<td>Real</td>
|
228
|
-
<td>The world size of this layer (determines UV scaling)</td>
|
229
|
-
</tr>
|
230
|
-
<tr>
|
231
|
-
<td>Texture list</td>
|
232
|
-
<td>String*</td>
|
233
|
-
<td>List of texture names corresponding to the number of samplers in the layer declaration</td>
|
234
|
-
</tr>
|
235
|
-
</table>
|
236
|
-
<b>TerrainDerivedData (Identifier 'TDDA')</b>\n
|
237
|
-
[Version 1]
|
238
|
-
<table>
|
239
|
-
<tr>
|
240
|
-
<td><b>Name</b></td>
|
241
|
-
<td><b>Type</b></td>
|
242
|
-
<td><b>Description</b></td>
|
243
|
-
</tr>
|
244
|
-
<tr>
|
245
|
-
<td>Derived data type name</td>
|
246
|
-
<td>String</td>
|
247
|
-
<td>Name of the derived data type ('normalmap', 'lightmap', 'colourmap', 'compositemap')</td>
|
248
|
-
</tr>
|
249
|
-
<tr>
|
250
|
-
<td>Size</td>
|
251
|
-
<td>uint16</td>
|
252
|
-
<td>Size of the data along one edge</td>
|
253
|
-
</tr>
|
254
|
-
<tr>
|
255
|
-
<td>Data</td>
|
256
|
-
<td>varies based on type</td>
|
257
|
-
<td>The data</td>
|
258
|
-
</tr>
|
259
|
-
</table>
|
260
|
-
*/
|
261
|
-
class _OgreTerrainExport Terrain : public SceneManager::Listener,
|
262
|
-
public WorkQueue::RequestHandler, public WorkQueue::ResponseHandler, public TerrainAlloc
|
263
|
-
{
|
264
|
-
public:
|
265
|
-
/** Constructor.
|
266
|
-
@param sm The SceneManager to use.
|
267
|
-
*/
|
268
|
-
Terrain(SceneManager* sm);
|
269
|
-
virtual ~Terrain();
|
270
|
-
|
271
|
-
static const uint32 TERRAIN_CHUNK_ID;
|
272
|
-
static const uint16 TERRAIN_CHUNK_VERSION;
|
273
|
-
static const uint16 TERRAIN_MAX_BATCH_SIZE;
|
274
|
-
|
275
|
-
static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID;
|
276
|
-
static const uint16 TERRAINLAYERDECLARATION_CHUNK_VERSION;
|
277
|
-
static const uint32 TERRAINLAYERSAMPLER_CHUNK_ID;
|
278
|
-
static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION;
|
279
|
-
static const uint32 TERRAINLAYERSAMPLERELEMENT_CHUNK_ID;
|
280
|
-
static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION;
|
281
|
-
static const uint32 TERRAINLAYERINSTANCE_CHUNK_ID;
|
282
|
-
static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION;
|
283
|
-
static const uint32 TERRAINDERIVEDDATA_CHUNK_ID;
|
284
|
-
static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION;
|
285
|
-
|
286
|
-
static const size_t LOD_MORPH_CUSTOM_PARAM;
|
287
|
-
|
288
|
-
typedef vector<Real>::type RealVector;
|
289
|
-
|
290
|
-
/** An instance of a layer, with specific texture names
|
291
|
-
*/
|
292
|
-
struct _OgreTerrainExport LayerInstance
|
293
|
-
{
|
294
|
-
/// The world size of the texture to be applied in this layer
|
295
|
-
Real worldSize;
|
296
|
-
/// List of texture names to import; must match with TerrainLayerDeclaration
|
297
|
-
StringVector textureNames;
|
298
|
-
|
299
|
-
LayerInstance()
|
300
|
-
: worldSize(100) {}
|
301
|
-
};
|
302
|
-
typedef vector<LayerInstance>::type LayerInstanceList;
|
303
|
-
|
304
|
-
/// The alignment of the terrain
|
305
|
-
enum Alignment
|
306
|
-
{
|
307
|
-
/// Terrain is in the X/Z plane
|
308
|
-
ALIGN_X_Z = 0,
|
309
|
-
/// Terrain is in the X/Y plane
|
310
|
-
ALIGN_X_Y = 1,
|
311
|
-
/// Terrain is in the Y/Z plane
|
312
|
-
ALIGN_Y_Z = 2
|
313
|
-
};
|
314
|
-
|
315
|
-
/** Structure encapsulating import data that you may use to bootstrap
|
316
|
-
the terrain without loading from a native data stream.
|
317
|
-
*/
|
318
|
-
struct ImportData
|
319
|
-
{
|
320
|
-
/// The alignment of the terrain
|
321
|
-
Alignment terrainAlign;
|
322
|
-
/// Terrain size (along one edge) in vertices; must be 2^n+1
|
323
|
-
uint16 terrainSize;
|
324
|
-
/** Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65
|
325
|
-
@remarks
|
326
|
-
The terrain will be divided into hierarchical tiles, and this is the maximum
|
327
|
-
size of one tile in vertices (at any LOD).
|
328
|
-
*/
|
329
|
-
uint16 maxBatchSize;
|
330
|
-
/** Minimum batch size (along one edge) in vertices; must be 2^n+1.
|
331
|
-
@remarks
|
332
|
-
The terrain will be divided into tiles, and this is the minimum
|
333
|
-
size of one tile in vertices (at any LOD). Adjacent tiles will be
|
334
|
-
collected together into one batch to drop LOD levels once they are individually at this minimum,
|
335
|
-
so setting this value higher means greater batching at the expense
|
336
|
-
of making adjacent tiles use a common LOD.
|
337
|
-
Once the entire terrain is collected together into one batch this
|
338
|
-
effectively sets the minimum LOD.
|
339
|
-
*/
|
340
|
-
uint16 minBatchSize;
|
341
|
-
|
342
|
-
/** Position of the terrain.
|
343
|
-
@remarks
|
344
|
-
Represents the position of the centre of the terrain.
|
345
|
-
*/
|
346
|
-
Vector3 pos;
|
347
|
-
|
348
|
-
/** The world size of the terrain. */
|
349
|
-
Real worldSize;
|
350
|
-
|
351
|
-
/** Optional heightmap providing the initial heights for the terrain.
|
352
|
-
@remarks
|
353
|
-
If supplied, should ideally be terrainSize * terrainSize, but if
|
354
|
-
it isn't it will be resized.
|
355
|
-
*/
|
356
|
-
Image* inputImage;
|
357
|
-
|
358
|
-
/** Optional list of terrainSize * terrainSize floats defining the terrain.
|
359
|
-
The list of floats wil be interpreted such that the first row
|
360
|
-
in the array equates to the bottom row of vertices.
|
361
|
-
*/
|
362
|
-
float* inputFloat;
|
363
|
-
|
364
|
-
/** If neither inputImage or inputFloat are supplied, the constant
|
365
|
-
height at which the initial terrain should be created (flat).
|
366
|
-
*/
|
367
|
-
float constantHeight;
|
368
|
-
|
369
|
-
/** Whether this structure should 'own' the input data (inputImage and
|
370
|
-
inputFloat), and therefore delete it on destruction.
|
371
|
-
The default is false so you have to manage your own memory. If you
|
372
|
-
set it to true, then you must have allocated the memory through
|
373
|
-
OGRE_NEW (for Image) and OGRE_ALLOC_T (for inputFloat), the latter
|
374
|
-
with the category MEMCATEGORY_GEOMETRY.
|
375
|
-
*/
|
376
|
-
bool deleteInputData;
|
377
|
-
|
378
|
-
/// How to scale the input values provided (if any)
|
379
|
-
Real inputScale;
|
380
|
-
/// How to bias the input values provided (if any)
|
381
|
-
Real inputBias;
|
382
|
-
|
383
|
-
/** Definition of the contents of each layer (required).
|
384
|
-
Most likely, you will pull a declaration from a TerrainMaterialGenerator
|
385
|
-
of your choice.
|
386
|
-
*/
|
387
|
-
TerrainLayerDeclaration layerDeclaration;
|
388
|
-
/** List of layer structures, one for each layer required.
|
389
|
-
Can be empty or underfilled if required, list will be padded with
|
390
|
-
blank textures.
|
391
|
-
*/
|
392
|
-
LayerInstanceList layerList;
|
393
|
-
|
394
|
-
ImportData()
|
395
|
-
: terrainAlign(ALIGN_X_Z)
|
396
|
-
, terrainSize(1025)
|
397
|
-
, maxBatchSize(65)
|
398
|
-
, minBatchSize(17)
|
399
|
-
, pos(Vector3::ZERO)
|
400
|
-
, worldSize(1000)
|
401
|
-
, inputImage(0)
|
402
|
-
, inputFloat(0)
|
403
|
-
, constantHeight(0)
|
404
|
-
, deleteInputData(false)
|
405
|
-
, inputScale(1.0)
|
406
|
-
, inputBias(0.0)
|
407
|
-
{
|
408
|
-
|
409
|
-
}
|
410
|
-
|
411
|
-
ImportData(const ImportData& rhs)
|
412
|
-
: terrainAlign(ALIGN_X_Z)
|
413
|
-
, terrainSize(1025)
|
414
|
-
, maxBatchSize(65)
|
415
|
-
, minBatchSize(17)
|
416
|
-
, pos(Vector3::ZERO)
|
417
|
-
, worldSize(1000)
|
418
|
-
, inputImage(0)
|
419
|
-
, inputFloat(0)
|
420
|
-
, constantHeight(0)
|
421
|
-
, deleteInputData(false)
|
422
|
-
, inputScale(1.0)
|
423
|
-
, inputBias(0.0)
|
424
|
-
{
|
425
|
-
*this = rhs;
|
426
|
-
}
|
427
|
-
|
428
|
-
ImportData& operator=(const ImportData& rhs)
|
429
|
-
{
|
430
|
-
// basic copy
|
431
|
-
terrainAlign = rhs.terrainAlign;
|
432
|
-
terrainSize = rhs.terrainSize;
|
433
|
-
maxBatchSize = rhs.maxBatchSize;
|
434
|
-
minBatchSize = rhs.minBatchSize;
|
435
|
-
pos = rhs.pos;
|
436
|
-
worldSize = rhs.worldSize;
|
437
|
-
constantHeight = rhs.constantHeight;
|
438
|
-
deleteInputData = rhs.deleteInputData;
|
439
|
-
inputScale = rhs.inputScale;
|
440
|
-
inputBias = rhs.inputBias;
|
441
|
-
layerDeclaration = rhs.layerDeclaration;
|
442
|
-
layerList = rhs.layerList;
|
443
|
-
|
444
|
-
// By-value copies in ownership cases
|
445
|
-
if (rhs.deleteInputData)
|
446
|
-
{
|
447
|
-
if (rhs.inputImage)
|
448
|
-
inputImage = OGRE_NEW Image(*rhs.inputImage);
|
449
|
-
else
|
450
|
-
inputImage = 0;
|
451
|
-
|
452
|
-
if (rhs.inputFloat)
|
453
|
-
{
|
454
|
-
inputFloat = OGRE_ALLOC_T(float, terrainSize*terrainSize, MEMCATEGORY_GEOMETRY);
|
455
|
-
memcpy(inputFloat, rhs.inputFloat, sizeof(float) * terrainSize*terrainSize);
|
456
|
-
}
|
457
|
-
else
|
458
|
-
inputFloat = 0;
|
459
|
-
}
|
460
|
-
else
|
461
|
-
{
|
462
|
-
// re-use pointers
|
463
|
-
inputImage = rhs.inputImage;
|
464
|
-
inputFloat = rhs.inputFloat;
|
465
|
-
}
|
466
|
-
return *this;
|
467
|
-
}
|
468
|
-
|
469
|
-
/// Delete any input data if this struct is set to do so
|
470
|
-
void destroy()
|
471
|
-
{
|
472
|
-
if (deleteInputData)
|
473
|
-
{
|
474
|
-
OGRE_DELETE inputImage;
|
475
|
-
OGRE_FREE(inputFloat, MEMCATEGORY_GEOMETRY);
|
476
|
-
inputImage = 0;
|
477
|
-
inputFloat = 0;
|
478
|
-
}
|
479
|
-
|
480
|
-
}
|
481
|
-
|
482
|
-
~ImportData()
|
483
|
-
{
|
484
|
-
destroy();
|
485
|
-
}
|
486
|
-
|
487
|
-
};
|
488
|
-
|
489
|
-
/// Neighbour index enumeration - indexed anticlockwise from East like angles
|
490
|
-
enum NeighbourIndex
|
491
|
-
{
|
492
|
-
NEIGHBOUR_EAST = 0,
|
493
|
-
NEIGHBOUR_NORTHEAST = 1,
|
494
|
-
NEIGHBOUR_NORTH = 2,
|
495
|
-
NEIGHBOUR_NORTHWEST = 3,
|
496
|
-
NEIGHBOUR_WEST = 4,
|
497
|
-
NEIGHBOUR_SOUTHWEST = 5,
|
498
|
-
NEIGHBOUR_SOUTH = 6,
|
499
|
-
NEIGHBOUR_SOUTHEAST = 7,
|
500
|
-
|
501
|
-
NEIGHBOUR_COUNT = 8
|
502
|
-
};
|
503
|
-
|
504
|
-
SceneManager* getSceneManager() const { return mSceneMgr; }
|
505
|
-
|
506
|
-
/// Enumeration of relative spaces that you might want to use to address the terrain
|
507
|
-
enum Space
|
508
|
-
{
|
509
|
-
/// Simple global world space, axes and positions are all in world space
|
510
|
-
WORLD_SPACE = 0,
|
511
|
-
/// As world space, but positions are relative to the terrain world position
|
512
|
-
LOCAL_SPACE = 1,
|
513
|
-
/** x & y are parametric values on the terrain from 0 to 1, with the
|
514
|
-
origin at the bottom left. z is the world space height at that point.
|
515
|
-
*/
|
516
|
-
TERRAIN_SPACE = 2,
|
517
|
-
/** x & y are integer points on the terrain from 0 to size-1, with the
|
518
|
-
origin at the bottom left. z is the world space height at that point.
|
519
|
-
*/
|
520
|
-
POINT_SPACE = 3
|
521
|
-
};
|
522
|
-
|
523
|
-
/** Interface used to by the Terrain instance to allocate GPU buffers.
|
524
|
-
@remarks This class exists to make it easier to re-use buffers between
|
525
|
-
multiple instances of terrain.
|
526
|
-
*/
|
527
|
-
class _OgreTerrainExport GpuBufferAllocator : public TerrainAlloc
|
528
|
-
{
|
529
|
-
public:
|
530
|
-
GpuBufferAllocator() {}
|
531
|
-
virtual ~GpuBufferAllocator() {}
|
532
|
-
|
533
|
-
/** Allocate (or reuse) vertex buffers for a terrain LOD.
|
534
|
-
@param numVertices The total number of vertices
|
535
|
-
@param destPos Pointer to a vertex buffer for positions, to be bound
|
536
|
-
@param destDelta Pointer to a vertex buffer for deltas, to be bound
|
537
|
-
*/
|
538
|
-
virtual void allocateVertexBuffers(Terrain* forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr& destPos, HardwareVertexBufferSharedPtr& destDelta) = 0;
|
539
|
-
/** Free (or return to the pool) vertex buffers for terrain.
|
540
|
-
*/
|
541
|
-
virtual void freeVertexBuffers(const HardwareVertexBufferSharedPtr& posbuf, const HardwareVertexBufferSharedPtr& deltabuf) = 0;
|
542
|
-
|
543
|
-
/** Get a shared index buffer for a given number of settings.
|
544
|
-
@remarks
|
545
|
-
Since all index structures are the same at the same LOD level and
|
546
|
-
relative position, we can share index buffers. Therefore the
|
547
|
-
buffer returned from this method does not need to be 'freed' like
|
548
|
-
the vertex buffers since it is never owned.
|
549
|
-
@param batchSize The batch size along one edge
|
550
|
-
@param vdatasize The size of the referenced vertex data along one edge
|
551
|
-
@param vertexIncrement The number of vertices to increment for each new indexed row / column
|
552
|
-
@param xoffset The x offset from the start of vdatasize, at that resolution
|
553
|
-
@param yoffset The y offset from the start of vdatasize, at that resolution
|
554
|
-
@param numSkirtRowsCols Number of rows and columns of skirts
|
555
|
-
@param skirtRowColSkip The number of rows / cols to skip in between skirts
|
556
|
-
*/
|
557
|
-
virtual HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize,
|
558
|
-
uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
|
559
|
-
uint16 skirtRowColSkip) = 0;
|
560
|
-
|
561
|
-
/// Free any buffers we're holding
|
562
|
-
virtual void freeAllBuffers() = 0;
|
563
|
-
|
564
|
-
};
|
565
|
-
/// Standard implementation of a buffer allocator which re-uses buffers
|
566
|
-
class _OgreTerrainExport DefaultGpuBufferAllocator : public GpuBufferAllocator
|
567
|
-
{
|
568
|
-
public:
|
569
|
-
DefaultGpuBufferAllocator();
|
570
|
-
~DefaultGpuBufferAllocator();
|
571
|
-
void allocateVertexBuffers(Terrain* forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr& destPos, HardwareVertexBufferSharedPtr& destDelta);
|
572
|
-
void freeVertexBuffers(const HardwareVertexBufferSharedPtr& posbuf, const HardwareVertexBufferSharedPtr& deltabuf);
|
573
|
-
HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize,
|
574
|
-
uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
|
575
|
-
uint16 skirtRowColSkip);
|
576
|
-
void freeAllBuffers();
|
577
|
-
|
578
|
-
/** 'Warm start' the allocator based on needing x instances of
|
579
|
-
terrain with the given configuration.
|
580
|
-
*/
|
581
|
-
void warmStart(size_t numInstances, uint16 terrainSize, uint16 maxBatchSize,
|
582
|
-
uint16 minBatchSize);
|
583
|
-
|
584
|
-
protected:
|
585
|
-
typedef list<HardwareVertexBufferSharedPtr>::type VBufList;
|
586
|
-
VBufList mFreePosBufList;
|
587
|
-
VBufList mFreeDeltaBufList;
|
588
|
-
typedef map<uint32, HardwareIndexBufferSharedPtr>::type IBufMap;
|
589
|
-
IBufMap mSharedIBufMap;
|
590
|
-
|
591
|
-
uint32 hashIndexBuffer(uint16 batchSize,
|
592
|
-
uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
|
593
|
-
uint16 skirtRowColSkip);
|
594
|
-
HardwareVertexBufferSharedPtr getVertexBuffer(VBufList& list, size_t vertexSize, size_t numVertices);
|
595
|
-
|
596
|
-
};
|
597
|
-
|
598
|
-
/** Tell this instance to use the given GpuBufferAllocator.
|
599
|
-
@remarks
|
600
|
-
May only be called when the terrain is not loaded.
|
601
|
-
*/
|
602
|
-
void setGpuBufferAllocator(GpuBufferAllocator* alloc);
|
603
|
-
|
604
|
-
/// Get the current buffer allocator
|
605
|
-
GpuBufferAllocator* getGpuBufferAllocator();
|
606
|
-
|
607
|
-
/// Utility method to get the number of indexes required to render a given batch
|
608
|
-
static size_t _getNumIndexesForBatchSize(uint16 batchSize);
|
609
|
-
/** Utility method to populate a (locked) index buffer.
|
610
|
-
@param pIndexes Pointer to an index buffer to populate
|
611
|
-
@param batchSize The number of vertices down one side of the batch
|
612
|
-
@param vdatasize The number of vertices down one side of the vertex data being referenced
|
613
|
-
@param vertexIncrement The number of vertices to increment for each new indexed row / column
|
614
|
-
@param xoffset The x offset from the start of the vertex data being referenced
|
615
|
-
@param yoffset The y offset from the start of the vertex data being referenced
|
616
|
-
@param numSkirtRowsCols Number of rows and columns of skirts
|
617
|
-
@param skirtRowColSkip The number of rows / cols to skip in between skirts
|
618
|
-
|
619
|
-
*/
|
620
|
-
static void _populateIndexBuffer(uint16* pIndexes, uint16 batchSize,
|
621
|
-
uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols,
|
622
|
-
uint16 skirtRowColSkip);
|
623
|
-
|
624
|
-
/** Utility method to calculate the skirt index for a given original vertex index. */
|
625
|
-
static uint16 _calcSkirtVertexIndex(uint16 mainIndex, uint16 vdatasize, bool isCol,
|
626
|
-
uint16 numSkirtRowsCols, uint16 skirtRowColSkip);
|
627
|
-
|
628
|
-
/** Convert a position from one space to another with respect to this terrain.
|
629
|
-
@param inSpace The space that inPos is expressed as
|
630
|
-
@param inPos The incoming position
|
631
|
-
@param outSpace The space which outPos should be expressed as
|
632
|
-
@param outPos The output position to be populated
|
633
|
-
*/
|
634
|
-
void convertPosition(Space inSpace, const Vector3& inPos, Space outSpace, Vector3& outPos) const;
|
635
|
-
/** Convert a position from one space to another with respect to this terrain.
|
636
|
-
@param inSpace The space that inPos is expressed as
|
637
|
-
@param inPos The incoming position
|
638
|
-
@param outSpace The space which outPos should be expressed as
|
639
|
-
@return The output position
|
640
|
-
*/
|
641
|
-
Vector3 convertPosition(Space inSpace, const Vector3& inPos, Space outSpace) const;
|
642
|
-
/** Convert a direction from one space to another with respect to this terrain.
|
643
|
-
@param inSpace The space that inDir is expressed as
|
644
|
-
@param inDir The incoming direction
|
645
|
-
@param outSpace The space which outDir should be expressed as
|
646
|
-
@param outDir The output direction to be populated
|
647
|
-
*/
|
648
|
-
void convertDirection(Space inSpace, const Vector3& inDir, Space outSpace, Vector3& outDir) const;
|
649
|
-
/** Convert a direction from one space to another with respect to this terrain.
|
650
|
-
@param inSpace The space that inDir is expressed as
|
651
|
-
@param inDir The incoming direction
|
652
|
-
@param outSpace The space which outDir should be expressed as
|
653
|
-
@return The output direction
|
654
|
-
*/
|
655
|
-
Vector3 convertDirection(Space inSpace, const Vector3& inDir, Space outSpace) const;
|
656
|
-
|
657
|
-
/** Set the resource group to use when loading / saving.
|
658
|
-
@param resGroup Resource group name - you can set this to blank to use
|
659
|
-
the default in TerrainGlobalOptions.
|
660
|
-
*/
|
661
|
-
void setResourceGroup(const String& resGroup) { mResourceGroup = resGroup; }
|
662
|
-
|
663
|
-
/** Get the resource group to use when loading / saving.
|
664
|
-
If this is blank, the default in TerrainGlobalOptions will be used.
|
665
|
-
*/
|
666
|
-
const String& getResourceGroup() const { return mResourceGroup; }
|
667
|
-
|
668
|
-
/** Get the final resource group to use when loading / saving.
|
669
|
-
*/
|
670
|
-
const String& _getDerivedResourceGroup() const;
|
671
|
-
|
672
|
-
/** Save terrain data in native form to a standalone file
|
673
|
-
@param filename The name of the file to save to. If this is a filename with
|
674
|
-
no path elements, then it is saved in the first writeable location
|
675
|
-
available in the resource group you have chosen to use for this
|
676
|
-
terrain. If the filename includes path specifiers then it is saved
|
677
|
-
directly instead (but note that it may not be reloadable via the
|
678
|
-
resource system if the location is not on the path).
|
679
|
-
*/
|
680
|
-
void save(const String& filename);
|
681
|
-
/** Save terrain data in native form to a serializing stream.
|
682
|
-
@remarks
|
683
|
-
If you want complete control over where the terrain data goes, use
|
684
|
-
this form.
|
685
|
-
*/
|
686
|
-
void save(StreamSerialiser& stream);
|
687
|
-
|
688
|
-
/** Prepare the terrain from a standalone file.
|
689
|
-
@note
|
690
|
-
This is safe to do in a background thread as it creates no GPU resources.
|
691
|
-
It reads data from a native terrain data chunk. For more advanced uses,
|
692
|
-
such as loading from a shared file, use the StreamSerialiser form.
|
693
|
-
*/
|
694
|
-
bool prepare(const String& filename);
|
695
|
-
/** Prepare terrain data from saved data.
|
696
|
-
@remarks
|
697
|
-
This is safe to do in a background thread as it creates no GPU resources.
|
698
|
-
It reads data from a native terrain data chunk.
|
699
|
-
@return true if the preparation was successful
|
700
|
-
*/
|
701
|
-
bool prepare(StreamSerialiser& stream);
|
702
|
-
|
703
|
-
/** Prepare the terrain from some import data rather than loading from
|
704
|
-
native data.
|
705
|
-
@remarks
|
706
|
-
This method may be called in a background thread.
|
707
|
-
*/
|
708
|
-
bool prepare(const ImportData& importData);
|
709
|
-
|
710
|
-
/** Prepare and load the terrain in one simple call from a standalone file.
|
711
|
-
@note
|
712
|
-
This method must be called from the primary render thread. To load data
|
713
|
-
in a background thread, use the prepare() method.
|
714
|
-
*/
|
715
|
-
void load(const String& filename);
|
716
|
-
|
717
|
-
/** Prepare and load the terrain in one simple call from a stream.
|
718
|
-
@note
|
719
|
-
This method must be called from the primary render thread. To load data
|
720
|
-
in a background thread, use the prepare() method.
|
721
|
-
*/
|
722
|
-
void load(StreamSerialiser& stream);
|
723
|
-
|
724
|
-
/** Load the terrain based on the data already populated via prepare methods.
|
725
|
-
@remarks
|
726
|
-
This method must be called in the main render thread.
|
727
|
-
*/
|
728
|
-
void load();
|
729
|
-
|
730
|
-
/** Return whether the terrain is loaded.
|
731
|
-
@remarks
|
732
|
-
Should only be called from the render thread really, since this is
|
733
|
-
where the loaded state changes.
|
734
|
-
*/
|
735
|
-
bool isLoaded() const { return mIsLoaded; }
|
736
|
-
|
737
|
-
/** Returns whether this terrain has been modified since it was first loaded / defined.
|
738
|
-
@remarks
|
739
|
-
This flag is reset on save().
|
740
|
-
*/
|
741
|
-
bool isModified() const { return mModified; }
|
742
|
-
|
743
|
-
|
744
|
-
/** Returns whether terrain heights have been modified since the terrain was first loaded / defined.
|
745
|
-
@remarks
|
746
|
-
This flag is reset on save().
|
747
|
-
*/
|
748
|
-
bool isHeightDataModified() const { return mHeightDataModified; }
|
749
|
-
|
750
|
-
|
751
|
-
/** Unload the terrain and free GPU resources.
|
752
|
-
@remarks
|
753
|
-
This method must be called in the main render thread.
|
754
|
-
*/
|
755
|
-
void unload();
|
756
|
-
|
757
|
-
/** Free CPU resources created during prepare methods.
|
758
|
-
@remarks
|
759
|
-
This is safe to do in a background thread after calling unload().
|
760
|
-
*/
|
761
|
-
void unprepare();
|
762
|
-
|
763
|
-
|
764
|
-
/** Get a pointer to all the height data for this terrain.
|
765
|
-
@remarks
|
766
|
-
The height data is in world coordinates, relative to the position
|
767
|
-
of the terrain.
|
768
|
-
@par
|
769
|
-
This pointer is not const, so you can update the height data if you
|
770
|
-
wish. However, changes will not be propagated until you call
|
771
|
-
Terrain::dirty or Terrain::dirtyRect.
|
772
|
-
*/
|
773
|
-
float* getHeightData() const;
|
774
|
-
|
775
|
-
/** Get a pointer to the height data for a given point.
|
776
|
-
*/
|
777
|
-
float* getHeightData(long x, long y) const;
|
778
|
-
|
779
|
-
/** Get the height data for a given terrain point.
|
780
|
-
@param x, y Discrete coordinates in terrain vertices, values from 0 to size-1,
|
781
|
-
left/right bottom/top
|
782
|
-
*/
|
783
|
-
float getHeightAtPoint(long x, long y) const;
|
784
|
-
|
785
|
-
/** Set the height data for a given terrain point.
|
786
|
-
@note this doesn't take effect until you call update()
|
787
|
-
@param x, y Discrete coordinates in terrain vertices, values from 0 to size-1,
|
788
|
-
left/right bottom/top
|
789
|
-
@param h The new height
|
790
|
-
*/
|
791
|
-
void setHeightAtPoint(long x, long y, float h);
|
792
|
-
|
793
|
-
/** Get the height data for a given terrain position.
|
794
|
-
@param x, y Position in terrain space, values from 0 to 1 left/right bottom/top
|
795
|
-
*/
|
796
|
-
float getHeightAtTerrainPosition(Real x, Real y);
|
797
|
-
|
798
|
-
/** Get the height data for a given world position (projecting the point
|
799
|
-
down on to the terrain).
|
800
|
-
@param x, y,z Position in world space. Positions will be clamped to the edge
|
801
|
-
of the terrain
|
802
|
-
*/
|
803
|
-
float getHeightAtWorldPosition(Real x, Real y, Real z);
|
804
|
-
|
805
|
-
/** Get the height data for a given world position (projecting the point
|
806
|
-
down on to the terrain).
|
807
|
-
@param pos Position in world space. Positions will be clamped to the edge
|
808
|
-
of the terrain
|
809
|
-
*/
|
810
|
-
float getHeightAtWorldPosition(const Vector3& pos);
|
811
|
-
|
812
|
-
/** Get a pointer to all the delta data for this terrain.
|
813
|
-
@remarks
|
814
|
-
The delta data is a measure at a given vertex of by how much vertically
|
815
|
-
a vertex will have to move to reach the point at which it will be
|
816
|
-
removed in the next lower LOD.
|
817
|
-
*/
|
818
|
-
const float* getDeltaData();
|
819
|
-
|
820
|
-
/** Get a pointer to the delta data for a given point.
|
821
|
-
*/
|
822
|
-
const float* getDeltaData(long x, long y);
|
823
|
-
|
824
|
-
/** Get a Vector3 of the world-space point on the terrain, aligned as per
|
825
|
-
options.
|
826
|
-
@note This point is relative to Terrain::getPosition
|
827
|
-
*/
|
828
|
-
void getPoint(long x, long y, Vector3* outpos);
|
829
|
-
|
830
|
-
/** Get a Vector3 of the world-space point on the terrain, aligned as per
|
831
|
-
options. Cascades into neighbours if out of bounds.
|
832
|
-
@note This point is relative to Terrain::getPosition - neighbours are
|
833
|
-
adjusted to be relative to this tile
|
834
|
-
*/
|
835
|
-
void getPointFromSelfOrNeighbour(long x, long y, Vector3* outpos);
|
836
|
-
|
837
|
-
/** Get a Vector3 of the world-space point on the terrain, supplying the
|
838
|
-
height data manually (can be more optimal).
|
839
|
-
@note This point is relative to Terrain::getPosition
|
840
|
-
*/
|
841
|
-
void getPoint(long x, long y, float height, Vector3* outpos);
|
842
|
-
/** Get a transform which converts Vector4(xindex, yindex, height, 1) into
|
843
|
-
an object-space position including scalings and alignment.
|
844
|
-
*/
|
845
|
-
void getPointTransform(Matrix4* outXform) const;
|
846
|
-
/** Translate a vector from world space to local terrain space based on the alignment options.
|
847
|
-
@param inVec The vector in basis space, where x/y represents the
|
848
|
-
terrain plane and z represents the up vector
|
849
|
-
*/
|
850
|
-
void getTerrainVector(const Vector3& inVec, Vector3* outVec);
|
851
|
-
/** Translate a vector from world space to local terrain space based on a specified alignment.
|
852
|
-
@param inVec The vector in basis space, where x/y represents the
|
853
|
-
terrain plane and z represents the up vector
|
854
|
-
*/
|
855
|
-
void getTerrainVectorAlign(const Vector3& inVec, Alignment align, Vector3* outVec);
|
856
|
-
|
857
|
-
/** Translate a vector from world space to local terrain space based on the alignment options.
|
858
|
-
@param x, y, z The vector in basis space, where x/y represents the
|
859
|
-
terrain plane and z represents the up vector
|
860
|
-
*/
|
861
|
-
void getTerrainVector(Real x, Real y, Real z, Vector3* outVec);
|
862
|
-
/** Translate a vector from world space to local terrain space based on a specified alignment.
|
863
|
-
@param x, y, z The vector in world space, where x/y represents the
|
864
|
-
terrain plane and z represents the up vector
|
865
|
-
*/
|
866
|
-
void getTerrainVectorAlign(Real x, Real y, Real z, Alignment align, Vector3* outVec);
|
867
|
-
|
868
|
-
/** Translate a vector into world space based on the alignment options.
|
869
|
-
@param inVec The vector in basis space, where x/y represents the
|
870
|
-
terrain plane and z represents the up vector
|
871
|
-
*/
|
872
|
-
void getVector(const Vector3& inVec, Vector3* outVec);
|
873
|
-
/** Translate a vector into world space based on a specified alignment.
|
874
|
-
@param inVec The vector in basis space, where x/y represents the
|
875
|
-
terrain plane and z represents the up vector
|
876
|
-
*/
|
877
|
-
void getVectorAlign(const Vector3& inVec, Alignment align, Vector3* outVec);
|
878
|
-
|
879
|
-
/** Translate a vector into world space based on the alignment options.
|
880
|
-
@param x, y, z The vector in basis space, where x/y represents the
|
881
|
-
terrain plane and z represents the up vector
|
882
|
-
*/
|
883
|
-
void getVector(Real x, Real y, Real z, Vector3* outVec);
|
884
|
-
/** Translate a vector into world space based on a specified alignment.
|
885
|
-
@param x, y, z The vector in basis space, where x/y represents the
|
886
|
-
terrain plane and z represents the up vector
|
887
|
-
*/
|
888
|
-
void getVectorAlign(Real x, Real y, Real z, Alignment align, Vector3* outVec);
|
889
|
-
|
890
|
-
|
891
|
-
/** Convert a position from terrain basis space to world space.
|
892
|
-
@param TSpos Terrain space position, where (0,0) is the bottom-left of the
|
893
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
894
|
-
height units.
|
895
|
-
@note This position is relative to Terrain::getPosition
|
896
|
-
@param outWSpos World space output position (setup according to current alignment).
|
897
|
-
*/
|
898
|
-
void getPosition(const Vector3& TSpos, Vector3* outWSpos);
|
899
|
-
/** Convert a position from terrain basis space to world space.
|
900
|
-
@param x,y,z Terrain space position, where (0,0) is the bottom-left of the
|
901
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
902
|
-
height units.
|
903
|
-
@note This position is relative to Terrain::getPosition
|
904
|
-
@param outWSpos World space output position (setup according to current alignment).
|
905
|
-
*/
|
906
|
-
void getPosition(Real x, Real y, Real z, Vector3* outWSpos);
|
907
|
-
|
908
|
-
/** Convert a position from world space to terrain basis space.
|
909
|
-
@param WSpos World space position (setup according to current alignment).
|
910
|
-
@param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
|
911
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
912
|
-
height units.
|
913
|
-
*/
|
914
|
-
void getTerrainPosition(const Vector3& WSpos, Vector3* outTSpos);
|
915
|
-
/** Convert a position from world space to terrain basis space.
|
916
|
-
@param x,y,z World space position (setup according to current alignment).
|
917
|
-
@param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
|
918
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
919
|
-
height units.
|
920
|
-
*/
|
921
|
-
void getTerrainPosition(Real x, Real y, Real z, Vector3* outTSpos);
|
922
|
-
/** Convert a position from terrain basis space to world space based on a specified alignment.
|
923
|
-
@param TSpos Terrain space position, where (0,0) is the bottom-left of the
|
924
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
925
|
-
height units.
|
926
|
-
@param outWSpos World space output position (setup according to alignment).
|
927
|
-
*/
|
928
|
-
void getPositionAlign(const Vector3& TSpos, Alignment align, Vector3* outWSpos);
|
929
|
-
/** Convert a position from terrain basis space to world space based on a specified alignment.
|
930
|
-
@param x,y,z Terrain space position, where (0,0) is the bottom-left of the
|
931
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
932
|
-
height units.
|
933
|
-
@param outWSpos World space output position (setup according to alignment).
|
934
|
-
*/
|
935
|
-
void getPositionAlign(Real x, Real y, Real z, Alignment align, Vector3* outWSpos);
|
936
|
-
|
937
|
-
/** Convert a position from world space to terrain basis space based on a specified alignment.
|
938
|
-
@param WSpos World space position (setup according to alignment).
|
939
|
-
@param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
|
940
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
941
|
-
height units.
|
942
|
-
*/
|
943
|
-
void getTerrainPositionAlign(const Vector3& WSpos, Alignment align, Vector3* outTSpos);
|
944
|
-
/** Convert a position from world space to terrain basis space based on a specified alignment.
|
945
|
-
@param x,y,z World space position (setup according to alignment).
|
946
|
-
@param outTSpos Terrain space output position, where (0,0) is the bottom-left of the
|
947
|
-
terrain, and (1,1) is the top-right. The Z coordinate is in absolute
|
948
|
-
height units.
|
949
|
-
*/
|
950
|
-
void getTerrainPositionAlign(Real x, Real y, Real z, Alignment align, Vector3* outTSpos);
|
951
|
-
|
952
|
-
|
953
|
-
/// Get the alignment of the terrain
|
954
|
-
Alignment getAlignment() const;
|
955
|
-
/// Get the size of the terrain in vertices along one side
|
956
|
-
uint16 getSize() const;
|
957
|
-
/** Set the size of terrain in vertices along one side.
|
958
|
-
@note The existing height data will be bilinear filtered to fill the new size
|
959
|
-
@param newSize the new size of the terrain
|
960
|
-
*/
|
961
|
-
void setSize(uint16 newSize);
|
962
|
-
/// Get the maximum size in vertices along one side of a batch
|
963
|
-
uint16 getMaxBatchSize() const;
|
964
|
-
/// Get the minimum size in vertices along one side of a batch
|
965
|
-
uint16 getMinBatchSize() const;
|
966
|
-
/// Get the size of the terrain in world units
|
967
|
-
Real getWorldSize() const;
|
968
|
-
/** Set the world size of terrain.
|
969
|
-
@param newWorldSize the new world size of the terrain
|
970
|
-
*/
|
971
|
-
void setWorldSize(Real newWorldSize);
|
972
|
-
|
973
|
-
/** Get the number of layers in this terrain. */
|
974
|
-
uint8 getLayerCount() const { return static_cast<uint8>(mLayers.size()); }
|
975
|
-
|
976
|
-
/** Get the declaration which describes the layers in this terrain. */
|
977
|
-
const TerrainLayerDeclaration& getLayerDeclaration() const { return mLayerDecl; }
|
978
|
-
|
979
|
-
/** Add a new layer to this terrain.
|
980
|
-
@param worldSize The size of the texture in this layer in world units. Default
|
981
|
-
to zero to use the default
|
982
|
-
@param textureNames A list of textures to assign to the samplers in this
|
983
|
-
layer. Leave blank to provide these later.
|
984
|
-
*/
|
985
|
-
void addLayer(Real worldSize = 0, const StringVector* textureNames = 0);
|
986
|
-
|
987
|
-
/** Add a new layer to this terrain at a specific index.
|
988
|
-
@param index The index at which to insert this layer (existing layers are shifted forwards)
|
989
|
-
@param worldSize The size of the texture in this layer in world units. Default
|
990
|
-
to zero to use the default
|
991
|
-
@param textureNames A list of textures to assign to the samplers in this
|
992
|
-
layer. Leave blank to provide these later.
|
993
|
-
*/
|
994
|
-
void addLayer(uint8 index, Real worldSize = 0, const StringVector* textureNames = 0);
|
995
|
-
|
996
|
-
/** Remove a layer from the terrain.
|
997
|
-
*/
|
998
|
-
void removeLayer(uint8 index);
|
999
|
-
|
1000
|
-
/** Replace an existing terrain layer, optionally preserving all other layer blend maps
|
1001
|
-
@param index The 0 based index of the terrain layer to replace
|
1002
|
-
@param keepBlends True to keep using the existing blend maps. False to reset the blend map for the layer.
|
1003
|
-
Irrelevant if index == 0
|
1004
|
-
@param worldSize The size of the texture in this layer in world units. Default
|
1005
|
-
to zero to use the default
|
1006
|
-
@param textureNames A list of textures to assign to the samplers in this
|
1007
|
-
layer. Leave blank to provide these later.
|
1008
|
-
*/
|
1009
|
-
void replaceLayer(uint8 index, bool keepBlends, Real worldSize = 0, const StringVector* textureNames = 0);
|
1010
|
-
|
1011
|
-
/** Get the maximum number of layers supported with the current options.
|
1012
|
-
@note When you change the options requested, this value can change.
|
1013
|
-
*/
|
1014
|
-
uint8 getMaxLayers() const;
|
1015
|
-
|
1016
|
-
/** How large an area in world space the texture in a terrain layer covers
|
1017
|
-
before repeating.
|
1018
|
-
@param index The layer index.
|
1019
|
-
*/
|
1020
|
-
Real getLayerWorldSize(uint8 index) const;
|
1021
|
-
/** How large an area in world space the texture in a terrain layer covers
|
1022
|
-
before repeating.
|
1023
|
-
@param index The layer index.
|
1024
|
-
@param size The world size of the texture before repeating
|
1025
|
-
*/
|
1026
|
-
void setLayerWorldSize(uint8 index, Real size);
|
1027
|
-
|
1028
|
-
/** Get the layer UV multiplier.
|
1029
|
-
@remarks
|
1030
|
-
This is derived from the texture world size. The base UVs in the
|
1031
|
-
terrain vary from 0 to 1 and this multiplier is used (in a fixed-function
|
1032
|
-
texture coord scaling or a shader parameter) to translate it to the
|
1033
|
-
final value.
|
1034
|
-
@param index The layer index.
|
1035
|
-
*/
|
1036
|
-
Real getLayerUVMultiplier(uint8 index) const;
|
1037
|
-
|
1038
|
-
/** Get the name of the texture bound to a given index within a given layer.
|
1039
|
-
See the LayerDeclaration for a list of sampelrs within a layer.
|
1040
|
-
@param layerIndex The layer index.
|
1041
|
-
@param samplerIndex The sampler index within a layer
|
1042
|
-
*/
|
1043
|
-
const String& getLayerTextureName(uint8 layerIndex, uint8 samplerIndex) const;
|
1044
|
-
/** Set the name of the texture bound to a given index within a given layer.
|
1045
|
-
See the LayerDeclaration for a list of sampelrs within a layer.
|
1046
|
-
@param index The layer index.
|
1047
|
-
@param size The world size of the texture before repeating
|
1048
|
-
@param textureName The name of the texture to use
|
1049
|
-
*/
|
1050
|
-
void setLayerTextureName(uint8 layerIndex, uint8 samplerIndex, const String& textureName);
|
1051
|
-
|
1052
|
-
/** Get the requested size of the blend maps used to blend between layers
|
1053
|
-
for this terrain.
|
1054
|
-
Note that where hardware limits this, the actual blend maps may be lower
|
1055
|
-
resolution. This option is derived from TerrainGlobalOptions when the
|
1056
|
-
terrain is created.
|
1057
|
-
*/
|
1058
|
-
uint16 getLayerBlendMapSize() const { return mLayerBlendMapSize; }
|
1059
|
-
|
1060
|
-
/** Get the requested size of lightmap for this terrain.
|
1061
|
-
Note that where hardware limits this, the actual lightmap may be lower
|
1062
|
-
resolution. This option is derived from TerrainGlobalOptions when the
|
1063
|
-
terrain is created.
|
1064
|
-
*/
|
1065
|
-
uint16 getLightmapSize() const { return mLightmapSize; }
|
1066
|
-
|
1067
|
-
/// Get access to the lightmap, if enabled (as requested by the material generator)
|
1068
|
-
const TexturePtr& getLightmap() const { return mLightmap; }
|
1069
|
-
|
1070
|
-
/** Get the requested size of composite map for this terrain.
|
1071
|
-
Note that where hardware limits this, the actual texture may be lower
|
1072
|
-
resolution. This option is derived from TerrainGlobalOptions when the
|
1073
|
-
terrain is created.
|
1074
|
-
*/
|
1075
|
-
uint16 getCompositeMapSize() const { return mCompositeMapSize; }
|
1076
|
-
|
1077
|
-
/// Get access to the composite map, if enabled (as requested by the material generator)
|
1078
|
-
const TexturePtr& getCompositeMap() const { return mCompositeMap; }
|
1079
|
-
|
1080
|
-
/// Get the world position of the terrain centre
|
1081
|
-
const Vector3& getPosition() const { return mPos; }
|
1082
|
-
/// Set the position of the terrain centre in world coordinates
|
1083
|
-
void setPosition(const Vector3& pos);
|
1084
|
-
/// Get the root scene node for the terrain (internal use only)
|
1085
|
-
SceneNode* _getRootSceneNode() const;
|
1086
|
-
/** Mark the entire terrain as dirty.
|
1087
|
-
By marking a section of the terrain as dirty, you are stating that you have
|
1088
|
-
changed the height data within this rectangle. This rectangle will be merged with
|
1089
|
-
any existing outstanding changes. To finalise the changes, you must
|
1090
|
-
call update(), updateGeometry(), or updateDerivedData().
|
1091
|
-
*/
|
1092
|
-
void dirty();
|
1093
|
-
|
1094
|
-
/** Mark a region of the terrain as dirty.
|
1095
|
-
By marking a section of the terrain as dirty, you are stating that you have
|
1096
|
-
changed the height data within this rectangle. This rectangle will be merged with
|
1097
|
-
any existing outstanding changes. To finalise the changes, you must
|
1098
|
-
call update(), updateGeometry(), or updateDerivedData().
|
1099
|
-
@param rect A rectangle expressed in vertices describing the dirty region;
|
1100
|
-
left < right, top < bottom, left & top are inclusive, right & bottom exclusive
|
1101
|
-
*/
|
1102
|
-
void dirtyRect(const Rect& rect);
|
1103
|
-
|
1104
|
-
/** Mark a region of the terrain composite map as dirty.
|
1105
|
-
@remarks
|
1106
|
-
You don't usually need to call this directly, it is inferred from
|
1107
|
-
changing the other data on the terrain.
|
1108
|
-
*/
|
1109
|
-
void _dirtyCompositeMapRect(const Rect& rect);
|
1110
|
-
|
1111
|
-
/** Mark a region of the lightmap as dirty.
|
1112
|
-
@remarks
|
1113
|
-
You only need to call this if you need to tell the terrain to update
|
1114
|
-
the lightmap data for some reason other than the terrain geometry
|
1115
|
-
has changed. Changing terrain geometry automatically dirties the
|
1116
|
-
correct lightmap areas.
|
1117
|
-
@note
|
1118
|
-
The lightmap won't actually be updated until update() or updateDerivedData()
|
1119
|
-
is called.
|
1120
|
-
*/
|
1121
|
-
void dirtyLightmapRect(const Rect& rect);
|
1122
|
-
|
1123
|
-
/** Mark a the entire lightmap as dirty.
|
1124
|
-
@remarks
|
1125
|
-
You only need to call this if you need to tell the terrain to update
|
1126
|
-
the lightmap data for some reason other than the terrain geometry
|
1127
|
-
has changed. Changing terrain geometry automatically dirties the
|
1128
|
-
correct lightmap areas.
|
1129
|
-
@note
|
1130
|
-
The lightmap won't actually be updated until update() or updateDerivedData()
|
1131
|
-
is called.
|
1132
|
-
*/
|
1133
|
-
void dirtyLightmap();
|
1134
|
-
|
1135
|
-
/** Trigger the update process for the terrain.
|
1136
|
-
@remarks
|
1137
|
-
Updating the terrain will process any dirty sections of the terrain.
|
1138
|
-
This may affect many things:
|
1139
|
-
<ol><li>The terrain geometry</li>
|
1140
|
-
<li>The terrain error metrics which determine LOD transitions</li>
|
1141
|
-
<li>The terrain normal map, if present</li>
|
1142
|
-
<li>The terrain lighting map, if present</li>
|
1143
|
-
<li>The terrain composite map, if present</li>
|
1144
|
-
</ol>
|
1145
|
-
If threading is enabled, only item 1 (the geometry) will be updated
|
1146
|
-
synchronously, ie will be fully up to date when this method returns.
|
1147
|
-
The other elements are more expensive to compute, and will be queued
|
1148
|
-
for processing in a background thread, in the order shown above. As these
|
1149
|
-
updates complete, the effects will be shown.
|
1150
|
-
|
1151
|
-
You can also separate the timing of updating the geometry, LOD and the lighting
|
1152
|
-
information if you want, by calling updateGeometry() and
|
1153
|
-
updateDerivedData() separately.
|
1154
|
-
@param synchronous If true, all updates will happen immediately and not
|
1155
|
-
in a separate thread.
|
1156
|
-
*/
|
1157
|
-
void update(bool synchronous = false);
|
1158
|
-
|
1159
|
-
/** Performs an update on the terrain geometry based on the dirty region.
|
1160
|
-
@remarks
|
1161
|
-
Terrain geometry will be updated when this method returns.
|
1162
|
-
*/
|
1163
|
-
void updateGeometry();
|
1164
|
-
|
1165
|
-
// Used as a type mask for updateDerivedData
|
1166
|
-
static const uint8 DERIVED_DATA_DELTAS;
|
1167
|
-
static const uint8 DERIVED_DATA_NORMALS;
|
1168
|
-
static const uint8 DERIVED_DATA_LIGHTMAP;
|
1169
|
-
static const uint8 DERIVED_DATA_ALL;
|
1170
|
-
|
1171
|
-
/** Updates derived data for the terrain (LOD, lighting) to reflect changed height data, in a separate
|
1172
|
-
thread if threading is enabled (OGRE_THREAD_SUPPORT).
|
1173
|
-
If threading is enabled, on return from this method the derived
|
1174
|
-
data will not necessarily be updated immediately, the calculation
|
1175
|
-
may be done in the background. Only one update will run in the background
|
1176
|
-
at once. This derived data can typically survive being out of sync for a
|
1177
|
-
few frames which is why it is not done synchronously
|
1178
|
-
@param synchronous If true, the update will happen immediately and not
|
1179
|
-
in a separate thread.
|
1180
|
-
@param typeMask Mask indicating the types of data we should generate
|
1181
|
-
*/
|
1182
|
-
void updateDerivedData(bool synchronous = false, uint8 typeMask = 0xFF);
|
1183
|
-
|
1184
|
-
/** Performs an update on the terrain composite map based on its dirty region.
|
1185
|
-
@remarks
|
1186
|
-
Rather than calling this directly, call updateDerivedData, which will
|
1187
|
-
also call it after the other derived data has been updated (there is
|
1188
|
-
no point updating the composite map until lighting has been updated).
|
1189
|
-
However the blend maps may call this directly when only the blending
|
1190
|
-
information has been updated.
|
1191
|
-
*/
|
1192
|
-
void updateCompositeMap();
|
1193
|
-
|
1194
|
-
/** Performs an update on the terrain composite map based on its dirty region,
|
1195
|
-
but only at a maximum frequency.
|
1196
|
-
@remarks
|
1197
|
-
Rather than calling this directly, call updateDerivedData, which will
|
1198
|
-
also call it after the other derived data has been updated (there is
|
1199
|
-
no point updating the composite map until lighting has been updated).
|
1200
|
-
However the blend maps may call this directly when only the blending
|
1201
|
-
information has been updated.
|
1202
|
-
@note
|
1203
|
-
This method will log the request for an update, but won't do it just yet
|
1204
|
-
unless there are no further requests in the next 'delay' seconds. This means
|
1205
|
-
you can call it all the time but only pick up changes in quiet times.
|
1206
|
-
*/
|
1207
|
-
void updateCompositeMapWithDelay(Real delay = 2);
|
1208
|
-
|
1209
|
-
|
1210
|
-
/** The default size of 'skirts' used to hide terrain cracks
|
1211
|
-
(default 10, set for new Terrain using TerrainGlobalOptions)
|
1212
|
-
*/
|
1213
|
-
Real getSkirtSize() const { return mSkirtSize; }
|
1214
|
-
|
1215
|
-
/// Get the total number of LOD levels in the terrain
|
1216
|
-
uint16 getNumLodLevels() const { return mNumLodLevels; }
|
1217
|
-
|
1218
|
-
/// Get the number of LOD levels in a leaf of the terrain quadtree
|
1219
|
-
uint16 getNumLodLevelsPerLeaf() const { return mNumLodLevelsPerLeafNode; }
|
1220
|
-
|
1221
|
-
/** Calculate (or recalculate) the delta values of heights between a vertex
|
1222
|
-
in its recorded position, and the place it will end up in the LOD
|
1223
|
-
in which it is removed.
|
1224
|
-
@param rect Rectangle describing the area in which heights have altered
|
1225
|
-
@return A Rectangle describing the area which was updated (may be wider
|
1226
|
-
than the input rectangle)
|
1227
|
-
*/
|
1228
|
-
Rect calculateHeightDeltas(const Rect& rect);
|
1229
|
-
|
1230
|
-
/** Finalise the height deltas.
|
1231
|
-
Calculated height deltas are kept in a separate calculation field to make
|
1232
|
-
them safe to perform in a background thread. This call promotes those
|
1233
|
-
calculations to the runtime values, and must be called in the main thread.
|
1234
|
-
@param rect Rectangle describing the area to finalise
|
1235
|
-
@param cpuData When updating vertex data, update the CPU copy (background)
|
1236
|
-
*/
|
1237
|
-
void finaliseHeightDeltas(const Rect& rect, bool cpuData);
|
1238
|
-
|
1239
|
-
/** Calculate (or recalculate) the normals on the terrain
|
1240
|
-
@param rect Rectangle describing the area of heights that were changed
|
1241
|
-
@param outFinalRect Output rectangle describing the area updated
|
1242
|
-
@return Pointer to a PixelBox full of normals (caller responsible for deletion)
|
1243
|
-
*/
|
1244
|
-
PixelBox* calculateNormals(const Rect& rect, Rect& outFinalRect);
|
1245
|
-
|
1246
|
-
/** Finalise the normals.
|
1247
|
-
Calculated normals are kept in a separate calculation area to make
|
1248
|
-
them safe to perform in a background thread. This call promotes those
|
1249
|
-
calculations to the runtime values, and must be called in the main thread.
|
1250
|
-
@param rect Rectangle describing the area to finalise
|
1251
|
-
@param normalsBox Pointer to a PixelBox full of normals
|
1252
|
-
*/
|
1253
|
-
void finaliseNormals(const Rect& rect, PixelBox* normalsBox);
|
1254
|
-
|
1255
|
-
/** Calculate (or recalculate) the terrain lightmap
|
1256
|
-
@param rect Rectangle describing the area of heights that were changed
|
1257
|
-
@param extraTargetRect Rectangle describing a target area of the terrain that
|
1258
|
-
needs to be calculated additionally (e.g. from a neighbour)
|
1259
|
-
@param outFinalRect Output rectangle describing the area updated in the lightmap
|
1260
|
-
@return Pointer to a PixelBox full of lighting data (caller responsible for deletion)
|
1261
|
-
*/
|
1262
|
-
PixelBox* calculateLightmap(const Rect& rect, const Rect& extraTargetRect, Rect& outFinalRect);
|
1263
|
-
|
1264
|
-
/** Finalise the lightmap.
|
1265
|
-
Calculating lightmaps is kept in a separate calculation area to make
|
1266
|
-
it safe to perform in a background thread. This call promotes those
|
1267
|
-
calculations to the runtime values, and must be called in the main thread.
|
1268
|
-
@param rect Rectangle describing the area to finalise
|
1269
|
-
@param normalsBox Pointer to a PixelBox full of normals
|
1270
|
-
*/
|
1271
|
-
void finaliseLightmap(const Rect& rect, PixelBox* lightmapBox);
|
1272
|
-
|
1273
|
-
/** Gets the resolution of the entire terrain (down one edge) at a
|
1274
|
-
given LOD level.
|
1275
|
-
*/
|
1276
|
-
uint16 getResolutionAtLod(uint16 lodLevel);
|
1277
|
-
|
1278
|
-
/** Test for intersection of a given ray with the terrain. If the ray hits
|
1279
|
-
the terrain, the point of intersection is returned.
|
1280
|
-
@param ray The ray to test for intersection
|
1281
|
-
@param cascadeToNeighbours Whether the ray will be projected onto neighbours if
|
1282
|
-
no intersection is found
|
1283
|
-
@param distanceLimit The distance from the ray origin at which we will stop looking,
|
1284
|
-
0 indicates no limit
|
1285
|
-
@return A pair which contains whether the ray hit the terrain and, if so, where.
|
1286
|
-
@remarks This can be called from any thread as long as no parallel write to
|
1287
|
-
the heightmap data occurs.
|
1288
|
-
*/
|
1289
|
-
std::pair<bool, Vector3> rayIntersects(const Ray& ray,
|
1290
|
-
bool cascadeToNeighbours = false, Real distanceLimit = 0); //const;
|
1291
|
-
|
1292
|
-
/// Get the AABB (local coords) of the entire terrain
|
1293
|
-
const AxisAlignedBox& getAABB() const;
|
1294
|
-
/// Get the AABB (world coords) of the entire terrain
|
1295
|
-
AxisAlignedBox getWorldAABB() const;
|
1296
|
-
/// Get the minimum height of the terrain
|
1297
|
-
Real getMinHeight() const;
|
1298
|
-
/// Get the maximum height of the terrain
|
1299
|
-
Real getMaxHeight() const;
|
1300
|
-
/// Get the bounding radius of the entire terrain
|
1301
|
-
Real getBoundingRadius() const;
|
1302
|
-
|
1303
|
-
/// Get the material being used for the terrain
|
1304
|
-
const MaterialPtr& getMaterial() const;
|
1305
|
-
/// Internal getting of material
|
1306
|
-
const MaterialPtr& _getMaterial() const { return mMaterial; }
|
1307
|
-
/// Get the material being used for the terrain composite map
|
1308
|
-
const MaterialPtr& getCompositeMapMaterial() const;
|
1309
|
-
/// Internal getting of material for the terrain composite map
|
1310
|
-
const MaterialPtr& _getCompositeMapMaterial() const { return mCompositeMapMaterial; }
|
1311
|
-
|
1312
|
-
/// Get the name of the material being used for the terrain
|
1313
|
-
const String& getMaterialName() const { return mMaterialName; }
|
1314
|
-
|
1315
|
-
/// Overridden from SceneManager::Listener
|
1316
|
-
void preFindVisibleObjects(SceneManager* source,
|
1317
|
-
SceneManager::IlluminationRenderStage irs, Viewport* v);
|
1318
|
-
/// Overridden from SceneManager::Listener
|
1319
|
-
void sceneManagerDestroyed(SceneManager* source);
|
1320
|
-
|
1321
|
-
/// Get the render queue group that this terrain will be rendered into
|
1322
|
-
uint8 getRenderQueueGroup(void) const { return mRenderQueueGroup; }
|
1323
|
-
/** Set the render queue group that this terrain will be rendered into.
|
1324
|
-
@remarks The default is specified in TerrainGlobalOptions
|
1325
|
-
*/
|
1326
|
-
void setRenderQueueGroup(uint8 grp) { mRenderQueueGroup = grp; }
|
1327
|
-
|
1328
|
-
/// Get the visibility flags for this terrain.
|
1329
|
-
uint32 getVisibilityFlags(void) const { return mVisibilityFlags; }
|
1330
|
-
/** Set the visibility flags for this terrain.
|
1331
|
-
@remarks The default is specified in TerrainGlobalOptions
|
1332
|
-
*/
|
1333
|
-
void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }
|
1334
|
-
|
1335
|
-
/// Get the query flags for this terrain.
|
1336
|
-
uint32 getQueryFlags(void) const { return mQueryFlags; }
|
1337
|
-
/** Set the query flags for this terrain.
|
1338
|
-
@remarks The default is specified in TerrainGlobalOptions
|
1339
|
-
*/
|
1340
|
-
void setQueryFlags(uint32 flags) { mQueryFlags = flags; }
|
1341
|
-
|
1342
|
-
/** As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. */
|
1343
|
-
void addQueryFlags(uint32 flags) { mQueryFlags |= flags; }
|
1344
|
-
|
1345
|
-
/* As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. */
|
1346
|
-
void removeQueryFlags(uint32 flags) { mQueryFlags &= ~flags; }
|
1347
|
-
|
1348
|
-
|
1349
|
-
/** Retrieve the layer blending map for a given layer, which may
|
1350
|
-
be used to edit the blending information for that layer.
|
1351
|
-
@note
|
1352
|
-
You can only do this after the terrain has been loaded. You may
|
1353
|
-
edit the content of the blend layer in another thread, but you
|
1354
|
-
may only upload it in the main render thread.
|
1355
|
-
@param layerIndex The layer index, which should be 1 or higher (since
|
1356
|
-
the bottom layer has no blending).
|
1357
|
-
@return Pointer to the TerrainLayerBlendMap requested. The caller must
|
1358
|
-
not delete this instance, use freeTemporaryResources if you want
|
1359
|
-
to save the memory after completing your editing.
|
1360
|
-
*/
|
1361
|
-
TerrainLayerBlendMap* getLayerBlendMap(uint8 layerIndex);
|
1362
|
-
|
1363
|
-
/** Get the index of the blend texture that a given layer uses.
|
1364
|
-
@param layerIndex The layer index, must be >= 1 and less than the number
|
1365
|
-
of layers
|
1366
|
-
@return The index of the shared blend texture
|
1367
|
-
*/
|
1368
|
-
uint8 getBlendTextureIndex(uint8 layerIndex) const;
|
1369
|
-
|
1370
|
-
/// Get the number of blend textures in use
|
1371
|
-
uint8 getBlendTextureCount() const;
|
1372
|
-
/// Get the number of blend textures needed for a given number of layers
|
1373
|
-
uint8 getBlendTextureCount(uint8 numLayers) const;
|
1374
|
-
|
1375
|
-
|
1376
|
-
/** Get the name of the packed blend texture at a specific index.
|
1377
|
-
@param textureIndex This is the blend texture index, not the layer index
|
1378
|
-
(multiple layers will share a blend texture)
|
1379
|
-
*/
|
1380
|
-
const String& getBlendTextureName(uint8 textureIndex) const;
|
1381
|
-
|
1382
|
-
/** Set whether a global colour map is enabled.
|
1383
|
-
@remarks
|
1384
|
-
A global colour map can add variation to your terrain and reduce the
|
1385
|
-
perceived tiling effect you might get in areas of continuous lighting
|
1386
|
-
and the same texture.
|
1387
|
-
The global colour map is only used when the material generator chooses
|
1388
|
-
to use it.
|
1389
|
-
@note You must only call this from the main render thread
|
1390
|
-
@param enabled Whether the global colour map is enabled or not
|
1391
|
-
@param size The resolution of the colour map. A value of zero means 'no change'
|
1392
|
-
and the default is set in TerrainGlobalOptions.
|
1393
|
-
*/
|
1394
|
-
void setGlobalColourMapEnabled(bool enabled, uint16 size = 0);
|
1395
|
-
/// Get whether a global colour map is enabled on this terrain
|
1396
|
-
bool getGlobalColourMapEnabled() const { return mGlobalColourMapEnabled; }
|
1397
|
-
/// Get the size of the global colour map (if used)
|
1398
|
-
uint16 getGlobalColourMapSize() const { return mGlobalColourMapSize; }
|
1399
|
-
/// Get access to the global colour map, if enabled
|
1400
|
-
const TexturePtr& getGlobalColourMap() const { return mColourMap; }
|
1401
|
-
|
1402
|
-
/** Widen a rectangular area of terrain to take into account an extrusion vector.
|
1403
|
-
@param vec A vector in world space
|
1404
|
-
@param inRect Input rectangle
|
1405
|
-
@param inRect Output rectangle
|
1406
|
-
*/
|
1407
|
-
void widenRectByVector(const Vector3& vec, const Rect& inRect, Rect& outRect);
|
1408
|
-
|
1409
|
-
/** Widen a rectangular area of terrain to take into account an extrusion vector,
|
1410
|
-
but specify the min / max heights to extrude manually.
|
1411
|
-
@param vec A vector in world space
|
1412
|
-
@param inRect Input rectangle
|
1413
|
-
@param minHeight, maxHeight The extents of the height to extrude
|
1414
|
-
@param inRect Output rectangle
|
1415
|
-
*/
|
1416
|
-
void widenRectByVector(const Vector3& vec, const Rect& inRect,
|
1417
|
-
Real minHeight, Real maxHeight, Rect& outRect);
|
1418
|
-
|
1419
|
-
/** Free as many resources as possible for optimal run-time memory use.
|
1420
|
-
@remarks
|
1421
|
-
This class keeps some temporary storage around in order to make
|
1422
|
-
certain actions (such as editing) possible more quickly. Calling this
|
1423
|
-
method will cause as many of those resources as possible to be
|
1424
|
-
freed. You might want to do this for example when you are finished
|
1425
|
-
editing a particular terrain and want to have optimal runtime
|
1426
|
-
efficiency.
|
1427
|
-
*/
|
1428
|
-
void freeTemporaryResources();
|
1429
|
-
|
1430
|
-
/** Get a blend texture with a given index.
|
1431
|
-
@param index The blend texture index (note: not layer index; derive
|
1432
|
-
the texture index from getLayerBlendTextureIndex)
|
1433
|
-
*/
|
1434
|
-
const TexturePtr& getLayerBlendTexture(uint8 index);
|
1435
|
-
|
1436
|
-
/** Get the texture index and colour channel of the blend information for
|
1437
|
-
a given layer.
|
1438
|
-
@param layerIndex The index of the layer (1 or higher, layer 0 has no blend data)
|
1439
|
-
@return A pair in which the first value is the texture index, and the
|
1440
|
-
second value is the colour channel (RGBA)
|
1441
|
-
*/
|
1442
|
-
std::pair<uint8,uint8> getLayerBlendTextureIndex(uint8 layerIndex);
|
1443
|
-
|
1444
|
-
/** Request internal implementation options for the terrain material to use,
|
1445
|
-
in this case vertex morphing information.
|
1446
|
-
The TerrainMaterialGenerator should call this method to specify the
|
1447
|
-
options it would like to use when creating a material. Not all the data
|
1448
|
-
is guaranteed to be up to date on return from this method - for example som
|
1449
|
-
maps may be generated in the background. However, on return from this method
|
1450
|
-
all the features that are requested will be referenceable by materials, the
|
1451
|
-
data may just take a few frames to be fully populated.
|
1452
|
-
@param morph Whether LOD morphing information is required to be calculated
|
1453
|
-
*/
|
1454
|
-
void _setMorphRequired(bool morph) { mLodMorphRequired = morph; }
|
1455
|
-
/// Get whether LOD morphing is needed
|
1456
|
-
bool _getMorphRequired() const { return mLodMorphRequired; }
|
1457
|
-
|
1458
|
-
/** Request internal implementation options for the terrain material to use,
|
1459
|
-
in this case a terrain-wide normal map.
|
1460
|
-
The TerrainMaterialGenerator should call this method to specify the
|
1461
|
-
options it would like to use when creating a material. Not all the data
|
1462
|
-
is guaranteed to be up to date on return from this method - for example some
|
1463
|
-
maps may be generated in the background. However, on return from this method
|
1464
|
-
all the features that are requested will be referenceable by materials, the
|
1465
|
-
data may just take a few frames to be fully populated.
|
1466
|
-
@param normalMap Whether a terrain-wide normal map is requested. This is usually
|
1467
|
-
mutually exclusive with the lightmap option.
|
1468
|
-
*/
|
1469
|
-
void _setNormalMapRequired(bool normalMap);
|
1470
|
-
|
1471
|
-
/** Request internal implementation options for the terrain material to use,
|
1472
|
-
in this case a terrain-wide normal map.
|
1473
|
-
The TerrainMaterialGenerator should call this method to specify the
|
1474
|
-
options it would like to use when creating a material. Not all the data
|
1475
|
-
is guaranteed to be up to date on return from this method - for example some
|
1476
|
-
maps may be generated in the background. However, on return from this method
|
1477
|
-
all the features that are requested will be referenceable by materials, the
|
1478
|
-
data may just take a few frames to be fully populated.
|
1479
|
-
@param lightMap Whether a terrain-wide lightmap including precalculated
|
1480
|
-
lighting is required (light direction in TerrainGlobalOptions)
|
1481
|
-
@param shadowsOnly If true, the lightmap contains only shadows,
|
1482
|
-
no directional lighting intensity
|
1483
|
-
*/
|
1484
|
-
void _setLightMapRequired(bool lightMap, bool shadowsOnly = false);
|
1485
|
-
|
1486
|
-
/** Request internal implementation options for the terrain material to use,
|
1487
|
-
in this case a terrain-wide composite map.
|
1488
|
-
The TerrainMaterialGenerator should call this method to specify the
|
1489
|
-
options it would like to use when creating a material. Not all the data
|
1490
|
-
is guaranteed to be up to date on return from this method - for example some
|
1491
|
-
maps may be generated in the background. However, on return from this method
|
1492
|
-
all the features that are requested will be referenceable by materials, the
|
1493
|
-
data may just take a few frames to be fully populated.
|
1494
|
-
@param compositeMap Whether a terrain-wide composite map is needed. A composite
|
1495
|
-
map is a texture with all of the blending and lighting baked in, such that
|
1496
|
-
at distance this texture can be used as an approximation of the multi-layer
|
1497
|
-
blended material. It is actually up to the material generator to render this
|
1498
|
-
composite map, because obviously precisely what it looks like depends on what
|
1499
|
-
the main material looks like. For this reason, the composite map is one piece
|
1500
|
-
of derived terrain data that is always calculated in the render thread, and
|
1501
|
-
usually on the GPU. It is expected that if this option is requested,
|
1502
|
-
the material generator will use it to construct distant LOD techniques.
|
1503
|
-
*/
|
1504
|
-
void _setCompositeMapRequired(bool compositeMap);
|
1505
|
-
|
1506
|
-
/// Whether we're using vertex compression or not
|
1507
|
-
bool _getUseVertexCompression() const;
|
1508
|
-
|
1509
|
-
/// WorkQueue::RequestHandler override
|
1510
|
-
bool canHandleRequest(const WorkQueue::Request* req, const WorkQueue* srcQ);
|
1511
|
-
/// WorkQueue::RequestHandler override
|
1512
|
-
WorkQueue::Response* handleRequest(const WorkQueue::Request* req, const WorkQueue* srcQ);
|
1513
|
-
/// WorkQueue::ResponseHandler override
|
1514
|
-
bool canHandleResponse(const WorkQueue::Response* res, const WorkQueue* srcQ);
|
1515
|
-
/// WorkQueue::ResponseHandler override
|
1516
|
-
void handleResponse(const WorkQueue::Response* res, const WorkQueue* srcQ);
|
1517
|
-
|
1518
|
-
static const uint16 WORKQUEUE_DERIVED_DATA_REQUEST;
|
1519
|
-
|
1520
|
-
|
1521
|
-
/// Utility method, get the first LOD Level at which this vertex is no longer included
|
1522
|
-
uint16 getLODLevelWhenVertexEliminated(long x, long y);
|
1523
|
-
/// Utility method, get the first LOD Level at which this vertex is no longer included
|
1524
|
-
uint16 getLODLevelWhenVertexEliminated(long rowOrColulmn);
|
1525
|
-
|
1526
|
-
|
1527
|
-
/// Get the top level of the quad tree which is used to divide up the terrain
|
1528
|
-
TerrainQuadTreeNode* getQuadTree() { return mQuadTree; }
|
1529
|
-
|
1530
|
-
/// Get the (global) normal map texture
|
1531
|
-
TexturePtr getTerrainNormalMap() const { return mTerrainNormalMap; }
|
1532
|
-
|
1533
|
-
/** Retrieve the terrain's neighbour, or null if not present.
|
1534
|
-
@remarks
|
1535
|
-
Terrains only know about their neighbours if they are notified via
|
1536
|
-
setNeighbour. This information is not saved with the terrain since every
|
1537
|
-
tile must be able to be independent.
|
1538
|
-
@param index The index of the neighbour
|
1539
|
-
*/
|
1540
|
-
Terrain* getNeighbour(NeighbourIndex index);
|
1541
|
-
|
1542
|
-
/** Set a terrain's neighbour, or null to detach one.
|
1543
|
-
@remarks
|
1544
|
-
This information is not saved with the terrain since every
|
1545
|
-
tile must be able to be independent. However if modifications are
|
1546
|
-
made to a tile which can affect its neighbours, while connected the
|
1547
|
-
changes will be propagated.
|
1548
|
-
@param index The index of the neighbour
|
1549
|
-
@param neighbour The terrain instance to become the neighbour, or null to reset.
|
1550
|
-
@param recalculate If true, this terrain instance will recalculate elements
|
1551
|
-
that could be affected by the connection of this tile (e.g. matching
|
1552
|
-
heights, calcaulting normals, calculating shadows crossing the boundary).
|
1553
|
-
If false, this terrain's state is assumed to be up to date already
|
1554
|
-
(e.g. was calculated with this tile present before and the state saved).
|
1555
|
-
@param notifyOther Whether the neighbour should also be notified (recommended
|
1556
|
-
to leave this at the default so relationships are up to date before
|
1557
|
-
background updates are triggered)
|
1558
|
-
*/
|
1559
|
-
void setNeighbour(NeighbourIndex index, Terrain* neighbour, bool recalculate = false, bool notifyOther = true);
|
1560
|
-
|
1561
|
-
/** Get the opposite neighbour relationship (useful for finding the
|
1562
|
-
neighbour index from the perspective of the tile the other side of the
|
1563
|
-
boundary).
|
1564
|
-
*/
|
1565
|
-
static NeighbourIndex getOppositeNeighbour(NeighbourIndex index);
|
1566
|
-
|
1567
|
-
/** Get the neighbour enum for a given offset in a grid (signed).
|
1568
|
-
*/
|
1569
|
-
static NeighbourIndex getNeighbourIndex(long offsetx, long offsety);
|
1570
|
-
|
1571
|
-
/** Tell this instance to notify all neighbours that will be affected
|
1572
|
-
by a height change that has taken place.
|
1573
|
-
@remarks
|
1574
|
-
This method will determine which neighbours need notification and call
|
1575
|
-
their neighbourModified method. It is called automatically by
|
1576
|
-
updateGeometry().
|
1577
|
-
*/
|
1578
|
-
void notifyNeighbours();
|
1579
|
-
|
1580
|
-
/** Notify that a neighbour has just finished updating and that this
|
1581
|
-
change affects this tile.
|
1582
|
-
@param index The neighbour index (from this tile's perspective)
|
1583
|
-
@param edgerect The area at the edge of this tile that needs height / normal
|
1584
|
-
recalculation (may be null)
|
1585
|
-
@param shadowrect The area on this tile where shadows need recalculating (may be null)
|
1586
|
-
*/
|
1587
|
-
void neighbourModified(NeighbourIndex index, const Rect& edgerect, const Rect& shadowrect);
|
1588
|
-
|
1589
|
-
/** Utility method to pick a neighbour based on a ray.
|
1590
|
-
@param ray The ray in world space
|
1591
|
-
@param distanceLimit Limit beyond which we want to ignore neighbours (0 for infinite)
|
1592
|
-
@return The first neighbour along this ray, or null
|
1593
|
-
*/
|
1594
|
-
Terrain* raySelectNeighbour(const Ray& ray, Real distanceLimit = 0);
|
1595
|
-
|
1596
|
-
/** Dump textures to files.
|
1597
|
-
@remarks
|
1598
|
-
This is a debugging method.
|
1599
|
-
*/
|
1600
|
-
void _dumpTextures(const String& prefix, const String& suffix);
|
1601
|
-
|
1602
|
-
/** Query whether a derived data update is in progress or not. */
|
1603
|
-
bool isDerivedDataUpdateInProgress() const { return mDerivedDataUpdateInProgress; }
|
1604
|
-
|
1605
|
-
|
1606
|
-
/// Utility method to convert axes from world space to terrain space (xy terrain, z up)
|
1607
|
-
static void convertWorldToTerrainAxes(Alignment align, const Vector3& worldVec, Vector3* terrainVec);
|
1608
|
-
/// Utility method to convert axes from terrain space (xy terrain, z up) tp world space
|
1609
|
-
static void convertTerrainToWorldAxes(Alignment align, const Vector3& terrainVec, Vector3* worldVec);
|
1610
|
-
|
1611
|
-
/// Utility method to write a layer declaration to a stream
|
1612
|
-
static void writeLayerDeclaration(const TerrainLayerDeclaration& decl, StreamSerialiser& ser);
|
1613
|
-
/// Utility method to read a layer declaration from a stream
|
1614
|
-
static bool readLayerDeclaration(StreamSerialiser& ser, TerrainLayerDeclaration& targetdecl);
|
1615
|
-
/// Utility method to write a layer instance list to a stream
|
1616
|
-
static void writeLayerInstanceList(const Terrain::LayerInstanceList& lst, StreamSerialiser& ser);
|
1617
|
-
/// Utility method to read a layer instance list from a stream
|
1618
|
-
static bool readLayerInstanceList(StreamSerialiser& ser, size_t numSamplers, Terrain::LayerInstanceList& targetlst);
|
1619
|
-
protected:
|
1620
|
-
|
1621
|
-
void freeCPUResources();
|
1622
|
-
void freeGPUResources();
|
1623
|
-
void determineLodLevels();
|
1624
|
-
void distributeVertexData();
|
1625
|
-
void updateBaseScale();
|
1626
|
-
void createGPUBlendTextures();
|
1627
|
-
void createLayerBlendMaps();
|
1628
|
-
void createOrDestroyGPUNormalMap();
|
1629
|
-
void createOrDestroyGPUColourMap();
|
1630
|
-
void createOrDestroyGPULightmap();
|
1631
|
-
void createOrDestroyGPUCompositeMap();
|
1632
|
-
void waitForDerivedProcesses();
|
1633
|
-
void convertSpace(Space inSpace, const Vector3& inVec, Space outSpace, Vector3& outVec, bool translation) const;
|
1634
|
-
Vector3 convertWorldToTerrainAxes(const Vector3& inVec) const;
|
1635
|
-
Vector3 convertTerrainToWorldAxes(const Vector3& inVec) const;
|
1636
|
-
/** Get a Vector3 of the world-space point on the terrain, aligned Y-up always.
|
1637
|
-
@note This point is relative to Terrain::getPosition
|
1638
|
-
*/
|
1639
|
-
void getPointAlign(long x, long y, Alignment align, Vector3* outpos);
|
1640
|
-
/** Get a Vector3 of the world-space point on the terrain, supplying the
|
1641
|
-
height data manually (can be more optimal).
|
1642
|
-
@note This point is relative to Terrain::getPosition
|
1643
|
-
*/
|
1644
|
-
void getPointAlign(long x, long y, float height, Alignment align, Vector3* outpos);
|
1645
|
-
void calculateCurrentLod(Viewport* vp);
|
1646
|
-
/// Test a single quad of the terrain for ray intersection.
|
1647
|
-
std::pair<bool, Vector3> checkQuadIntersection(int x, int y, const Ray& ray); //const;
|
1648
|
-
|
1649
|
-
/// Delete blend maps for all layers >= lowIndex
|
1650
|
-
void deleteBlendMaps(uint8 lowIndex);
|
1651
|
-
/// Shift/slide all GPU blend texture channels > index up one slot. Blend data may shift into the next texture
|
1652
|
-
void shiftUpGPUBlendChannels(uint8 index);
|
1653
|
-
/// Shift/slide all GPU blend texture channels > index down one slot. Blend data may shift into the previous texture
|
1654
|
-
void shiftDownGPUBlendChannels(uint8 index);
|
1655
|
-
/// Copy a GPU blend channel from one source to another. Source and Dest are not required to be in the same texture
|
1656
|
-
void copyBlendTextureChannel(uint8 srcIndex, uint8 srcChannel, uint8 destIndex, uint8 destChannel );
|
1657
|
-
/// Reset a blend channel back to full black
|
1658
|
-
void clearGPUBlendChannel(uint8 index, uint channel);
|
1659
|
-
|
1660
|
-
void copyGlobalOptions();
|
1661
|
-
void checkLayers(bool includeGPUResources);
|
1662
|
-
void checkDeclaration();
|
1663
|
-
void deriveUVMultipliers();
|
1664
|
-
PixelFormat getBlendTextureFormat(uint8 textureIndex, uint8 numLayers);
|
1665
|
-
|
1666
|
-
void updateDerivedDataImpl(const Rect& rect, const Rect& lightmapExtraRect, bool synchronous, uint8 typeMask);
|
1667
|
-
|
1668
|
-
void getEdgeRect(NeighbourIndex index, long range, Rect* outRect);
|
1669
|
-
// get the equivalent of the passed in edge rectangle in neighbour
|
1670
|
-
void getNeighbourEdgeRect(NeighbourIndex index, const Rect& inRect, Rect* outRect);
|
1671
|
-
// get the equivalent of the passed in edge point in neighbour
|
1672
|
-
void getNeighbourPoint(NeighbourIndex index, long x, long y, long *outx, long *outy);
|
1673
|
-
// overflow a point into a neighbour index and point
|
1674
|
-
void getNeighbourPointOverflow(long x, long y, NeighbourIndex *outindex, long *outx, long *outy);
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
uint16 mWorkQueueChannel;
|
1679
|
-
SceneManager* mSceneMgr;
|
1680
|
-
SceneNode* mRootNode;
|
1681
|
-
String mResourceGroup;
|
1682
|
-
bool mIsLoaded;
|
1683
|
-
bool mModified;
|
1684
|
-
bool mHeightDataModified;
|
1685
|
-
|
1686
|
-
/// The height data (world coords relative to mPos)
|
1687
|
-
float* mHeightData;
|
1688
|
-
/// The delta information defining how a vertex moves before it is removed at a lower LOD
|
1689
|
-
float* mDeltaData;
|
1690
|
-
Alignment mAlign;
|
1691
|
-
Real mWorldSize;
|
1692
|
-
uint16 mSize;
|
1693
|
-
uint16 mMaxBatchSize;
|
1694
|
-
uint16 mMinBatchSize;
|
1695
|
-
Vector3 mPos;
|
1696
|
-
TerrainQuadTreeNode* mQuadTree;
|
1697
|
-
uint16 mNumLodLevels;
|
1698
|
-
uint16 mNumLodLevelsPerLeafNode;
|
1699
|
-
uint16 mTreeDepth;
|
1700
|
-
/// Base position in world space, relative to mPos
|
1701
|
-
Real mBase;
|
1702
|
-
/// Relationship between one point on the terrain and world size
|
1703
|
-
Real mScale;
|
1704
|
-
TerrainLayerDeclaration mLayerDecl;
|
1705
|
-
LayerInstanceList mLayers;
|
1706
|
-
RealVector mLayerUVMultiplier;
|
1707
|
-
|
1708
|
-
Real mSkirtSize;
|
1709
|
-
uint8 mRenderQueueGroup;
|
1710
|
-
uint32 mVisibilityFlags;
|
1711
|
-
uint32 mQueryFlags;
|
1712
|
-
|
1713
|
-
Rect mDirtyGeometryRect;
|
1714
|
-
Rect mDirtyDerivedDataRect;
|
1715
|
-
Rect mDirtyGeometryRectForNeighbours;
|
1716
|
-
Rect mDirtyLightmapFromNeighboursRect;
|
1717
|
-
bool mDerivedDataUpdateInProgress;
|
1718
|
-
uint8 mDerivedUpdatePendingMask; // if another update is requested while one is already running
|
1719
|
-
|
1720
|
-
/// A data holder for communicating with the background derived data update
|
1721
|
-
struct DerivedDataRequest
|
1722
|
-
{
|
1723
|
-
Terrain* terrain;
|
1724
|
-
// types requested
|
1725
|
-
uint8 typeMask;
|
1726
|
-
Rect dirtyRect;
|
1727
|
-
Rect lightmapExtraDirtyRect;
|
1728
|
-
_OgreTerrainExport friend std::ostream& operator<<(std::ostream& o, const DerivedDataRequest& r)
|
1729
|
-
{ return o; }
|
1730
|
-
};
|
1731
|
-
|
1732
|
-
/// A data holder for communicating with the background derived data update
|
1733
|
-
struct DerivedDataResponse
|
1734
|
-
{
|
1735
|
-
Terrain* terrain;
|
1736
|
-
// remaining types not yet processed
|
1737
|
-
uint8 remainingTypeMask;
|
1738
|
-
// The area of deltas that was updated
|
1739
|
-
Rect deltaUpdateRect;
|
1740
|
-
// the area of normals that was updated
|
1741
|
-
Rect normalUpdateRect;
|
1742
|
-
// the area of lightmap that was updated
|
1743
|
-
Rect lightmapUpdateRect;
|
1744
|
-
// all CPU-side data, independent of textures; to be blitted in main thread
|
1745
|
-
PixelBox* normalMapBox;
|
1746
|
-
PixelBox* lightMapBox;
|
1747
|
-
_OgreTerrainExport friend std::ostream& operator<<(std::ostream& o, const DerivedDataResponse& r)
|
1748
|
-
{ return o; }
|
1749
|
-
};
|
1750
|
-
|
1751
|
-
String mMaterialName;
|
1752
|
-
mutable MaterialPtr mMaterial;
|
1753
|
-
mutable TerrainMaterialGeneratorPtr mMaterialGenerator;
|
1754
|
-
mutable unsigned long long int mMaterialGenerationCount;
|
1755
|
-
mutable bool mMaterialDirty;
|
1756
|
-
mutable bool mMaterialParamsDirty;
|
1757
|
-
|
1758
|
-
uint16 mLayerBlendMapSize;
|
1759
|
-
uint16 mLayerBlendMapSizeActual;
|
1760
|
-
typedef vector<uint8*>::type BytePointerList;
|
1761
|
-
/// Staging post for blend map data
|
1762
|
-
BytePointerList mCpuBlendMapStorage;
|
1763
|
-
typedef vector<TexturePtr>::type TexturePtrList;
|
1764
|
-
TexturePtrList mBlendTextureList;
|
1765
|
-
TerrainLayerBlendMapList mLayerBlendMapList;
|
1766
|
-
|
1767
|
-
uint16 mGlobalColourMapSize;
|
1768
|
-
bool mGlobalColourMapEnabled;
|
1769
|
-
TexturePtr mColourMap;
|
1770
|
-
uint8* mCpuColourMapStorage;
|
1771
|
-
|
1772
|
-
uint16 mLightmapSize;
|
1773
|
-
uint16 mLightmapSizeActual;
|
1774
|
-
TexturePtr mLightmap;
|
1775
|
-
uint8* mCpuLightmapStorage;
|
1776
|
-
|
1777
|
-
uint16 mCompositeMapSize;
|
1778
|
-
uint16 mCompositeMapSizeActual;
|
1779
|
-
TexturePtr mCompositeMap;
|
1780
|
-
uint8* mCpuCompositeMapStorage;
|
1781
|
-
Rect mCompositeMapDirtyRect;
|
1782
|
-
unsigned long mCompositeMapUpdateCountdown;
|
1783
|
-
unsigned long mLastMillis;
|
1784
|
-
/// true if the updates included lightmap changes (widen)
|
1785
|
-
bool mCompositeMapDirtyRectLightmapUpdate;
|
1786
|
-
mutable MaterialPtr mCompositeMapMaterial;
|
1787
|
-
|
1788
|
-
|
1789
|
-
static NameGenerator msBlendTextureGenerator;
|
1790
|
-
static NameGenerator msNormalMapNameGenerator;
|
1791
|
-
static NameGenerator msLightmapNameGenerator;
|
1792
|
-
static NameGenerator msCompositeMapNameGenerator;
|
1793
|
-
|
1794
|
-
bool mLodMorphRequired;
|
1795
|
-
bool mNormalMapRequired;
|
1796
|
-
bool mLightMapRequired;
|
1797
|
-
bool mLightMapShadowsOnly;
|
1798
|
-
bool mCompositeMapRequired;
|
1799
|
-
/// Texture storing normals for the whole terrrain
|
1800
|
-
TexturePtr mTerrainNormalMap;
|
1801
|
-
|
1802
|
-
/// Pending data
|
1803
|
-
PixelBox* mCpuTerrainNormalMap;
|
1804
|
-
|
1805
|
-
const Camera* mLastLODCamera;
|
1806
|
-
unsigned long mLastLODFrame;
|
1807
|
-
int mLastViewportHeight;
|
1808
|
-
|
1809
|
-
Terrain* mNeighbours[NEIGHBOUR_COUNT];
|
1810
|
-
|
1811
|
-
GpuBufferAllocator* mCustomGpuBufferAllocator;
|
1812
|
-
DefaultGpuBufferAllocator mDefaultGpuBufferAllocator;
|
1813
|
-
|
1814
|
-
size_t getPositionBufVertexSize() const;
|
1815
|
-
size_t getDeltaBufVertexSize() const;
|
1816
|
-
|
1817
|
-
};
|
1818
|
-
|
1819
|
-
|
1820
|
-
/** Options class which just stores default options for the terrain.
|
1821
|
-
@remarks
|
1822
|
-
None of these options are stored with the terrain when saved. They are
|
1823
|
-
options that you can use to modify the behaviour of the terrain when it
|
1824
|
-
is loaded or created.
|
1825
|
-
@note
|
1826
|
-
You should construct a single instance of this class per application and
|
1827
|
-
do so before you start working with any other terrain classes.
|
1828
|
-
*/
|
1829
|
-
class _OgreTerrainExport TerrainGlobalOptions : public TerrainAlloc, public Singleton<TerrainGlobalOptions>
|
1830
|
-
{
|
1831
|
-
protected:
|
1832
|
-
|
1833
|
-
Real mSkirtSize;
|
1834
|
-
Vector3 mLightMapDir;
|
1835
|
-
bool mCastsShadows;
|
1836
|
-
Real mMaxPixelError;
|
1837
|
-
uint8 mRenderQueueGroup;
|
1838
|
-
uint32 mVisibilityFlags;
|
1839
|
-
uint32 mQueryFlags;
|
1840
|
-
bool mUseRayBoxDistanceCalculation;
|
1841
|
-
TerrainMaterialGeneratorPtr mDefaultMaterialGenerator;
|
1842
|
-
uint16 mLayerBlendMapSize;
|
1843
|
-
Real mDefaultLayerTextureWorldSize;
|
1844
|
-
uint16 mDefaultGlobalColourMapSize;
|
1845
|
-
uint16 mLightmapSize;
|
1846
|
-
uint16 mCompositeMapSize;
|
1847
|
-
ColourValue mCompositeMapAmbient;
|
1848
|
-
ColourValue mCompositeMapDiffuse;
|
1849
|
-
Real mCompositeMapDistance;
|
1850
|
-
String mResourceGroup;
|
1851
|
-
bool mUseVertexCompressionWhenAvailable;
|
1852
|
-
|
1853
|
-
public:
|
1854
|
-
TerrainGlobalOptions();
|
1855
|
-
virtual ~TerrainGlobalOptions() {}
|
1856
|
-
|
1857
|
-
|
1858
|
-
/** The default size of 'skirts' used to hide terrain cracks
|
1859
|
-
(default 10)
|
1860
|
-
*/
|
1861
|
-
Real getSkirtSize() { return mSkirtSize; }
|
1862
|
-
/** method - the default size of 'skirts' used to hide terrain cracks
|
1863
|
-
(default 10)
|
1864
|
-
@remarks
|
1865
|
-
Changing this value only applies to Terrain instances loaded / reloaded afterwards.
|
1866
|
-
*/
|
1867
|
-
void setSkirtSize(Real skirtSz) { mSkirtSize = skirtSz; }
|
1868
|
-
/// Get the shadow map light direction to use (world space)
|
1869
|
-
const Vector3& getLightMapDirection() { return mLightMapDir; }
|
1870
|
-
/** Set the shadow map light direction to use (world space). */
|
1871
|
-
void setLightMapDirection(const Vector3& v) { mLightMapDir = v; }
|
1872
|
-
/// Get the composite map ambient light to use
|
1873
|
-
const ColourValue& getCompositeMapAmbient() { return mCompositeMapAmbient; }
|
1874
|
-
/// Set the composite map ambient light to use
|
1875
|
-
void setCompositeMapAmbient(const ColourValue& c) { mCompositeMapAmbient = c; }
|
1876
|
-
/// Get the composite map iffuse light to use
|
1877
|
-
const ColourValue& getCompositeMapDiffuse() { return mCompositeMapDiffuse; }
|
1878
|
-
/// Set the composite map diffuse light to use
|
1879
|
-
void setCompositeMapDiffuse(const ColourValue& c) { mCompositeMapDiffuse = c; }
|
1880
|
-
/// Get the distance at which to start using a composite map if present
|
1881
|
-
Real getCompositeMapDistance() { return mCompositeMapDistance; }
|
1882
|
-
/// Set the distance at which to start using a composite map if present
|
1883
|
-
void setCompositeMapDistance(Real c) { mCompositeMapDistance = c; }
|
1884
|
-
|
1885
|
-
|
1886
|
-
/** Whether the terrain will be able to cast shadows (texture shadows
|
1887
|
-
only are supported, and you must be using depth shadow maps).
|
1888
|
-
*/
|
1889
|
-
bool getCastsDynamicShadows() { return mCastsShadows; }
|
1890
|
-
|
1891
|
-
/** Whether the terrain will be able to cast shadows (texture shadows
|
1892
|
-
only are supported, and you must be using depth shadow maps).
|
1893
|
-
This value can be set dynamically, and affects all existing terrains.
|
1894
|
-
It defaults to false.
|
1895
|
-
*/
|
1896
|
-
void setCastsDynamicShadows(bool s) { mCastsShadows = s; }
|
1897
|
-
|
1898
|
-
/** Get the maximum screen pixel error that should be allowed when rendering. */
|
1899
|
-
Real getMaxPixelError() { return mMaxPixelError; }
|
1900
|
-
|
1901
|
-
/** Set the maximum screen pixel error that should be allowed when rendering.
|
1902
|
-
@note
|
1903
|
-
This value can be varied dynamically and affects all existing terrains.
|
1904
|
-
It will be weighted by the LOD bias on viewports.
|
1905
|
-
*/
|
1906
|
-
void setMaxPixelError(Real pixerr) { mMaxPixelError = pixerr; }
|
1907
|
-
|
1908
|
-
/// Get the render queue group that this terrain will be rendered into
|
1909
|
-
uint8 getRenderQueueGroup(void) { return mRenderQueueGroup; }
|
1910
|
-
/** Set the render queue group that terrains will be rendered into.
|
1911
|
-
@remarks This applies to newly created terrains, after which they will
|
1912
|
-
maintain their own queue group settings
|
1913
|
-
*/
|
1914
|
-
void setRenderQueueGroup(uint8 grp) { mRenderQueueGroup = grp; }
|
1915
|
-
|
1916
|
-
/// Get the visbility flags that terrains will be rendered with
|
1917
|
-
uint32 getVisibilityFlags(void) { return mVisibilityFlags; }
|
1918
|
-
/** Set the visbility flags that terrains will be rendered with
|
1919
|
-
@remarks This applies to newly created terrains, after which they will
|
1920
|
-
maintain their own settings
|
1921
|
-
*/
|
1922
|
-
void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }
|
1923
|
-
|
1924
|
-
/** Set the default query flags for terrains.
|
1925
|
-
@remarks This applies to newly created terrains, after which they will
|
1926
|
-
maintain their own settings
|
1927
|
-
*/
|
1928
|
-
void setQueryFlags(uint32 flags) { mQueryFlags = flags; }
|
1929
|
-
/** Get the default query flags for terrains.
|
1930
|
-
*/
|
1931
|
-
uint32 getQueryFlags(void) { return mQueryFlags; }
|
1932
|
-
|
1933
|
-
/** As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. */
|
1934
|
-
void addQueryFlags(uint32 flags) { mQueryFlags |= flags; }
|
1935
|
-
|
1936
|
-
/* As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. */
|
1937
|
-
void removeQueryFlags(uint32 flags) { mQueryFlags &= ~flags; }
|
1938
|
-
|
1939
|
-
/** Returns whether or not to use an accurate calculation of camera distance
|
1940
|
-
from a terrain tile (ray / AABB intersection) or whether to use the
|
1941
|
-
simpler distance from the tile centre.
|
1942
|
-
*/
|
1943
|
-
bool getUseRayBoxDistanceCalculation() { return mUseRayBoxDistanceCalculation; }
|
1944
|
-
|
1945
|
-
/** Sets whether to use an accurate ray / box intersection to determine
|
1946
|
-
distance from a terrain tile, or whether to use the simple distance
|
1947
|
-
from the tile centre.
|
1948
|
-
Using ray/box intersection will result in higher detail terrain because
|
1949
|
-
the LOD calculation is more conservative, assuming the 'worst case scenario'
|
1950
|
-
of a large height difference at the edge of a tile. This is guaranteed to give you at least
|
1951
|
-
the max pixel error or better, but will often give you more detail than
|
1952
|
-
you need. Not using the ray/box method is cheaper but will only use
|
1953
|
-
the max pixel error as a guide, the actual error will vary above and
|
1954
|
-
below that. The default is not to use the ray/box approach.
|
1955
|
-
*/
|
1956
|
-
void setUseRayBoxDistanceCalculation(bool rb) { mUseRayBoxDistanceCalculation = rb; }
|
1957
|
-
|
1958
|
-
/** Get the default material generator.
|
1959
|
-
*/
|
1960
|
-
TerrainMaterialGeneratorPtr getDefaultMaterialGenerator();
|
1961
|
-
|
1962
|
-
/** Set the default material generator.
|
1963
|
-
*/
|
1964
|
-
void setDefaultMaterialGenerator(TerrainMaterialGeneratorPtr gen);
|
1965
|
-
|
1966
|
-
/** Get the default size of the blend maps for a new terrain.
|
1967
|
-
*/
|
1968
|
-
uint16 getLayerBlendMapSize() { return mLayerBlendMapSize; }
|
1969
|
-
|
1970
|
-
/** Sets the default size of blend maps for a new terrain.
|
1971
|
-
This is the resolution of each blending layer for a new terrain.
|
1972
|
-
Once created, this information will be stored with the terrain.
|
1973
|
-
*/
|
1974
|
-
void setLayerBlendMapSize(uint16 sz) { mLayerBlendMapSize = sz;}
|
1975
|
-
|
1976
|
-
/** Get the default world size for a layer 'splat' texture to cover.
|
1977
|
-
*/
|
1978
|
-
Real getDefaultLayerTextureWorldSize() { return mDefaultLayerTextureWorldSize; }
|
1979
|
-
|
1980
|
-
/** Set the default world size for a layer 'splat' texture to cover.
|
1981
|
-
*/
|
1982
|
-
void setDefaultLayerTextureWorldSize(Real sz) { mDefaultLayerTextureWorldSize = sz; }
|
1983
|
-
|
1984
|
-
/** Get the default size of the terrain global colour map for a new terrain.
|
1985
|
-
*/
|
1986
|
-
uint16 getDefaultGlobalColourMapSize() { return mDefaultGlobalColourMapSize; }
|
1987
|
-
|
1988
|
-
/** Set the default size of the terrain global colour map for a new terrain.
|
1989
|
-
Once created, this information will be stored with the terrain.
|
1990
|
-
*/
|
1991
|
-
void setDefaultGlobalColourMapSize(uint16 sz) { mDefaultGlobalColourMapSize = sz;}
|
1992
|
-
|
1993
|
-
|
1994
|
-
/** Get the default size of the lightmaps for a new terrain.
|
1995
|
-
*/
|
1996
|
-
uint16 getLightMapSize() { return mLightmapSize; }
|
1997
|
-
|
1998
|
-
/** Sets the default size of lightmaps for a new terrain.
|
1999
|
-
*/
|
2000
|
-
void setLightMapSize(uint16 sz) { mLightmapSize = sz;}
|
2001
|
-
|
2002
|
-
/** Get the default size of the composite maps for a new terrain.
|
2003
|
-
*/
|
2004
|
-
uint16 getCompositeMapSize() { return mCompositeMapSize; }
|
2005
|
-
|
2006
|
-
/** Sets the default size of composite maps for a new terrain.
|
2007
|
-
*/
|
2008
|
-
void setCompositeMapSize(uint16 sz) { mCompositeMapSize = sz;}
|
2009
|
-
|
2010
|
-
/** Set the default resource group to use to load / save terrains.
|
2011
|
-
*/
|
2012
|
-
void setDefaultResourceGroup(const String& grp) { mResourceGroup = grp; }
|
2013
|
-
|
2014
|
-
/** Get the default resource group to use to load / save terrains.
|
2015
|
-
*/
|
2016
|
-
const String& getDefaultResourceGroup() { return mResourceGroup; }
|
2017
|
-
|
2018
|
-
/** Get whether to allow vertex compression to be used when the material
|
2019
|
-
generator states that it supports it.
|
2020
|
-
*/
|
2021
|
-
bool getUseVertexCompressionWhenAvailable() const { return mUseVertexCompressionWhenAvailable; }
|
2022
|
-
|
2023
|
-
/** Set whether to allow vertex compression to be used when the material
|
2024
|
-
generator states that it supports it.
|
2025
|
-
@note You should only call this before creating any terrain instances.
|
2026
|
-
The default is true, so if a material generator supports compressed vertices,
|
2027
|
-
and so does the hardware (this basically means shader support), they will be used).
|
2028
|
-
However you can disable this in an emergency if required.
|
2029
|
-
*/
|
2030
|
-
void setUseVertexCompressionWhenAvailable(bool enable) { mUseVertexCompressionWhenAvailable = enable; }
|
2031
|
-
|
2032
|
-
/** Override standard Singleton retrieval.
|
2033
|
-
@remarks
|
2034
|
-
Why do we do this? Well, it's because the Singleton
|
2035
|
-
implementation is in a .h file, which means it gets compiled
|
2036
|
-
into anybody who includes it. This is needed for the
|
2037
|
-
Singleton template to work, but we actually only want it
|
2038
|
-
compiled into the implementation of the class based on the
|
2039
|
-
Singleton, not all of them. If we don't change this, we get
|
2040
|
-
link errors when trying to use the Singleton-based class from
|
2041
|
-
an outside dll.
|
2042
|
-
@par
|
2043
|
-
This method just delegates to the template version anyway,
|
2044
|
-
but the implementation stays in this single compilation unit,
|
2045
|
-
preventing link errors.
|
2046
|
-
*/
|
2047
|
-
static TerrainGlobalOptions& getSingleton(void);
|
2048
|
-
/** Override standard Singleton retrieval.
|
2049
|
-
@remarks
|
2050
|
-
Why do we do this? Well, it's because the Singleton
|
2051
|
-
implementation is in a .h file, which means it gets compiled
|
2052
|
-
into anybody who includes it. This is needed for the
|
2053
|
-
Singleton template to work, but we actually only want it
|
2054
|
-
compiled into the implementation of the class based on the
|
2055
|
-
Singleton, not all of them. If we don't change this, we get
|
2056
|
-
link errors when trying to use the Singleton-based class from
|
2057
|
-
an outside dll.
|
2058
|
-
@par
|
2059
|
-
This method just delegates to the template version anyway,
|
2060
|
-
but the implementation stays in this single compilation unit,
|
2061
|
-
preventing link errors.
|
2062
|
-
*/
|
2063
|
-
static TerrainGlobalOptions* getSingletonPtr(void);
|
2064
|
-
|
2065
|
-
|
2066
|
-
};
|
2067
|
-
|
2068
|
-
|
2069
|
-
/** @} */
|
2070
|
-
/** @} */
|
2071
|
-
}
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
|
2076
|
-
#endif
|