shattered_ogrerb 0.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shattered_ogrerb.rb +17 -0
- data/lib/shattered_ogrerb/base.rb +28 -0
- data/lib/shattered_ogrerb/camera.rb +6 -0
- data/lib/shattered_ogrerb/key_manager.rb +54 -0
- data/lib/shattered_ogrerb/light.rb +5 -0
- data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
- data/lib/shattered_ogrerb/rmaterial.rb +86 -0
- data/lib/shattered_ogrerb/vector.rb +211 -0
- data/vendor/Ogre/OIS.dll +0 -0
- data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
- data/vendor/Ogre/OgreMain.dll +0 -0
- data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
- data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
- data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
- data/vendor/Ogre/RenderSystem_GL.dll +0 -0
- data/vendor/Ogre/cg.dll +0 -0
- data/vendor/Ogre/plugins.cfg +9 -0
- data/vendor/ogrerb/MIT_LICENCE +19 -0
- data/vendor/ogrerb/README +79 -0
- data/vendor/ogrerb/Rakefile +220 -0
- data/vendor/ogrerb/build/navi/extconf.rb +53 -0
- data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
- data/vendor/ogrerb/build/ois/extconf.rb +48 -0
- data/vendor/ogrerb/doc_src/ogre.rb +152 -0
- data/vendor/ogrerb/doc_src/ois.rb +67 -0
- data/vendor/ogrerb/lib/constants.rb +35 -0
- data/vendor/ogrerb/lib/ogre.dll +0 -0
- data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
- data/vendor/ogrerb/navi/Navi.i +5 -0
- data/vendor/ogrerb/navi/NaviData.i +18 -0
- data/vendor/ogrerb/navi/NaviManager.i +5 -0
- data/vendor/ogrerb/navi/NaviProxies.i +7 -0
- data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
- data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
- data/vendor/ogrerb/navi/navi_rb.i +53 -0
- data/vendor/ogrerb/navi/std_multimap.i +581 -0
- data/vendor/ogrerb/ogre.rb +23 -0
- data/vendor/ogrerb/ogre/Application.i +59 -0
- data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
- data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
- data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
- data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
- data/vendor/ogrerb/ogre/OgreAny.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
- data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
- data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
- data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
- data/vendor/ogrerb/ogre/OgreBone.i +5 -0
- data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
- data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
- data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
- data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
- data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
- data/vendor/ogrerb/ogre/OgreController.i +5 -0
- data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
- data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
- data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
- data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreException.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
- data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
- data/vendor/ogrerb/ogre/OgreFont.i +5 -0
- data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
- data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreImage.i +5 -0
- data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
- data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
- data/vendor/ogrerb/ogre/OgreLight.i +5 -0
- data/vendor/ogrerb/ogre/OgreLog.i +5 -0
- data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
- data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
- data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMath.i +48 -0
- data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
- data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
- data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
- data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreNode.i +11 -0
- data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
- data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
- data/vendor/ogrerb/ogre/OgrePass.i +10 -0
- data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
- data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
- data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
- data/vendor/ogrerb/ogre/OgrePose.i +5 -0
- data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
- data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
- data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
- data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
- data/vendor/ogrerb/ogre/OgreRay.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
- data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
- data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
- data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreResource.i +68 -0
- data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
- data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
- data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
- data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
- data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
- data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
- data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
- data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
- data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
- data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
- data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
- data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreString.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
- data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
- data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
- data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
- data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
- data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
- data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
- data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
- data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
- data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreZip.i +5 -0
- data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
- data/vendor/ogrerb/ogre/std_multimap.i +581 -0
- data/vendor/ogrerb/ois/OISProxies.i +9 -0
- data/vendor/ogrerb/ois/OISRenames.i +11 -0
- data/vendor/ogrerb/ois/ois.i +135 -0
- data/vendor/ogrerb/ois/std_multimap.i +581 -0
- data/vendor/ogrerb/platform.rb +23 -0
- data/vendor/ogrerb/samples/application.rb +146 -0
- data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
- data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
- data/vendor/ogrerb/samples/bsp.rb +74 -0
- data/vendor/ogrerb/samples/cg.dll +0 -0
- data/vendor/ogrerb/samples/js3250.dll +0 -0
- data/vendor/ogrerb/samples/lighting.rb +136 -0
- data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
- data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
- data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
- data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
- data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
- data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
- data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
- data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
- data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
- data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
- data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
- data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
- data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
- data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
- data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
- data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
- data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
- data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
- data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
- data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
- data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
- data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
- data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
- data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
- data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
- data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
- data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
- data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
- data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
- data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
- data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
- data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
- data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
- data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
- data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
- data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
- data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
- data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
- data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
- data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
- data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
- data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
- data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
- data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
- data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
- data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
- data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
- data/vendor/ogrerb/samples/navi/res/html.css +478 -0
- data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
- data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
- data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
- data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
- data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
- data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
- data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
- data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
- data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
- data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
- data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
- data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
- data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
- data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
- data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
- data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
- data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
- data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
- data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
- data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
- data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
- data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
- data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
- data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
- data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
- data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
- data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
- data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/plugins.cfg +11 -0
- data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
- data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
- data/vendor/ogrerb/samples/resources.cfg +14 -0
- data/vendor/ogrerb/samples/sky_box.rb +105 -0
- data/vendor/ogrerb/samples/sky_dome.rb +84 -0
- data/vendor/ogrerb/samples/sky_plane.rb +24 -0
- data/vendor/ogrerb/samples/smoke.rb +21 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
- data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
- data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
- data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
- data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
- data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
- data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
- data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
- data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
- data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
- data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
- data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
- data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
- data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
- data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
- data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
- data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
- data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
- data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
- data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
- data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
- data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
- data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
- data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
- data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
- data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
- data/vendor/ogrerb/website/contact.html +43 -0
- data/vendor/ogrerb/website/docs.html +92 -0
- data/vendor/ogrerb/website/get.html +60 -0
- data/vendor/ogrerb/website/images/Thumbs.db +0 -0
- data/vendor/ogrerb/website/images/header.png +0 -0
- data/vendor/ogrerb/website/images/header.xcf +0 -0
- data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
- data/vendor/ogrerb/website/images/redogrehead.png +0 -0
- data/vendor/ogrerb/website/images/ruby.png +0 -0
- data/vendor/ogrerb/website/images/sample.png +0 -0
- data/vendor/ogrerb/website/index.html +80 -0
- data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
- data/vendor/ogrerb/website/stylesheets/main.css +96 -0
- metadata +997 -0
@@ -0,0 +1,152 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __PatchMesh_H__
|
30
|
+
#define __PatchMesh_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreMesh.h"
|
34
|
+
#include "OgrePatchSurface.h"
|
35
|
+
|
36
|
+
namespace Ogre {
|
37
|
+
|
38
|
+
/** Patch specialisation of Mesh.
|
39
|
+
@remarks
|
40
|
+
Instances of this class should be created by calling MeshManager::createBezierPatch.
|
41
|
+
*/
|
42
|
+
class _OgreExport PatchMesh : public Mesh
|
43
|
+
{
|
44
|
+
protected:
|
45
|
+
/// Internal surface definition
|
46
|
+
PatchSurface mSurface;
|
47
|
+
/// Vertex declaration, cloned from the input
|
48
|
+
VertexDeclaration* mDeclaration;
|
49
|
+
public:
|
50
|
+
/// Constructor
|
51
|
+
PatchMesh(ResourceManager* creator, const String& name, ResourceHandle handle,
|
52
|
+
const String& group);
|
53
|
+
|
54
|
+
/// Define the patch, as defined in MeshManager::createBezierPatch
|
55
|
+
void define(void* controlPointBuffer,
|
56
|
+
VertexDeclaration *declaration, size_t width, size_t height,
|
57
|
+
size_t uMaxSubdivisionLevel = PatchSurface::AUTO_LEVEL,
|
58
|
+
size_t vMaxSubdivisionLevel = PatchSurface::AUTO_LEVEL,
|
59
|
+
PatchSurface::VisibleSide visibleSide = PatchSurface::VS_FRONT,
|
60
|
+
HardwareBuffer::Usage vbUsage = HardwareBuffer::HBU_STATIC_WRITE_ONLY,
|
61
|
+
HardwareBuffer::Usage ibUsage = HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY,
|
62
|
+
bool vbUseShadow = false, bool ibUseShadow = false);
|
63
|
+
|
64
|
+
/* Sets the current subdivision level as a proportion of full detail.
|
65
|
+
@param factor Subdivision factor as a value from 0 (control points only) to 1 (maximum
|
66
|
+
subdivision). */
|
67
|
+
void setSubdivision(Real factor);
|
68
|
+
protected:
|
69
|
+
/// Overridden from Resource
|
70
|
+
void loadImpl(void);
|
71
|
+
|
72
|
+
};
|
73
|
+
/** Specialisation of SharedPtr to allow SharedPtr to be assigned to PatchMeshPtr
|
74
|
+
@note Has to be a subclass since we need operator=.
|
75
|
+
We could templatise this instead of repeating per Resource subclass,
|
76
|
+
except to do so requires a form VC6 does not support i.e.
|
77
|
+
ResourceSubclassPtr<T> : public SharedPtr<T>
|
78
|
+
*/
|
79
|
+
class _OgreExport PatchMeshPtr : public SharedPtr<PatchMesh>
|
80
|
+
{
|
81
|
+
public:
|
82
|
+
PatchMeshPtr() : SharedPtr<PatchMesh>() {}
|
83
|
+
explicit PatchMeshPtr(PatchMesh* rep) : SharedPtr<PatchMesh>(rep) {}
|
84
|
+
PatchMeshPtr(const PatchMeshPtr& r) : SharedPtr<PatchMesh>(r) {}
|
85
|
+
PatchMeshPtr(const ResourcePtr& r) : SharedPtr<PatchMesh>()
|
86
|
+
{
|
87
|
+
// lock & copy other mutex pointer
|
88
|
+
OGRE_MUTEX_CONDITIONAL(r.OGRE_AUTO_MUTEX_NAME)
|
89
|
+
{
|
90
|
+
OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME)
|
91
|
+
OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME)
|
92
|
+
pRep = static_cast<PatchMesh*>(r.getPointer());
|
93
|
+
pUseCount = r.useCountPointer();
|
94
|
+
if (pUseCount)
|
95
|
+
{
|
96
|
+
++(*pUseCount);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/// Operator used to convert a ResourcePtr to a PatchMeshPtr
|
102
|
+
PatchMeshPtr& operator=(const ResourcePtr& r)
|
103
|
+
{
|
104
|
+
if (pRep == static_cast<PatchMesh*>(r.getPointer()))
|
105
|
+
return *this;
|
106
|
+
release();
|
107
|
+
|
108
|
+
OGRE_MUTEX_CONDITIONAL(r.OGRE_AUTO_MUTEX_NAME)
|
109
|
+
{
|
110
|
+
// lock & copy other mutex pointer
|
111
|
+
OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME)
|
112
|
+
OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME)
|
113
|
+
pRep = static_cast<PatchMesh*>(r.getPointer());
|
114
|
+
pUseCount = r.useCountPointer();
|
115
|
+
if (pUseCount)
|
116
|
+
{
|
117
|
+
++(*pUseCount);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
else
|
121
|
+
{
|
122
|
+
// RHS must be a null pointer
|
123
|
+
assert(r.isNull() && "RHS must be null if it has no mutex!");
|
124
|
+
setNull();
|
125
|
+
}
|
126
|
+
return *this;
|
127
|
+
}
|
128
|
+
/// Operator used to convert a MeshPtr to a PatchMeshPtr
|
129
|
+
PatchMeshPtr& operator=(const MeshPtr& r)
|
130
|
+
{
|
131
|
+
if (pRep == static_cast<PatchMesh*>(r.getPointer()))
|
132
|
+
return *this;
|
133
|
+
release();
|
134
|
+
// lock & copy other mutex pointer
|
135
|
+
OGRE_MUTEX_CONDITIONAL(r.OGRE_AUTO_MUTEX_NAME)
|
136
|
+
{
|
137
|
+
OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME)
|
138
|
+
OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME)
|
139
|
+
pRep = static_cast<PatchMesh*>(r.getPointer());
|
140
|
+
pUseCount = r.useCountPointer();
|
141
|
+
if (pUseCount)
|
142
|
+
{
|
143
|
+
++(*pUseCount);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
return *this;
|
147
|
+
}
|
148
|
+
};
|
149
|
+
|
150
|
+
}
|
151
|
+
|
152
|
+
#endif
|
@@ -0,0 +1,233 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __PatchSurface_H__
|
30
|
+
#define __PatchSurface_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
|
34
|
+
#include "OgreVector3.h"
|
35
|
+
#include "OgreString.h"
|
36
|
+
#include "OgreRenderOperation.h"
|
37
|
+
#include "OgreAxisAlignedBox.h"
|
38
|
+
|
39
|
+
namespace Ogre {
|
40
|
+
|
41
|
+
/** A surface which is defined by curves of some kind to form a patch, e.g. a Bezier patch.
|
42
|
+
@remarks
|
43
|
+
This object will take a list of control points with various assorted data, and will
|
44
|
+
subdivide it into a patch mesh. Currently only Bezier curves are supported for defining
|
45
|
+
the surface, but other techniques such as NURBS would follow the same basic approach.
|
46
|
+
*/
|
47
|
+
class _OgreExport PatchSurface
|
48
|
+
{
|
49
|
+
public:
|
50
|
+
PatchSurface();
|
51
|
+
~PatchSurface();
|
52
|
+
|
53
|
+
enum PatchSurfaceType
|
54
|
+
{
|
55
|
+
/// A patch defined by a set of bezier curves
|
56
|
+
PST_BEZIER
|
57
|
+
};
|
58
|
+
|
59
|
+
/// Constant for indicating automatic determination of subdivision level for patches
|
60
|
+
enum
|
61
|
+
{
|
62
|
+
AUTO_LEVEL = -1
|
63
|
+
};
|
64
|
+
|
65
|
+
enum VisibleSide {
|
66
|
+
/// The side from which u goes right and v goes up (as in texture coords)
|
67
|
+
VS_FRONT,
|
68
|
+
/// The side from which u goes right and v goes down (reverse of texture coords)
|
69
|
+
VS_BACK,
|
70
|
+
/// Both sides are visible - warning this creates 2x the number of triangles and adds extra overhead for calculating normals
|
71
|
+
VS_BOTH
|
72
|
+
};
|
73
|
+
/** Sets up the surface by defining it's control points, type and initial subdivision level.
|
74
|
+
@remarks
|
75
|
+
This method initialises the surface by passing it a set of control points. The type of curves to be used
|
76
|
+
are also defined here, although the only supported option currently is a bezier patch. You can also
|
77
|
+
specify a global subdivision level here if you like, although it is recommended that the parameter
|
78
|
+
is left as AUTO_LEVEL, which means the system decides how much subdivision is required (based on the
|
79
|
+
curvature of the surface)
|
80
|
+
@param
|
81
|
+
controlPointBuffer A pointer to a buffer containing the vertex data which defines control points
|
82
|
+
of the curves rather than actual vertices. Note that you are expected to provide not
|
83
|
+
just position information, but potentially normals and texture coordinates too. The
|
84
|
+
format of the buffer is defined in the VertexDeclaration parameter
|
85
|
+
@param
|
86
|
+
decaration VertexDeclaration describing the contents of the buffer.
|
87
|
+
Note this declaration must _only_ draw on buffer source 0!
|
88
|
+
@param
|
89
|
+
width Specifies the width of the patch in control points.
|
90
|
+
@param
|
91
|
+
height Specifies the height of the patch in control points.
|
92
|
+
@param
|
93
|
+
pType The type of surface - currently only PST_BEZIER is supported
|
94
|
+
@param
|
95
|
+
uMaxSubdivisionLevel,vMaxSubdivisionLevel If you want to manually set the top level of subdivision,
|
96
|
+
do it here, otherwise let the system decide.
|
97
|
+
@param
|
98
|
+
visibleSide Determines which side of the patch (or both) triangles are generated for.
|
99
|
+
*/
|
100
|
+
void defineSurface(void* controlPointBuffer,
|
101
|
+
VertexDeclaration *declaration, size_t width, size_t height,
|
102
|
+
PatchSurfaceType pType = PST_BEZIER,
|
103
|
+
size_t uMaxSubdivisionLevel = AUTO_LEVEL, size_t vMaxSubdivisionLevel = AUTO_LEVEL,
|
104
|
+
VisibleSide visibleSide = VS_FRONT);
|
105
|
+
|
106
|
+
/** Based on a previous call to defineSurface, establishes the number of vertices required
|
107
|
+
to hold this patch at the maximum detail level.
|
108
|
+
@remarks This is useful when you wish to build the patch into external vertex / index buffers.
|
109
|
+
|
110
|
+
*/
|
111
|
+
size_t getRequiredVertexCount(void) const;
|
112
|
+
/** Based on a previous call to defineSurface, establishes the number of indexes required
|
113
|
+
to hold this patch at the maximum detail level.
|
114
|
+
@remarks This is useful when you wish to build the patch into external vertex / index buffers.
|
115
|
+
|
116
|
+
*/
|
117
|
+
size_t getRequiredIndexCount(void) const;
|
118
|
+
|
119
|
+
/** Gets the current index count based on the current subdivision level. */
|
120
|
+
size_t getCurrentIndexCount(void) const;
|
121
|
+
/// Returns the index offset used by this buffer to write data into the buffer
|
122
|
+
size_t getIndexOffset(void) const { return mIndexOffset; }
|
123
|
+
/// Returns the vertex offset used by this buffer to write data into the buffer
|
124
|
+
size_t getVertexOffset(void) const { return mVertexOffset; }
|
125
|
+
|
126
|
+
|
127
|
+
/** Gets the bounds of this patch, only valid after calling defineSurface. */
|
128
|
+
const AxisAlignedBox& getBounds(void) const;
|
129
|
+
/** Gets the radius of the bounding sphere for this patch, only valid after defineSurface
|
130
|
+
has been called. */
|
131
|
+
Real getBoundingSphereRadius(void) const;
|
132
|
+
/** Tells the system to build the mesh relating to the surface into externally created
|
133
|
+
buffers.
|
134
|
+
@remarks
|
135
|
+
The VertexDeclaration of the vertex buffer must be identical to the one passed into
|
136
|
+
defineSurface. In addition, there must be enough space in the buffer to
|
137
|
+
accommodate the patch at full detail level; you should call getRequiredVertexCount
|
138
|
+
and getRequiredIndexCount to determine this. This method does not create an internal
|
139
|
+
mesh for this patch and so getMesh will return null if you call it after building the
|
140
|
+
patch this way.
|
141
|
+
@param destVertexBuffer The destination vertex buffer in which to build the patch.
|
142
|
+
@param vertexStart The offset at which to start writing vertices for this patch
|
143
|
+
@param destIndexBuffer The destination index buffer in which to build the patch.
|
144
|
+
@param vertexStart The offset at which to start writing indexes for this patch
|
145
|
+
|
146
|
+
*/
|
147
|
+
void build(HardwareVertexBufferSharedPtr destVertexBuffer, size_t vertexStart,
|
148
|
+
HardwareIndexBufferSharedPtr destIndexBuffer, size_t indexStart);
|
149
|
+
|
150
|
+
/** Alters the level of subdivision for this surface.
|
151
|
+
@remarks
|
152
|
+
This method changes the proportionate detail level of the patch; since
|
153
|
+
the U and V directions can have different subdivision levels, this method
|
154
|
+
takes a single Real value where 0 is the minimum detail (the control points)
|
155
|
+
and 1 is the maximum detail level as supplied to the original call to
|
156
|
+
defineSurface.
|
157
|
+
*/
|
158
|
+
void setSubdivisionFactor(Real factor);
|
159
|
+
|
160
|
+
/** Gets the current level of subdivision. */
|
161
|
+
Real getSubdivisionFactor(void) const;
|
162
|
+
|
163
|
+
void* getControlPointBuffer(void) const
|
164
|
+
{
|
165
|
+
return mControlPointBuffer;
|
166
|
+
}
|
167
|
+
/** Convenience method for telling the patch that the control points have been
|
168
|
+
deleted, since once the patch has been built they are not required. */
|
169
|
+
void notifyControlPointBufferDeallocated(void) {
|
170
|
+
mControlPointBuffer = 0;
|
171
|
+
}
|
172
|
+
protected:
|
173
|
+
/// Vertex declaration describing the control point buffer
|
174
|
+
VertexDeclaration* mDeclaration;
|
175
|
+
/// Buffer containing the system-memory control points
|
176
|
+
void* mControlPointBuffer;
|
177
|
+
/// Type of surface
|
178
|
+
PatchSurfaceType mType;
|
179
|
+
/// Width in control points
|
180
|
+
size_t mCtlWidth;
|
181
|
+
/// Height in control points
|
182
|
+
size_t mCtlHeight;
|
183
|
+
/// TotalNumber of control points
|
184
|
+
size_t mCtlCount;
|
185
|
+
/// U-direction subdivision level
|
186
|
+
size_t mULevel;
|
187
|
+
/// V-direction subdivision level
|
188
|
+
size_t mVLevel;
|
189
|
+
/// Max subdivision level
|
190
|
+
size_t mMaxULevel;
|
191
|
+
size_t mMaxVLevel;
|
192
|
+
/// Width of the subdivided mesh (big enough for max level)
|
193
|
+
size_t mMeshWidth;
|
194
|
+
/// Height of the subdivided mesh (big enough for max level)
|
195
|
+
size_t mMeshHeight;
|
196
|
+
/// Which side is visible
|
197
|
+
VisibleSide mVSide;
|
198
|
+
|
199
|
+
Real mSubdivisionFactor;
|
200
|
+
|
201
|
+
std::vector<Vector3> mVecCtlPoints;
|
202
|
+
|
203
|
+
/** Internal method for finding the subdivision level given 3 control points.
|
204
|
+
*/
|
205
|
+
size_t findLevel( Vector3& a, Vector3& b, Vector3& c);
|
206
|
+
|
207
|
+
void distributeControlPoints(void* lockedBuffer);
|
208
|
+
void subdivideCurve(void* lockedBuffer, size_t startIdx, size_t stepSize, size_t numSteps, size_t iterations);
|
209
|
+
void interpolateVertexData(void* lockedBuffer, size_t leftIndex, size_t rightIndex, size_t destIndex);
|
210
|
+
void makeTriangles(void);
|
211
|
+
|
212
|
+
size_t getAutoULevel(bool forMax = false);
|
213
|
+
size_t getAutoVLevel(bool forMax = false);
|
214
|
+
|
215
|
+
HardwareVertexBufferSharedPtr mVertexBuffer;
|
216
|
+
HardwareIndexBufferSharedPtr mIndexBuffer;
|
217
|
+
size_t mVertexOffset;
|
218
|
+
size_t mIndexOffset;
|
219
|
+
size_t mRequiredVertexCount;
|
220
|
+
size_t mRequiredIndexCount;
|
221
|
+
size_t mCurrIndexCount;
|
222
|
+
|
223
|
+
AxisAlignedBox mAABB;
|
224
|
+
Real mBoundingSphere;
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
};
|
229
|
+
|
230
|
+
|
231
|
+
} // namespace
|
232
|
+
|
233
|
+
#endif
|
@@ -0,0 +1,473 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef _PixelFormat_H__
|
30
|
+
#define _PixelFormat_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreCommon.h"
|
34
|
+
|
35
|
+
namespace Ogre {
|
36
|
+
/** The pixel format used for images, textures, and render surfaces */
|
37
|
+
enum PixelFormat
|
38
|
+
{
|
39
|
+
/// Unknown pixel format.
|
40
|
+
PF_UNKNOWN = 0,
|
41
|
+
/// 8-bit pixel format, all bits luminace.
|
42
|
+
PF_L8 = 1,
|
43
|
+
PF_BYTE_L = PF_L8,
|
44
|
+
/// 16-bit pixel format, all bits luminace.
|
45
|
+
PF_L16 = 2,
|
46
|
+
PF_SHORT_L = PF_L16,
|
47
|
+
/// 8-bit pixel format, all bits alpha.
|
48
|
+
PF_A8 = 3,
|
49
|
+
PF_BYTE_A = PF_A8,
|
50
|
+
/// 8-bit pixel format, 4 bits alpha, 4 bits luminace.
|
51
|
+
PF_A4L4 = 4,
|
52
|
+
/// 2 byte pixel format, 1 byte luminance, 1 byte alpha
|
53
|
+
PF_BYTE_LA = 5,
|
54
|
+
/// 16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
|
55
|
+
PF_R5G6B5 = 6,
|
56
|
+
/// 16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
|
57
|
+
PF_B5G6R5 = 7,
|
58
|
+
/// 8-bit pixel format, 2 bits blue, 3 bits green, 3 bits red.
|
59
|
+
PF_R3G3B2 = 31,
|
60
|
+
/// 16-bit pixel format, 4 bits for alpha, red, green and blue.
|
61
|
+
PF_A4R4G4B4 = 8,
|
62
|
+
/// 16-bit pixel format, 5 bits for blue, green, red and 1 for alpha.
|
63
|
+
PF_A1R5G5B5 = 9,
|
64
|
+
/// 24-bit pixel format, 8 bits for red, green and blue.
|
65
|
+
PF_R8G8B8 = 10,
|
66
|
+
/// 24-bit pixel format, 8 bits for blue, green and red.
|
67
|
+
PF_B8G8R8 = 11,
|
68
|
+
/// 32-bit pixel format, 8 bits for alpha, red, green and blue.
|
69
|
+
PF_A8R8G8B8 = 12,
|
70
|
+
/// 32-bit pixel format, 8 bits for blue, green, red and alpha.
|
71
|
+
PF_A8B8G8R8 = 13,
|
72
|
+
/// 32-bit pixel format, 8 bits for blue, green, red and alpha.
|
73
|
+
PF_B8G8R8A8 = 14,
|
74
|
+
/// 32-bit pixel format, 8 bits for red, green, blue and alpha.
|
75
|
+
PF_R8G8B8A8 = 28,
|
76
|
+
/// 32-bit pixel format, 8 bits for red, 8 bits for green, 8 bits for blue
|
77
|
+
/// like PF_A8R8G8B8, but alpha will get discarded
|
78
|
+
PF_X8R8G8B8 = 26,
|
79
|
+
/// 32-bit pixel format, 8 bits for blue, 8 bits for green, 8 bits for red
|
80
|
+
/// like PF_A8B8G8R8, but alpha will get discarded
|
81
|
+
PF_X8B8G8R8 = 27,
|
82
|
+
#if OGRE_ENDIAN == OGRE_ENDIAN_BIG
|
83
|
+
/// 3 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue
|
84
|
+
PF_BYTE_RGB = PF_R8G8B8,
|
85
|
+
/// 3 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red
|
86
|
+
PF_BYTE_BGR = PF_B8G8R8,
|
87
|
+
/// 4 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red and one byte for alpha
|
88
|
+
PF_BYTE_BGRA = PF_B8G8R8A8,
|
89
|
+
/// 4 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue, and one byte for alpha
|
90
|
+
PF_BYTE_RGBA = PF_R8G8B8A8,
|
91
|
+
#else
|
92
|
+
/// 3 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue
|
93
|
+
PF_BYTE_RGB = PF_B8G8R8,
|
94
|
+
/// 3 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red
|
95
|
+
PF_BYTE_BGR = PF_R8G8B8,
|
96
|
+
/// 4 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red and one byte for alpha
|
97
|
+
PF_BYTE_BGRA = PF_A8R8G8B8,
|
98
|
+
/// 4 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue, and one byte for alpha
|
99
|
+
PF_BYTE_RGBA = PF_A8B8G8R8,
|
100
|
+
#endif
|
101
|
+
/// 32-bit pixel format, 2 bits for alpha, 10 bits for red, green and blue.
|
102
|
+
PF_A2R10G10B10 = 15,
|
103
|
+
/// 32-bit pixel format, 10 bits for blue, green and red, 2 bits for alpha.
|
104
|
+
PF_A2B10G10R10 = 16,
|
105
|
+
/// DDS (DirectDraw Surface) DXT1 format
|
106
|
+
PF_DXT1 = 17,
|
107
|
+
/// DDS (DirectDraw Surface) DXT2 format
|
108
|
+
PF_DXT2 = 18,
|
109
|
+
/// DDS (DirectDraw Surface) DXT3 format
|
110
|
+
PF_DXT3 = 19,
|
111
|
+
/// DDS (DirectDraw Surface) DXT4 format
|
112
|
+
PF_DXT4 = 20,
|
113
|
+
/// DDS (DirectDraw Surface) DXT5 format
|
114
|
+
PF_DXT5 = 21,
|
115
|
+
// 16-bit pixel format, 16 bits (float) for red
|
116
|
+
PF_FLOAT16_R = 32,
|
117
|
+
// 48-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue
|
118
|
+
PF_FLOAT16_RGB = 22,
|
119
|
+
// 64-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue, 16 bits (float) for alpha
|
120
|
+
PF_FLOAT16_RGBA = 23,
|
121
|
+
// 16-bit pixel format, 16 bits (float) for red
|
122
|
+
PF_FLOAT32_R = 33,
|
123
|
+
// 96-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue
|
124
|
+
PF_FLOAT32_RGB = 24,
|
125
|
+
// 128-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue, 32 bits (float) for alpha
|
126
|
+
PF_FLOAT32_RGBA = 25,
|
127
|
+
// 32-bit, 2-channel s10e5 floating point pixel format, 16-bit green, 16-bit red
|
128
|
+
PF_FLOAT16_GR = 35,
|
129
|
+
// 64-bit, 2-channel floating point pixel format, 32-bit green, 32-bit red
|
130
|
+
PF_FLOAT32_GR = 36,
|
131
|
+
// Depth texture format
|
132
|
+
PF_DEPTH = 29,
|
133
|
+
// 64-bit pixel format, 16 bits for red, green, blue and alpha
|
134
|
+
PF_SHORT_RGBA = 30,
|
135
|
+
// 32-bit pixel format, 16-bit green, 16-bit red
|
136
|
+
PF_SHORT_GR = 34,
|
137
|
+
// 48-bit pixel format, 16 bits for red, green and blue
|
138
|
+
PF_SHORT_RGB = 37,
|
139
|
+
// Number of pixel formats currently defined
|
140
|
+
PF_COUNT = 38
|
141
|
+
};
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Flags defining some on/off properties of pixel formats
|
145
|
+
*/
|
146
|
+
enum PixelFormatFlags {
|
147
|
+
// This format has an alpha channel
|
148
|
+
PFF_HASALPHA = 0x00000001,
|
149
|
+
// This format is compressed. This invalidates the values in elemBytes,
|
150
|
+
// elemBits and the bit counts as these might not be fixed in a compressed format.
|
151
|
+
PFF_COMPRESSED = 0x00000002,
|
152
|
+
// This is a floating point format
|
153
|
+
PFF_FLOAT = 0x00000004,
|
154
|
+
// This is a depth format (for depth textures)
|
155
|
+
PFF_DEPTH = 0x00000008,
|
156
|
+
// Format is in native endian. Generally true for the 16, 24 and 32 bits
|
157
|
+
// formats which can be represented as machine integers.
|
158
|
+
PFF_NATIVEENDIAN = 0x00000010,
|
159
|
+
// This is an intensity format instead of a RGB one. The luminance
|
160
|
+
// replaces R,G and B. (but not A)
|
161
|
+
PFF_LUMINANCE = 0x00000020
|
162
|
+
};
|
163
|
+
|
164
|
+
/** Pixel component format */
|
165
|
+
enum PixelComponentType
|
166
|
+
{
|
167
|
+
PCT_BYTE = 0, /// Byte per component (8 bit fixed 0.0..1.0)
|
168
|
+
PCT_SHORT = 1, /// Short per component (16 bit fixed 0.0..1.0))
|
169
|
+
PCT_FLOAT16 = 2, /// 16 bit float per component
|
170
|
+
PCT_FLOAT32 = 3, /// 32 bit float per component
|
171
|
+
PCT_COUNT = 4 /// Number of pixel types
|
172
|
+
};
|
173
|
+
|
174
|
+
/** A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
|
175
|
+
In case of a rectangle, depth must be 1.
|
176
|
+
Pixels are stored as a succession of "depth" slices, each containing "height" rows of
|
177
|
+
"width" pixels.
|
178
|
+
*/
|
179
|
+
class _OgreExport PixelBox: public Box {
|
180
|
+
public:
|
181
|
+
/// Parameter constructor for setting the members manually
|
182
|
+
PixelBox() {}
|
183
|
+
/** Constructor providing extents in the form of a Box object. This constructor
|
184
|
+
assumes the pixel data is laid out consecutively in memory. (this
|
185
|
+
means row after row, slice after slice, with no space in between)
|
186
|
+
@param extents Extents of the region defined by data
|
187
|
+
@param pixelFormat Format of this buffer
|
188
|
+
@param pixelData Pointer to the actual data
|
189
|
+
*/
|
190
|
+
PixelBox(const Box &extents, PixelFormat pixelFormat, void *pixelData=0):
|
191
|
+
Box(extents), data(pixelData), format(pixelFormat)
|
192
|
+
{
|
193
|
+
setConsecutive();
|
194
|
+
}
|
195
|
+
/** Constructor providing width, height and depth. This constructor
|
196
|
+
assumes the pixel data is laid out consecutively in memory. (this
|
197
|
+
means row after row, slice after slice, with no space in between)
|
198
|
+
@param width Width of the region
|
199
|
+
@param height Height of the region
|
200
|
+
@param depth Depth of the region
|
201
|
+
@param pixelFormat Format of this buffer
|
202
|
+
@param pixelData Pointer to the actual data
|
203
|
+
*/
|
204
|
+
PixelBox(size_t width, size_t height, size_t depth, PixelFormat pixelFormat, void *pixelData=0):
|
205
|
+
Box(0, 0, 0, width, height, depth),
|
206
|
+
data(pixelData), format(pixelFormat)
|
207
|
+
{
|
208
|
+
setConsecutive();
|
209
|
+
}
|
210
|
+
|
211
|
+
/// The data pointer
|
212
|
+
void *data;
|
213
|
+
/// The pixel format
|
214
|
+
PixelFormat format;
|
215
|
+
/** Number of elements between the leftmost pixel of one row and the left
|
216
|
+
pixel of the next. This value must always be equal to getWidth() (consecutive)
|
217
|
+
for compressed formats.
|
218
|
+
*/
|
219
|
+
size_t rowPitch;
|
220
|
+
/** Number of elements between the top left pixel of one (depth) slice and
|
221
|
+
the top left pixel of the next. This can be a negative value. Must be a multiple of
|
222
|
+
rowPitch. This value must always be equal to getWidth()*getHeight() (consecutive)
|
223
|
+
for compressed formats.
|
224
|
+
*/
|
225
|
+
size_t slicePitch;
|
226
|
+
|
227
|
+
/** Set the rowPitch and slicePitch so that the buffer is laid out consecutive
|
228
|
+
in memory.
|
229
|
+
*/
|
230
|
+
void setConsecutive()
|
231
|
+
{
|
232
|
+
rowPitch = getWidth();
|
233
|
+
slicePitch = getWidth()*getHeight();
|
234
|
+
}
|
235
|
+
/** Get the number of elements between one past the rightmost pixel of
|
236
|
+
one row and the leftmost pixel of the next row. (IE this is zero if rows
|
237
|
+
are consecutive).
|
238
|
+
*/
|
239
|
+
size_t getRowSkip() const { return rowPitch - getWidth(); }
|
240
|
+
/** Get the number of elements between one past the right bottom pixel of
|
241
|
+
one slice and the left top pixel of the next slice. (IE this is zero if slices
|
242
|
+
are consecutive).
|
243
|
+
*/
|
244
|
+
size_t getSliceSkip() const { return slicePitch - (getHeight() * rowPitch); }
|
245
|
+
|
246
|
+
/** Return whether this buffer is laid out consecutive in memory (ie the pitches
|
247
|
+
are equal to the dimensions)
|
248
|
+
*/
|
249
|
+
bool isConsecutive() const
|
250
|
+
{
|
251
|
+
return rowPitch == getWidth() && slicePitch == getWidth()*getHeight();
|
252
|
+
}
|
253
|
+
/** Return the size (in bytes) this image would take if it was
|
254
|
+
laid out consecutive in memory
|
255
|
+
*/
|
256
|
+
size_t getConsecutiveSize() const;
|
257
|
+
/** Return a subvolume of this PixelBox.
|
258
|
+
@param def Defines the bounds of the subregion to return
|
259
|
+
@returns A pixel box describing the region and the data in it
|
260
|
+
@remarks This function does not copy any data, it just returns
|
261
|
+
a PixelBox object with a data pointer pointing somewhere inside
|
262
|
+
the data of object.
|
263
|
+
@throws Exception(ERR_INVALIDPARAMS) if def is not fully contained
|
264
|
+
*/
|
265
|
+
PixelBox getSubVolume(const Box &def) const;
|
266
|
+
};
|
267
|
+
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Some utility functions for packing and unpacking pixel data
|
271
|
+
*/
|
272
|
+
class _OgreExport PixelUtil {
|
273
|
+
public:
|
274
|
+
/** Returns the size in bytes of an element of the given pixel format.
|
275
|
+
@returns
|
276
|
+
The size in bytes of an element. See Remarks.
|
277
|
+
@remarks
|
278
|
+
Passing PF_UNKNOWN will result in returning a size of 0 bytes.
|
279
|
+
*/
|
280
|
+
static size_t getNumElemBytes( PixelFormat format );
|
281
|
+
|
282
|
+
/** Returns the size in bits of an element of the given pixel format.
|
283
|
+
@returns
|
284
|
+
The size in bits of an element. See Remarks.
|
285
|
+
@remarks
|
286
|
+
Passing PF_UNKNOWN will result in returning a size of 0 bits.
|
287
|
+
*/
|
288
|
+
static size_t getNumElemBits( PixelFormat format );
|
289
|
+
|
290
|
+
/** Returns the size in memory of a region with the given extents and pixel
|
291
|
+
format with consecutive memory layout.
|
292
|
+
@param width
|
293
|
+
The width of the area
|
294
|
+
@param height
|
295
|
+
The height of the area
|
296
|
+
@param depth
|
297
|
+
The depth of the area
|
298
|
+
@param format
|
299
|
+
The format of the area
|
300
|
+
@returns
|
301
|
+
The size in bytes
|
302
|
+
@remarks
|
303
|
+
In case that the format is non-compressed, this simply returns
|
304
|
+
width*height*depth*PixelUtil::getNumElemBytes(format). In the compressed
|
305
|
+
case, this does serious magic.
|
306
|
+
*/
|
307
|
+
static size_t getMemorySize(size_t width, size_t height, size_t depth, PixelFormat format);
|
308
|
+
|
309
|
+
/** Returns the property flags for this pixel format
|
310
|
+
@returns
|
311
|
+
A bitfield combination of PFF_HASALPHA, PFF_ISCOMPRESSED,
|
312
|
+
PFF_FLOAT, PFF_DEPTH, PFF_NATIVEENDIAN, PFF_LUMINANCE
|
313
|
+
@remarks
|
314
|
+
This replaces the seperate functions for formatHasAlpha, formatIsFloat, ...
|
315
|
+
*/
|
316
|
+
static unsigned int getFlags( PixelFormat format );
|
317
|
+
|
318
|
+
/** Shortcut method to determine if the format has an alpha component */
|
319
|
+
static bool hasAlpha(PixelFormat format);
|
320
|
+
/** Shortcut method to determine if the format is floating point */
|
321
|
+
static bool isFloatingPoint(PixelFormat format);
|
322
|
+
/** Shortcut method to determine if the format is compressed */
|
323
|
+
static bool isCompressed(PixelFormat format);
|
324
|
+
/** Shortcut method to determine if the format is a depth format. */
|
325
|
+
static bool isDepth(PixelFormat format);
|
326
|
+
/** Shortcut method to determine if the format is in native endian format. */
|
327
|
+
static bool isNativeEndian(PixelFormat format);
|
328
|
+
/** Shortcut method to determine if the format is a luminance format. */
|
329
|
+
static bool isLuminance(PixelFormat format);
|
330
|
+
|
331
|
+
/** Return wether a certain image extent is valid for this image format.
|
332
|
+
@param width
|
333
|
+
The width of the area
|
334
|
+
@param height
|
335
|
+
The height of the area
|
336
|
+
@param depth
|
337
|
+
The depth of the area
|
338
|
+
@param format
|
339
|
+
The format of the area
|
340
|
+
@remarks For non-compressed formats, this is always true. For DXT formats,
|
341
|
+
only sizes with a width and height multiple of 4 and depth 1 are allowed.
|
342
|
+
*/
|
343
|
+
static bool isValidExtent(size_t width, size_t height, size_t depth, PixelFormat format);
|
344
|
+
|
345
|
+
/** Gives the number of bits (RGBA) for a format. See remarks.
|
346
|
+
@remarks For non-colour formats (dxt, depth) this returns [0,0,0,0].
|
347
|
+
*/
|
348
|
+
static void getBitDepths(PixelFormat format, int rgba[4]);
|
349
|
+
|
350
|
+
/** Gives the masks for the R, G, B and A component
|
351
|
+
@note Only valid for native endian formats
|
352
|
+
*/
|
353
|
+
static void getBitMasks(PixelFormat format, uint32 rgba[4]);
|
354
|
+
|
355
|
+
/** Gets the name of an image format
|
356
|
+
*/
|
357
|
+
static String getFormatName(PixelFormat srcformat);
|
358
|
+
|
359
|
+
/** Returns wether the format can be packed or unpacked with the packColour()
|
360
|
+
and unpackColour() functions. This is generally not true for compressed and
|
361
|
+
depth formats as they are special. It can only be true for formats with a
|
362
|
+
fixed element size.
|
363
|
+
@returns
|
364
|
+
true if yes, otherwise false
|
365
|
+
*/
|
366
|
+
static bool isAccessible(PixelFormat srcformat);
|
367
|
+
|
368
|
+
/** Returns the component type for a certain pixel format. Returns PCT_BYTE
|
369
|
+
in case there is no clear component type like with compressed formats.
|
370
|
+
This is one of PCT_BYTE, PCT_SHORT, PCT_FLOAT16, PCT_FLOAT32.
|
371
|
+
*/
|
372
|
+
static PixelComponentType getComponentType(PixelFormat fmt);
|
373
|
+
|
374
|
+
/** Returns the component count for a certain pixel format. Returns 3(no alpha) or
|
375
|
+
4 (has alpha) in case there is no clear component type like with compressed formats.
|
376
|
+
*/
|
377
|
+
static size_t getComponentCount(PixelFormat fmt);
|
378
|
+
|
379
|
+
/** Gets the format from given name.
|
380
|
+
@param name The string of format name
|
381
|
+
@param accessibleOnly If true, non-accessible format will treat as invalid format,
|
382
|
+
otherwise, all supported format are valid.
|
383
|
+
@param caseSensitive Should be set true if string match should use case sensitivity.
|
384
|
+
@returns The format match the format name, or PF_UNKNOWN if is invalid name.
|
385
|
+
*/
|
386
|
+
static PixelFormat getFormatFromName(const String& name, bool accessibleOnly = false, bool caseSensitive = false);
|
387
|
+
|
388
|
+
/** Gets the BNF expression of the pixel-formats.
|
389
|
+
@note The string returned by this function is intented to use as a BNF expression
|
390
|
+
to work with Compiler2Pass.
|
391
|
+
@param accessibleOnly If true, only accessible pixel format will take into account, otherwise all
|
392
|
+
pixel formats list in PixelFormat enumeration will being returned.
|
393
|
+
@returns A string contains the BNF expression.
|
394
|
+
*/
|
395
|
+
static String getBNFExpressionOfPixelFormats(bool accessibleOnly = false);
|
396
|
+
|
397
|
+
/** Returns the similar format but acoording with given bit depths.
|
398
|
+
@param fmt The original foamt.
|
399
|
+
@param integerBits Preferred bit depth (pixel bits) for integer pixel format.
|
400
|
+
Available values: 0, 16 and 32, where 0 (the default) means as it is.
|
401
|
+
@param floatBits Preferred bit depth (channel bits) for float pixel format.
|
402
|
+
Available values: 0, 16 and 32, where 0 (the default) means as it is.
|
403
|
+
@returns The format that similar original format with bit depth according
|
404
|
+
with preferred bit depth, or original format if no convertion occuring.
|
405
|
+
*/
|
406
|
+
static PixelFormat getFormatForBitDepths(PixelFormat fmt, ushort integerBits, ushort floatBits);
|
407
|
+
|
408
|
+
/** Pack a colour value to memory
|
409
|
+
@param colour The colour
|
410
|
+
@param pf Pixelformat in which to write the colour
|
411
|
+
@param dest Destination memory location
|
412
|
+
*/
|
413
|
+
static void packColour(const ColourValue &colour, const PixelFormat pf, void* dest);
|
414
|
+
/** Pack a colour value to memory
|
415
|
+
@param r,g,b,a The four colour components, range 0x00 to 0xFF
|
416
|
+
@param pf Pixelformat in which to write the colour
|
417
|
+
@param dest Destination memory location
|
418
|
+
*/
|
419
|
+
static void packColour(const uint8 r, const uint8 g, const uint8 b, const uint8 a, const PixelFormat pf, void* dest);
|
420
|
+
/** Pack a colour value to memory
|
421
|
+
@param r,g,b,a The four colour components, range 0.0f to 1.0f
|
422
|
+
(an exception to this case exists for floating point pixel
|
423
|
+
formats, which don't clamp to 0.0f..1.0f)
|
424
|
+
@param pf Pixelformat in which to write the colour
|
425
|
+
@param dest Destination memory location
|
426
|
+
*/
|
427
|
+
static void packColour(const float r, const float g, const float b, const float a, const PixelFormat pf, void* dest);
|
428
|
+
|
429
|
+
/** Unpack a colour value from memory
|
430
|
+
@param colour The colour is returned here
|
431
|
+
@param pf Pixelformat in which to read the colour
|
432
|
+
@param src Source memory location
|
433
|
+
*/
|
434
|
+
static void unpackColour(ColourValue *colour, PixelFormat pf, const void* src);
|
435
|
+
/** Unpack a colour value from memory
|
436
|
+
@param r,g,b,a The colour is returned here (as byte)
|
437
|
+
@param pf Pixelformat in which to read the colour
|
438
|
+
@param src Source memory location
|
439
|
+
@remarks This function returns the colour components in 8 bit precision,
|
440
|
+
this will lose precision when coming from PF_A2R10G10B10 or floating
|
441
|
+
point formats.
|
442
|
+
*/
|
443
|
+
static void unpackColour(uint8 *r, uint8 *g, uint8 *b, uint8 *a, PixelFormat pf, const void* src);
|
444
|
+
/** Unpack a colour value from memory
|
445
|
+
@param r,g,b,a The colour is returned here (as float)
|
446
|
+
@param pf Pixelformat in which to read the colour
|
447
|
+
@param src Source memory location
|
448
|
+
*/
|
449
|
+
static void unpackColour(float *r, float *g, float *b, float *a, PixelFormat pf, const void* src);
|
450
|
+
|
451
|
+
/** Convert consecutive pixels from one format to another. No dithering or filtering is being done.
|
452
|
+
Converting from RGB to luminance takes the R channel. In case the source and destination format match,
|
453
|
+
just a copy is done.
|
454
|
+
@param src Pointer to source region
|
455
|
+
@param srcFormat Pixel format of source region
|
456
|
+
@param dst Pointer to destination region
|
457
|
+
@param dstFormat Pixel format of destination region
|
458
|
+
*/
|
459
|
+
static void bulkPixelConversion(void *src, PixelFormat srcFormat, void *dest, PixelFormat dstFormat, unsigned int count);
|
460
|
+
|
461
|
+
/** Convert pixels from one format to another. No dithering or filtering is being done. Converting
|
462
|
+
from RGB to luminance takes the R channel.
|
463
|
+
@param src PixelBox containing the source pixels, pitches and format
|
464
|
+
@param dst PixelBox containing the destination pixels, pitches and format
|
465
|
+
@remarks The source and destination boxes must have the same
|
466
|
+
dimensions. In case the source and destination format match, a plain copy is done.
|
467
|
+
*/
|
468
|
+
static void bulkPixelConversion(const PixelBox &src, const PixelBox &dst);
|
469
|
+
};
|
470
|
+
|
471
|
+
}
|
472
|
+
|
473
|
+
#endif
|