[HELP] Goofed getNextTextureFormat error.

dernasherbrezon

11-07-2006 12:07:00

I had tried to launch GOOF Editor. Compilation cause no errors.
I have video card: GeForce4 MX (without any shaders)
Here is DefaultGOOFEdMap.cfg:

  1. GroupName=PLSM2
    LandScapeFileName=DefaultGOOFEdMap
    LandScapeExtension=raw
    Width=2
    Height=2
    PageSize=129
    TileSize=65
    ScaleX=258
    ScaleY=1024
    ScaleZ=258
    MaxRenderLevel=5
    MaxPixelError=6
    Deformable=yes
    VertexCompression=no
    VertexProgramMorph=no
    VisibleRenderables=256
    CameraThreshold=1
    AvgColorsExists=yes
    TextureFormat=Splatting
    NumMatHeightSplat=0
    TextureFormatSupported0=Splatting
    NumTextureFormatSupported=1
    TextureStretchFactor=2
    TextureModifiable=no
    MaterialDistanceLod=256
    VertexLit=no
    VertexNormals=no
    SplatFilename0=Terrain_Dirt1.jpg
    SplatFilename1=Terrain_Rock1.jpg
    SplatFilename2=Terrain_Grass1.jpg
    SplatFilename3=Terrain_Cobble1.jpg
    MaxNumRenderables=256
    MaxNumTiles=256
    MaxAdjacentPages=8
    FileSystem=../../../Media/paginglandscape2/terrains/LandScapeFileName
    [/list:u]

    and error:
    1. Error #: 4
      Function: getNextTextureFormat
      Description: Cannot find a TextureMode supported by current hardware! (shaders/num texture units...).
      File: \Developer\Gamedev\Ogre_cvs\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeTextureManager.cpp
      Line: 151[/list:u]

      As You can see i've change "TextureFormat" to "Splatting" but error still happen.

      UPDATE: switching "TextureFormat" to "Base" cause "windows error report" :?
      Log here:

      1. 15:27:24: Texture: _cegui_ogre_7: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
        15:27:25: Registering ResourceManager for type DataFile
        15:27:25: Initialising resource group PLSM2
        15:27:25: Added resource location '../../../Media/paginglandscape2/terrains//DefaultGOOFEdMap' of type 'FileSystem' to resource group 'PLSM2'
        15:27:25: Initialising resource group PLSM2
        [/list:u]

        P.S.: sorry for bad English :-(

tuan kuranes

24-07-2006 21:33:40

splatting or splatting2 (better) should work, if defined somewhere in the resources.cfg

Falagard

24-07-2006 21:52:01

The Paging Landscape editor plugin for the GOOF editor doesn't currently support cards that don't support pixel shader 2.0, and I don't plan to. Sorry :-)

It may produce terrains that will work on lower spec cards (by generating base only textures which will use a detail map + base map), but for actually creating the terrains, you'll need a better card since it uses the PLSplattingShaderDecompress as its only supported texture mode.

If you want to look into adding support for older cards by allowing the plugin to work with Splatting2, etc. (which use multipass to render the splats) it should be possible, though I'm not sure what changes need to be made.

The PLM2 itself, which the plugin uses, supports Splatting2, which can do the job.

dernasherbrezon

25-07-2006 09:38:29

It's possible to create splatting without shaders, but fixed pipeline should be used... :\
*searching better video card*

Thanks for answers!