grizzley90
15-12-2006 23:22:50
I do not know why but my terrain is dissappearing...
As soon as i turn or do any movement everything goes black?
At first when i split my map i got everything except for Base.1.0.png images ... I just renamed my split color maps with Base.1.0 or wtv number it had in the end... I dont know if that is the problem.
I also added light so i dont think it has anything to do with no light... and also what is the detail3.jpg?
As soon as i turn or do any movement everything goes black?
####### Generated by Terrain Generator #######
####### FileName: level1.cfg ######
####### RUNTIME FILE: This is the run-time file used to load the terrain into the scene ######
TerrainName=level1
## General Options ##
GroupName=level1
Zip=Media\level1.zip
HeightMapFileName=earthsculptortest
HeightMapExtension=png
ColorMapFileName=earthsculptortestmap_c0
ColorMapExtension=png
## Paging Related Options (no effect if Paged=no) ##
Width=2
Height=2
PageSize=513
TileSize=65
Data2DFormat=HeightField
MaxValue=0
MinValue=0
## Terrain Properties ##
ScaleX=90000
ScaleY=15000
ScaleZ=90000
Deformable=yes
VertexCompression=yes
VertexProgramMorph=yes
LODMorphStart=0.2
MaxPixelError=3
## Lighting Options ##
VertexNormals=no
VertexLit=no
## Texture Properties ##
ColorMapStretchFactor=1
NumTextureFormatSupported=16
TextureFormatSupported0=ImagePaging
TextureFormatSupported1=Base
TextureFormatSupported2=Base2
TextureFormatSupported3=InstantBase
TextureFormatSupported4=Splatting
TextureFormatSupported5=Splatting2
TextureFormatSupported6=Splatting4
TextureFormatSupported7=Splatting6
TextureFormatSupported8=Splatting7
TextureFormatSupported9=Base
TextureFormatSupported10=Base2
TextureFormatSupported11=InstantBase
TextureFormatSupported12=Splatting3
TextureFormatSupported13=Splatting5
TextureFormatSupported14=SplattingShader
TextureFormatSupported15=InstantBaseShadowed
TextureFormat=ImagePaging
NumMatHeightSplat=4
MaterialHeight0=0
MaterialHeight1=12
MaterialHeight2=60
MaterialHeight3=75
#Sand
MaterialColor0=1.0f 1.0f 0.0f 1.0f
#Grass
MaterialColor1=0.13f 0.545f 0.13f 1.0f
#Rock
MaterialColor2=0.411764f 0.411764f 0.411764f 1.0f
#Snow
MaterialColor3=1.0f 0.98f 0.98f 1.0f
#needs to be in maptool directory
SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png
BigImage=no
VertexColors=no
CoverageVertexColor=no
BaseVertexColor=no
BaseVertexShadow=no
BaseVertexInstantColor=no
## Performance Options ##
VisibleRenderables=200
DistanceLOD=5
MaxRenderLevel=5
NumRenderablesLoading=50
MaxAdjacentPages=2
MaxPreloadedPages=3
ChangeFactor=1.5
CameraThreshold=5
MaxNumRenderables=256
IncrementRenderables=256
MaxNumTiles=256
IncrementTiles=256
HorizonVisibilityComputing=yes
## Camera Properties (on Terrain Load) ##
#BaseCameraViewpoint.x=0.0f
#BaseCameraViewpoint.y=0.0f
#BaseCameraViewpoint.z=0.0f
#Baselookat.x=0.0f
#Baselookat.y=0.0f
#Baselookat.z=0.0f
18:09:08: Viewport for camera 'MainCam', actual dimensions L: 0 T: 0 W: 800 H: 600
18:09:08: Added resource location 'Media/materials/programs' of type 'FileSystem' to resource group 'General'
18:09:08: Added resource location 'Media/materials/scripts' of type 'FileSystem' to resource group 'General'
18:09:08: Added resource location 'Media/materials/textures' of type 'FileSystem' to resource group 'General'
18:09:09: Initialising resource group General
18:09:09: Parsing scripts for resource group General
18:09:09: Parsing script DecompressShadowReceiver.program
18:09:09: Parsing script DecompressSplat.program
18:09:09: Parsing script DecompressSplatShader.program
18:09:09: Parsing script DecompressVertex.program
18:09:09: Parsing script PLShaders.program
18:09:09: Parsing script ShadowReceiver.program
18:09:09: Parsing script Splat.program
18:09:09: Parsing script SplatShader.program
18:09:09: Parsing script BaseTexture.material
18:09:09: Parsing script colors.material
18:09:09: Parsing script MapEditor-Circle.material
18:09:09: Parsing script MyTree.material
18:09:09: Parsing script PagingLandScape.material
18:09:09: Parsing script PagingLandScapeTemplate.material
18:09:09: Parsing script PLSplattingShaderLit.material
18:09:09: Parsing script PLSplattingShaderLitDecompress.material
18:09:10: Parsing script PLSplattingShaderUnlit.material
18:09:10: Parsing script PLSplattingShaderUnlitDecompress.material
18:09:10: Parsing script Splatting.material
18:09:10: Parsing script Splatting2.material
18:09:10: Parsing script Splatting3.material
18:09:10: Parsing script Splatting4.material
18:09:10: Parsing script Splatting5.material
18:09:10: Parsing script Splatting6.material
18:09:10: Parsing script Splatting7.material
18:09:10: Parsing script SplattingShader.material
18:09:10: Finished parsing scripts for resource group General
18:09:10: Creating resource group level1
18:09:10: Added resource location 'Media\level1.zip' of type 'Zip' to resource group 'level1'
18:09:10: Initialising resource group level1
18:09:10: Parsing scripts for resource group level1
18:09:10: Finished parsing scripts for resource group level1
18:09:10: Texture: earthsculptortest.Base.1.0.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:10: Texture: Detail3.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:09:11: Texture: earthsculptortest.Base.1.1.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:11: Texture: earthsculptortest.Base.0.1.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:12: Texture: earthsculptortest.Base.0.0.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:09:17: *-*-* OGRE Shutdown
18:09:17: Unregistering ResourceManager for type Compositor
18:09:17: Unregistering ResourceManager for type Font
18:09:17: Unregistering ResourceManager for type Skeleton
18:09:17: Unregistering ResourceManager for type Mesh
18:09:17: Unregistering ResourceManager for type HighLevelGpuProgram
18:09:17: Unloading library Plugins/Plugin_CgProgramManager.dll
18:09:17: Unloading library Plugins/Plugin_ParticleFX.dll
18:09:17: Unloading library Plugins/Plugin_PagingLandScapeSceneManager2.dll
18:09:17: Render Target 'Testing' Average FPS: 58.8034 Best FPS: 60.0394 Worst FPS: 48.9022
18:09:17: D3D9 : Shutting down cleanly.
18:09:17: Unregistering ResourceManager for type Texture
18:09:17: Unregistering ResourceManager for type GpuProgram
18:09:17: D3D9 : Direct3D9 Rendering Subsystem destroyed.
18:09:17: Unloading library RenderSystem_Direct3D9.dll
18:09:17: Unregistering ResourceManager for type Material
18:09:17: Unloading library OgrePlatform.dll
At first when i split my map i got everything except for Base.1.0.png images ... I just renamed my split color maps with Base.1.0 or wtv number it had in the end... I dont know if that is the problem.
I also added light so i dont think it has anything to do with no light... and also what is the detail3.jpg?