[Solved]Page Edge Problem

PatrickB3

30-08-2006 00:14:36

I'm getting visible seems at the edges of pages:


Yet from the other direction you don't see it as much.


Also painting the terrian doesn't work at the edge either. Though terrain deformation works fine at the edges.

Am I setting something wrong in the config for this? LOD Level maybe?

Jerky

30-08-2006 05:57:01

Hmm, our editor is currently doing the same thing, although not quite as apparent as yours. I am curious as to what causes this as well.

Falagard

30-08-2006 06:02:02

Probably a floating point precision problem. Might be fixable with a combination of depth bias and playing with your near and far clipping planes to give you more depth precision?

tuan kuranes

01-09-2006 17:02:39

Can you reproduce it using demo ?
If yes, please give me some reproducable step (demo map and texture mode used.)

PatrickB3

02-09-2006 00:17:55

I replaced my map with one of the demo maps but really couldn't get it to do it. But realistically I doubted it would. None of the demo maps use the PLShaderDecompressLit for one thing. They were also split with an older version of Mapsplitter as well.

I could make a better test situation with them but it is a lot of work and probably not worth it really as I have noticed this only happens at one place in my map. It is between tiles where I have deformed the terrain. Every else ( I haven't touched the terrain elsewhere yet ) is perfect. If I go to a perfect area and deform the terrain the crack appears.

I am using the exact same code from GOOF to deform the terrain so I assume GOOF would do it as well with a terrain this large. ( The current version of GOOF I have crashes loading terrains so I can't verify )

The other thing with it is that exactly where the crack appears when I deform also cannot be painted. Terrain Painting has no effect at this line in the tile edge.

BTW my cfg file is:


GroupName=PLSM2

LandScapeFileName=NewWorld2
FileSystem=LandScapeFileName
LandScapeExtension=RAW

Width=16
Height=16
RawWidth=513
RawHeight=513

Data2DFormat=HeightFieldRaw

ScaleX=11250
ScaleY=5500
ScaleZ=11250

NumTextureFormatSupported=1

TextureFormatSupported0=PLSplattingShaderLit
TextureFormat=PLSplattingShaderLit

NumMatHeightSplat=4

MaterialHeight1=15
MaterialHeight2=50


SplatFilename0=brownsand1.jpg
SplatFilename1=atgrass.jpg
SplatFilename2=rocks.jpg
SplatFilename3=grounddirt.jpg

VisibleRenderables=80
MaxRenderLevel=100

NumRenderablesLoading=100

MaxAdjacentPages=1
MaxPreloadedPages=2

MaxNumRenderables=1024
IncrementRenderables=256
MaxNumTiles=4096
IncrementTiles=256

VertexCompression=yes
VertexProgramMorph=no

#Deformable=no
Deformable=yes
VertexLit=yes
VertexColors=no
VertexNormals=yes
HorizonVisibilityComputing=yes
MaxPixelError=10
TextureModifiable=yes
LODMorphStart=0.02
DistanceLOD=100
ChangeFactor=100
TileSize=33

tuan kuranes

02-09-2006 08:55:01

Still didn't success in reproduce it.
And if you erase the .info.cfg of that map ?

PatrickB3

02-09-2006 10:08:29

Deleteing it has no effect.

tuan kuranes

05-09-2006 08:31:18

Ok, reproduced and now investigating.

tuan kuranes

05-09-2006 10:41:12

Should be Fixed in CVS. Let me now (can be by just making thread title "[solved]")