davesh
21-11-2006 18:20:12
I'm using the CVS version of PLSM2.
I'm able to load my map, but I cant seem to get the grass, rock, and snow showing. A bunch of colors show up instead.
What I see is as follows:
The configuration file that I'm using is as follows:
I am using the splatting script and texture files that came in the materials folder that with the PLSM2 distribution.
What am I doing wrong?
I'm able to load my map, but I cant seem to get the grass, rock, and snow showing. A bunch of colors show up instead.
What I see is as follows:
The configuration file that I'm using is as follows:
GroupName=PLSM2
LandScapeFileName=my_landscape
FileSystem=LandScapeFileName
Width=4
Height=2
Data2DFormat=HeightField
ScaleX=9000
ScaleY=9000
ScaleZ=9000
NumTextureFormatSupported=17
TextureFormatSupported0=Base
TextureFormatSupported1=Base2
TextureFormatSupported2=InstantBase
TextureFormatSupported3=Splatting
TextureFormatSupported4=Splatting2
TextureFormatSupported5=Splatting4
TextureFormatSupported6=Splatting6
TextureFormatSupported7=Splatting7
TextureFormatSupported8=Base
TextureFormatSupported9=Base2
TextureFormatSupported10=InstantBase
TextureFormatSupported11=Splatting3
TextureFormatSupported12=Splatting5
TextureFormatSupported13=SplattingShader
TextureFormat=InstantBase
TextureStretchFactor=2
VertexNormals=no
NumMatHeightSplat=4
MaterialHeight0=0
MaterialHeight1=1500
MaterialHeight2=2050
MaterialHeight3=9000
#MaterialHeight4=9000
SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png
VisibleRenderables=256
MaxRenderLevel=5
# where to put camera on load.
BaseCameraViewpoint.x=-396.0f
BaseCameraViewpoint.y=31000.0f
BaseCameraViewpoint.z=2640.0f
Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f
I am using the splatting script and texture files that came in the materials folder that with the PLSM2 distribution.
What am I doing wrong?