Problem with splattings2, 4, 6 and 7

CrxGames

11-01-2006 01:22:15

Hi, I'm trying to use some of the fixed function splattings, 2,4,6 and 7

The problem is, even though I have generated all the alpha maps(terrain.Alpha.(0-3).X.X.png), which should work, they load in fine, They all have transparent and non-transparent areas in them, and they are all RGB/8 in Photoshop.

But I always get images similar to this, with crosshatching textures, same in both DX and GL.



and the cfg



GroupName=PLSM2

Data2DFormat=HeightField
LandScapeFileName=terrain
LandScapeExtension=png

TextureExtension=png
TextureFormat=Splatting2
#ImageFilename=path_blend

PageSize=513
TileSize=65

MaxPixelError=3

ScaleX=4000
ScaleY=1100
ScaleZ=4000

SplatFilename0=splatting_sand.jpg
SplatFilename1=splatting_rock.jpg
SplatFilename2=splatting_snow.jpg
SplatFilename3=splatting_grass.jpg

Width=4
Height=4

VisibleRenderables=256
CameraThreshold=5
HorizonVisibilityComputing=yes

Deformable=yes
#VertexCompression=yes

VertexProgramMorph=no
LODMorphStart=0.5

MaxAdjacentPages=4

MaxPreloadedPages=8

tuan kuranes

11-01-2006 06:03:35

cvs or sdk ?
if sdk, make sure you updated the media folder to "paginglandscape2" instead of "paginglandscape"
did you use some texturestretch factor when splitting ?

CrxGames

11-01-2006 12:05:44

1)CVS
2)I got all the shader scripts from OgreSDK\media\paginglandscape, there is no other material folder for it in the SDK.
3)not as far as the CFG file goes

tuan kuranes

11-01-2006 12:32:04

CVS version has a media/paginglandscape2 which is now THE plsm2 media folder. CVS is incompatible with OgreSDK\media\paginglandscape media folder.

Only terrain datasrc heightmaps can be shared.

CrxGames

11-01-2006 21:46:45

Ok but that still brings me the the question, where is my problem from if I'm doing everything 'right'?

RGB8 Alphamaps with transparency
Splatting mode
Tested in both D3D and OpenGL
Error?

tuan kuranes

12-01-2006 08:17:11

Ok but that still brings me the the question, where is my problem from if I'm doing everything 'right'?
you get sme results CVS media/paginglandscape2 folder instead of SDK media/paginglandscape ?

RGB8 Alphamaps with transparency
no, deprecated. you should generate gray alphamaps => A8.

CrxGames

12-01-2006 22:39:38

Ok alphamaps genorated by mapsplitter work, but they aren't what I want, they go by height, I may as well use SplattingShader or similar for that.I have made my alphamaps from scratch, in photoshop they are each identical in make and pixelformat, Grey/8, is there any way mapsplitter can use my inputted alphamaps, split them, and make them the correct pixelformat for use with Splatting2?

tuan kuranes

13-01-2006 08:13:49

use nummapsplit and splatmapname
exact syntax and case here :
http://www.ogre3d.org/wiki/index.php/Pa ... #Texturing

CrxGames

13-01-2006 12:20:16

I was looking right at that page, I can't beleive I missed that.

tuan kuranes

13-01-2006 12:21:41

Sorry, It wasn't there before, Just added it when I answered above, I should have tell.

CrxGames

13-01-2006 21:52:55

This only happens when I input the correct file extention for my actual terrain,

Ok my new issue is with mapsplitter itself, the Alphas it gives work, but don't look like my splatmap input files, Alpha layers 0 and 1 are all black, 2 and 3 look like photoshop generated clouds, but not my input files =\ Is there some special way to make the input files? I've tried RGB and Greayscale 8bit of both of these

Black on transparent, White on black

If I input the correct extention, it's like it ignores the splatmap stuff completely, but I'll keep trying.

CrxGames

15-01-2006 18:25:40

I tried rebuilding mapsplitter from CVS source but it crashes, most likely because I built cvs mapsplitter with sdk OGRE, I just want those splatmap features which don't appear to be in the SDK version of mapsplitter.

tuan kuranes

16-01-2006 06:26:55

it's in CVS mapsplitter, yes. but you need CVS PLSM2 too.
and you'll get a lot of thing to fix to get Ogre SDK compatible.
Either wait for a new SDK version or go fof Ogre Dagon, which will be next Ogre Main version very soon.

CrxGames

16-01-2006 14:48:34

Any idea when the next SDK will be around?

tuan kuranes

17-01-2006 09:31:26

asap...