Lshink
04-10-2006 04:14:53
I'm having trouble getting the splatting3 texturing to work. Basically when I do it whatever my material2 is set to, it covers the whole map in just that texture and I'm not quite sure why.
I've switched to splatting2 and everything works fine, however I need a complete OpenGL texturing solution
I'm sure I just did some options wrong, here are both the mapsplitter gen and PLSM2 terrain files.
Thanks in advance
I've switched to splatting2 and everything works fine, however I need a complete OpenGL texturing solution
I'm sure I just did some options wrong, here are both the mapsplitter gen and PLSM2 terrain files.
GroupName=PLSM2
Width=2
Height=2
LandScapeFileName=jamestown2
FileSystem=../../Media/paginglandscape2/terrains/LandScapeFileName
NumTextureFormatSupported=18
TextureFormatSupported0=BaseTexture
TextureFormatSupported1=BaseTexture2
TextureFormatSupported2=InstantBaseTexture
TextureFormatSupported3=InstantBaseTextureEdit
TextureFormatSupported4=Splatting
TextureFormatSupported5=Splatting2
TextureFormatSupported6=Splatting2Edit
TextureFormatSupported7=Splatting4
TextureFormatSupported8=Splatting6
TextureFormatSupported9=Splatting7
TextureFormatSupported10=Splatting7Edit
TextureFormatSupported11=BaseTexture
TextureFormatSupported12=BaseTexture2
TextureFormatSupported16=InstantBaseTexture
TextureFormatSupported14=Splatting3
TextureFormatSupported15=Splatting5
TextureFormatSupported16=SplattingShader
TextureFormatSupported17=InstantBaseTextureShadowed
#TextureFormat=InstantBaseTextureShadowed
#TextureFormat=InstantBaseTexture
TextureFormat=Splatting2
TextureStretchFactor=2
#PageSize=513
MaxRenderLevel=5
MaxPixelError=2
ScaleX=90000
ScaleY=5000
ScaleZ=90000
#PERFORMANCE OPTIONS
#-------------------
VisibleRenderables=256
CameraThreshold=5
HorizonVisibilityComputing=yes
MaxRenderLevel=5
Deformable=no
VertexCompression=no
VertexProgramMorph=no
VertexNormals=yes
#SPLATTING OPTIONS
#-------------------
NumMatHeightSplat=4
MaterialHeight1=20
MaterialHeight2=30
MaterialHeight3=50
SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png
VertexColor=yes
CoverageVertexColor=yes
//AvgColorsExists=yes
# where to put camera on load.
BaseCameraViewpoint.x=-4098.0f
BaseCameraViewpoint.y=30644.0f
BaseCameraViewpoint.z=293.0f
Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f
GroupName=PLSM2
LandScapeFileName=jamestown
TextureStretchFactor=2
OutDirectory=../../Media/paginglandscape2/terrains/LandScapeFileName
PageSize=513
TileSize=65
Width=1
Height=1
HeightMap=yes
MiniMap=yes
MiniMapWidth=64
MiniMapHeight=64
BaseMap=yes
CoverageMap=yes
AlphaMaps=yes
LightMap=yes
Sunx=0.0f
Suny=0.88f
Sunz=0.47f
Ambient=0.5f
Diffuse=0.5f
Blur=0.0f
ZHorizon=yes
NumMatHeightSplat=4
MaterialHeight1=30
MaterialHeight2=60
MaterialHeight3=100
SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png
Thanks in advance