[Help] Building a map from a scratch

ervilha

24-07-2007 05:41:17

Hi all,

I'm trying to build a map, sorter, from a scratch!

I'm using CVS PLSM2 with CVS Ogre 1.4.3!

After a lot of wiki config options reading, ive finally managed to build a resonable, i think, the .gen.cfg and the .cfg files!

After running mapslipt on the map, i've tried to open it with the demo application, but the only thing i see is the viewport background color and one light that i think it is the sun! Notice, that when changing the camera orientation with the mouse, sometimes the 'sun' disapears. I think he disapears, because is behind something that is not visible, something like the terrain.


GroupName=PLSM2

LandScapeFileName=heightmap

LandScapeExtension=raw

ScaleX=1
ScaleY=1
ScaleZ=1


PageSize=513
TileSize=65

RawWidth=1025
RawHeight=1025


OutDirectory=./LandScapeFileName

MiniMap=yes
MiniMapWidth=512
MiniMapHeight=512


paged=yes

Data2DFormat=HeightField

TextureStretchFactor=1.0

ImageSplit=yes

LitColorMapSplit=no

InfiniteMap=no

Equalize=yes

HeightMap=yes

NormalMap=yes

HeightNormalMap=no

ColorMapGenerated=no

LitColorMapGenerated=no

NumMatHeightSplat=4
MaterialHeight1=15
MaterialHeight2=50

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

BaseMap=yes

LitBaseMap=no

CoverageMap=no

AlphaMaps=yes

LightMap=yes

ShadowMap=no

Sunx=0.0f
Suny=0.88f
Sunz=0.47f

Ambient=0.5f
Diffuse=0.5f
Blur=0.0f

ZHorizon=no



GroupName=PLSM2
FileSystem=heightmap

LandScapeFileName=heightmap

LandScapeExtension=png

TextureExtension=png

ScaleX=1
ScaleY=1
ScaleZ=1

Width=2
Height=2

VisibleRenderables=200

MaxAdjacentPages=2

MaxPreloadedPages=3

MaxNumRenderables=256

MaxNumTiles=256

Data2DFormat=HeightField

Deformable=no

TextureStretchFactor=1.0

NumTextureFormatSupported=16

TextureFormatSupported0=ImagePaging
TextureFormatSupported1=Base
TextureFormatSupported2=Base2
TextureFormatSupported3=InstantBase
TextureFormatSupported4=Splatting
TextureFormatSupported5=Splatting2
TextureFormatSupported6=Splatting3
TextureFormatSupported7=Splatting4
TextureFormatSupported8=Splatting6
TextureFormatSupported9=Splatting5
TextureFormatSupported10=Splatting7
TextureFormatSupported11=SplattingShader
TextureFormatSupported12=InstantBaseShadowed

TextureFormat=InstantBase

NumMatHeightSplat=4
MaterialHeight1=15
MaterialHeight2=50

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

MaxRenderLevel=5

MaxPixelError=20;

PageSize=513

TileSize=65

VertexCompression=yes

VertexProgramMorph=no

HorizonVisibilityComputing=no

# where to put camera on load.
BaseCameraViewpoint.x=935.0f
BaseCameraViewpoint.y=24000.0f
BaseCameraViewpoint.z=-432.0f

Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f


With this configuration files, i'm trying to build a map, with no base texture.
It only use sand, grass, rock and snow, painted by height, which i think is defined at MaterialHeight1=15 and MaterialHeight2=50.

:?: What am i doing wrong?

Please help!

Jon

24-07-2007 06:14:44

Are there any errors in the logfile?

I would also move the camera to some place near 0,0,0. Given the size of the map, and the small scale it looks like you are very far away from the terrain.

ervilha

24-07-2007 18:52:30

Sorry, I've forgotten the log file ;)

There only are two unusual things:

18:03:42: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightSpecularColor does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 877)
18:03:42: Error at line 29 of deferred_post_minilight.hlsl.program: Invalid param_named_auto attribute - Parameter called lightSpecularColor does not exist.


18:03:48: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.

They also occur when loading maps such as Alpes, and TSM!

Never the less i'm posting my plsm2.log too:

18:37:06: Creating resource group General
18:37:06: Creating resource group Internal
18:37:06: Creating resource group Autodetect
18:37:06: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:37:06: Registering ResourceManager for type Material
18:37:06: Registering ResourceManager for type Mesh
18:37:06: Registering ResourceManager for type Skeleton
18:37:06: MovableObjectFactory for type 'ParticleSystem' registered.
18:37:06: OverlayElementFactory for type Panel registered.
18:37:06: OverlayElementFactory for type BorderPanel registered.
18:37:06: OverlayElementFactory for type TextArea registered.
18:37:06: Registering ResourceManager for type Font
18:37:06: ArchiveFactory for archive type FileSystem registered.
18:37:06: ArchiveFactory for archive type Zip registered.
18:37:06: FreeImage version: 3.9.2
18:37:06: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:37:06: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
18:37:06: DDS codec registering
18:37:06: Registering ResourceManager for type HighLevelGpuProgram
18:37:06: Registering ResourceManager for type Compositor
18:37:06: MovableObjectFactory for type 'Entity' registered.
18:37:06: MovableObjectFactory for type 'Light' registered.
18:37:06: MovableObjectFactory for type 'BillboardSet' registered.
18:37:06: MovableObjectFactory for type 'ManualObject' registered.
18:37:06: MovableObjectFactory for type 'BillboardChain' registered.
18:37:06: MovableObjectFactory for type 'RibbonTrail' registered.
18:37:06: Loading library .\RenderSystem_Direct3D9
18:37:06: Installing plugin: D3D9 RenderSystem
18:37:06: D3D9 : Direct3D9 Rendering Subsystem created.
18:37:07: D3D9: Driver Detection Starts
18:37:07: D3D9: Driver Detection Ends
18:37:07: Plugin successfully installed
18:37:07: Loading library .\RenderSystem_GL
18:37:07: Installing plugin: GL RenderSystem
18:37:07: OpenGL Rendering Subsystem created.
18:37:07: Plugin successfully installed
18:37:07: Loading library .\Plugin_CgProgramManager
18:37:07: Installing plugin: Cg Program Manager
18:37:07: Plugin successfully installed
18:37:07: Loading library .\Plugin_ParticleFX
18:37:07: Installing plugin: ParticleFX
18:37:07: Particle Emitter Type 'Point' registered
18:37:07: Particle Emitter Type 'Box' registered
18:37:07: Particle Emitter Type 'Ellipsoid' registered
18:37:07: Particle Emitter Type 'Cylinder' registered
18:37:07: Particle Emitter Type 'Ring' registered
18:37:07: Particle Emitter Type 'HollowEllipsoid' registered
18:37:07: Particle Affector Type 'LinearForce' registered
18:37:07: Particle Affector Type 'ColourFader' registered
18:37:07: Particle Affector Type 'ColourFader2' registered
18:37:07: Particle Affector Type 'ColourImage' registered
18:37:07: Particle Affector Type 'ColourInterpolator' registered
18:37:07: Particle Affector Type 'Scaler' registered
18:37:07: Particle Affector Type 'Rotator' registered
18:37:07: Particle Affector Type 'DirectionRandomiser' registered
18:37:07: Particle Affector Type 'DeflectorPlane' registered
18:37:07: Plugin successfully installed
18:37:07: Loading library .\Plugin_PagingLandScapeSceneManager2
18:37:07: SceneManagerFactory for type 'PagingLandScapeSceneManager' registered.
18:37:07: *-*-* OGRE Initialising
18:37:07: *-*-* Version 1.4.3 (Eihort)
18:37:07: Creating resource group Bootstrap
18:37:07: Added resource location '../../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
18:37:07: Added resource location '../../../Media' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/fonts' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/models' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/overlays' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/particle' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/gui' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
18:37:07: Added resource location '../../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
18:37:07: Creating resource group PLSM2
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/terrains/heightmap' of type 'FileSystem' to resource group 'PLSM2'
18:37:07: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
18:37:07: D3D9 : RenderSystem Option: Anti aliasing = None
18:37:07: D3D9 : RenderSystem Option: Floating-point mode = Fastest
18:37:07: D3D9 : RenderSystem Option: Full Screen = No
18:37:07: D3D9 : RenderSystem Option: Rendering Device = ATI MOBILITY RADEON X700
18:37:07: D3D9 : RenderSystem Option: VSync = No
18:37:07: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
18:37:08: CPU Identifier & Features
18:37:08: -------------------------
18:37:08: * CPU ID: AuthenticAMD: AMD Turion(tm) 64 Mobile Technology ML-37
18:37:08: * SSE: yes
18:37:08: * SSE2: yes
18:37:08: * SSE3: yes
18:37:08: * MMX: yes
18:37:08: * MMXEXT: yes
18:37:08: * 3DNOW: yes
18:37:08: * 3DNOWEXT: yes
18:37:08: * CMOV: yes
18:37:08: * TSC: yes
18:37:08: * FPU: yes
18:37:08: * PRO: yes
18:37:08: * HT: no
18:37:08: -------------------------
18:37:08: D3D9 : Subsystem Initialising
18:37:08: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false
18:37:09: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
18:37:09: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
18:37:09: Registering ResourceManager for type Texture
18:37:09: Registering ResourceManager for type GpuProgram
18:37:09: RenderSystem capabilities
18:37:09: -------------------------
18:37:09: * Hardware generation of mipmaps: yes
18:37:09: * Texture blending: yes
18:37:09: * Anisotropic texture filtering: yes
18:37:09: * Dot product texture operation: yes
18:37:09: * Cube mapping: yes
18:37:09: * Hardware stencil buffer: yes
18:37:09: - Stencil depth: 8
18:37:09: - Two sided stencil support: yes
18:37:09: - Wrap stencil values: yes
18:37:09: * Hardware vertex / index buffers: yes
18:37:09: * Vertex programs: yes
18:37:09: - Max vertex program version: vs_2_0
18:37:09: * Fragment programs: yes
18:37:09: - Max fragment program version: ps_2_b
18:37:09: * Texture Compression: yes
18:37:09: - DXT: yes
18:37:09: - VTC: no
18:37:09: * Scissor Rectangle: yes
18:37:09: * Hardware Occlusion Query: yes
18:37:09: * User clip planes: yes
18:37:09: * VET_UBYTE4 vertex element type: yes
18:37:09: * Infinite far plane projection: yes
18:37:09: * Hardware render-to-texture: yes
18:37:09: * Floating point textures: yes
18:37:09: * Non-power-of-two textures: yes (limited)
18:37:09: * Volume textures: yes
18:37:09: * Multiple Render Targets: 4
18:37:09: * Point Sprites: yes
18:37:09: * Extended point parameters: yes
18:37:09: * Max Point Size: 256
18:37:09: * Vertex texture fetch: no
18:37:09: ***************************************
18:37:09: *** D3D9 : Subsystem Initialised OK ***
18:37:09: ***************************************
18:37:09: ResourceBackgroundQueue - threading disabled
18:37:09: Particle Renderer Type 'billboard' registered
18:37:09: MovableObjectFactory for type 'PagingLandScapeMeshDecal' registered.
18:37:09: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
18:37:09: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
18:37:09: Initialising resource group Bootstrap
18:37:09: Parsing scripts for resource group Bootstrap
18:37:09: Parsing script OgreCore.material
18:37:09: Parsing script OgreProfiler.material
18:37:09: Parsing script Ogre.fontdef
18:37:09: Parsing script OgreDebugPanel.overlay
18:37:09: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:37:09: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
18:37:09: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:37:09: Font BlueHighwayusing texture size 512x512
18:37:09: Info: Freetype returned null for character 127 in font BlueHighway
18:37:09: Info: Freetype returned null for character 128 in font BlueHighway
18:37:09: Info: Freetype returned null for character 129 in font BlueHighway
18:37:09: Info: Freetype returned null for character 130 in font BlueHighway
18:37:09: Info: Freetype returned null for character 131 in font BlueHighway
18:37:09: Info: Freetype returned null for character 132 in font BlueHighway
18:37:09: Info: Freetype returned null for character 133 in font BlueHighway
18:37:09: Info: Freetype returned null for character 134 in font BlueHighway
18:37:09: Info: Freetype returned null for character 135 in font BlueHighway
18:37:09: Info: Freetype returned null for character 136 in font BlueHighway
18:37:09: Info: Freetype returned null for character 137 in font BlueHighway
18:37:09: Info: Freetype returned null for character 138 in font BlueHighway
18:37:09: Info: Freetype returned null for character 139 in font BlueHighway
18:37:09: Info: Freetype returned null for character 140 in font BlueHighway
18:37:09: Info: Freetype returned null for character 141 in font BlueHighway
18:37:09: Info: Freetype returned null for character 142 in font BlueHighway
18:37:09: Info: Freetype returned null for character 143 in font BlueHighway
18:37:09: Info: Freetype returned null for character 144 in font BlueHighway
18:37:09: Info: Freetype returned null for character 145 in font BlueHighway
18:37:09: Info: Freetype returned null for character 146 in font BlueHighway
18:37:09: Info: Freetype returned null for character 147 in font BlueHighway
18:37:09: Info: Freetype returned null for character 148 in font BlueHighway
18:37:09: Info: Freetype returned null for character 149 in font BlueHighway
18:37:09: Info: Freetype returned null for character 150 in font BlueHighway
18:37:09: Info: Freetype returned null for character 151 in font BlueHighway
18:37:09: Info: Freetype returned null for character 152 in font BlueHighway
18:37:09: Info: Freetype returned null for character 153 in font BlueHighway
18:37:09: Info: Freetype returned null for character 154 in font BlueHighway
18:37:09: Info: Freetype returned null for character 155 in font BlueHighway
18:37:09: Info: Freetype returned null for character 156 in font BlueHighway
18:37:09: Info: Freetype returned null for character 157 in font BlueHighway
18:37:09: Info: Freetype returned null for character 158 in font BlueHighway
18:37:09: Info: Freetype returned null for character 159 in font BlueHighway
18:37:09: Info: Freetype returned null for character 160 in font BlueHighway
18:37:09: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
18:37:09: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:37:09: Parsing script OgreLoadingPanel.overlay
18:37:09: Finished parsing scripts for resource group Bootstrap
18:37:09: Initialising resource group General
18:37:09: Parsing scripts for resource group General
18:37:09: Parsing script Examples.program
18:37:09: Parsing script StdQuad_vp.program
18:37:09: Parsing script deferred.glsl.program
18:37:09: Parsing script deferred.hlsl.program
18:37:09: Parsing script deferred_post_debug.glsl.program
18:37:09: Parsing script deferred_post_debug.hlsl.program
18:37:09: Parsing script deferred_post_minilight.glsl.program
18:37:09: Parsing script deferred_post_minilight.hlsl.program
18:37:09: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightSpecularColor does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 877)
18:37:09: Error at line 29 of deferred_post_minilight.hlsl.program: Invalid param_named_auto attribute - Parameter called lightSpecularColor does not exist.
18:37:09: Parsing script deferred_post_multipass.glsl.program
18:37:09: Parsing script deferred_post_multipass.hlsl.program
18:37:09: Parsing script deferred_post_onepass.glsl.program
18:37:09: Parsing script deferred_post_onepass.hlsl.program
18:37:10: Parsing script BlackAndWhite.material
18:37:10: Parsing script Bloom.material
18:37:10: Parsing script DepthShadowmap.material
18:37:10: Parsing script DOF.material
18:37:10: Parsing script Embossed.material
18:37:10: Parsing script Example-DynTex.material
18:37:10: Parsing script Example-Water.material
18:37:10: Parsing script Example.material
18:37:10: Parsing script Examples-Advanced.material
18:37:11: Parsing script facial.material
18:37:11: Parsing script Glass.material
18:37:11: Parsing script hdr.material
18:37:11: Parsing script HeatVision.material
18:37:11: Parsing script Hurt.material
18:37:11: Parsing script instancing.material
18:37:12: Parsing script Invert.material
18:37:12: Parsing script Laplace.material
18:37:12: Parsing script MotionBlur.material
18:37:12: Parsing script Ocean.material
18:37:12: Parsing script OffsetMapping.material
18:37:12: Parsing script Ogre.material
18:37:12: Parsing script OldMovie.material
18:37:13: Parsing script OldTV.material
18:37:13: Parsing script Posterize.material
18:37:13: Parsing script RZR-002.material
18:37:13: Parsing script SharpenEdges.material
18:37:13: Parsing script smoke.material
18:37:13: Parsing script Tiling.material
18:37:13: Parsing script VarianceShadowmap.material
18:37:13: Parsing script deferred.material
18:37:13: Parsing script deferreddemo.material
18:37:13: Parsing script deferred_post_debug.material
18:37:13: Parsing script deferred_post_minilight.material
18:37:13: Parsing script deferred_post_multipass.material
18:37:13: Parsing script deferred_post_onepass.material
18:37:13: Parsing script RomanBath.material
18:37:13: Parsing script Examples.compositor
18:37:13: Parsing script sample.fontdef
18:37:13: Parsing script emitted_emitter.particle
18:37:13: Parsing script Example-Water.particle
18:37:13: Parsing script Example.particle
18:37:13: Parsing script smoke.particle
18:37:13: Parsing script Compositor.overlay
18:37:13: Parsing script DP3.overlay
18:37:13: Parsing script Example-CubeMapping.overlay
18:37:13: Parsing script Example-DynTex.overlay
18:37:13: Parsing script Example-Water.overlay
18:37:13: Parsing script Shadows.overlay
18:37:13: Finished parsing scripts for resource group General
18:37:13: Initialising resource group PLSM2
18:37:13: Parsing scripts for resource group PLSM2
18:37:13: Parsing script DecompressShadowReceiver.program
18:37:13: Parsing script DecompressSplat.program
18:37:13: Parsing script DecompressSplatShader.program
18:37:13: Parsing script DecompressVertex.program
18:37:13: Parsing script PLShaders.program
18:37:13: Parsing script ShadowReceiver.program
18:37:13: Parsing script Splat.program
18:37:13: Parsing script SplatShader.program
18:37:13: Parsing script BaseTexture.material
18:37:13: Parsing script colors.material
18:37:13: Parsing script MapEditor-Circle.material
18:37:13: Parsing script MyTree.material
18:37:13: Parsing script PagingLandScape.material
18:37:13: Parsing script PagingLandScapeTemplate.material
18:37:13: Parsing script PLSplattingShaderLit.material
18:37:14: Parsing script PLSplattingShaderLitDecompress.material
18:37:14: Parsing script PLSplattingShaderUnlit.material
18:37:14: Parsing script PLSplattingShaderUnlitDecompress.material
18:37:14: Parsing script Splatting.material
18:37:14: Parsing script Splatting2.material
18:37:14: Parsing script Splatting3.material
18:37:14: Parsing script Splatting4.material
18:37:14: Parsing script Splatting5.material
18:37:14: Parsing script Splatting6.material
18:37:14: Parsing script Splatting7.material
18:37:14: Parsing script SplattingShader.material
18:37:14: Parsing script terrain.material
18:37:14: Parsing script DebugOverlay.overlay
18:37:14: Parsing script PagingLandScape.overlay
18:37:14: Parsing script PagingLandScape2.overlay
18:37:14: Finished parsing scripts for resource group PLSM2
18:37:14: Initialising resource group PLSM2
18:37:14: Added resource location '../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2/terrains/heightmap' of type 'FileSystem' to resource group 'PLSM2'
18:37:14: Initialising resource group PLSM2
18:37:15: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
18:37:15: Texture: cursor.png: Loading 1 faces(PF_R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,32x32x1.
18:37:15: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
18:37:15: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
18:37:15: Creating viewport on target 'rtt/213860576', rendering from camera 'Ogre/ShadowTexture0Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
18:37:15: Viewport for camera 'Ogre/ShadowTexture0Cam', actual dimensions L: 0 T: 0 W: 512 H: 512
18:37:15: Texture: heightmap.Base.0.1.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:37:15: Texture: Detail3.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:37:15: Texture: heightmap.Light.0.1.png: Loading 1 faces(PF_L8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_L8,512x512x1.
18:37:15: Texture: heightmap.Base.0.0.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:37:15: Texture: heightmap.Light.0.0.png: Loading 1 faces(PF_L8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_L8,512x512x1.
18:37:16: Texture: heightmap.Base.1.1.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:37:16: Texture: heightmap.Light.1.1.png: Loading 1 faces(PF_L8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_L8,512x512x1.
18:37:16: Texture: heightmap.Base.1.0.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
18:37:16: Texture: heightmap.Light.1.0.png: Loading 1 faces(PF_L8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_L8,512x512x1.
18:41:08: *-*-* OGRE Shutdown
18:41:08: Render Target 'rtt/213860576' Average FPS: 226.703 Best FPS: 251.497 Worst FPS: 29.1777
18:41:08: Unregistering ResourceManager for type Compositor
18:41:08: Unregistering ResourceManager for type Font
18:41:08: Unregistering ResourceManager for type Skeleton
18:41:08: Unregistering ResourceManager for type Mesh
18:41:08: Unregistering ResourceManager for type HighLevelGpuProgram
18:41:08: Unloading library .\Plugin_PagingLandScapeSceneManager2
18:41:08: Uninstalling plugin: ParticleFX
18:41:08: Plugin successfully uninstalled
18:41:08: Unloading library .\Plugin_ParticleFX
18:41:08: Uninstalling plugin: Cg Program Manager
18:41:08: Plugin successfully uninstalled
18:41:08: Unloading library .\Plugin_CgProgramManager
18:41:08: Uninstalling plugin: GL RenderSystem
18:41:08: *** Stopping Win32GL Subsystem ***
18:41:08: Plugin successfully uninstalled
18:41:08: Unloading library .\RenderSystem_GL
18:41:08: Uninstalling plugin: D3D9 RenderSystem
18:41:08: Render Target 'OGRE Render Window' Average FPS: 226.716 Best FPS: 250.249 Worst FPS: 28.5962
18:41:08: D3D9 : Shutting down cleanly.
18:41:08: Unregistering ResourceManager for type Texture
18:41:08: Unregistering ResourceManager for type GpuProgram
18:41:08: D3D9 : Direct3D9 Rendering Subsystem destroyed.
18:41:08: Plugin successfully uninstalled
18:41:08: Unloading library .\RenderSystem_Direct3D9
18:41:08: Unregistering ResourceManager for type Material


I've also moved the camera too several positions like (0,1000,0), (0,100,0), (0,10,0), but i can't see any terrain!

One other thing, as we could see in the log file, the application is not loading the alpha maps and other stuff... is that normal?

ervilha

24-07-2007 19:10:08

Ok, i've changed the scale options and now i finally can see something :)

But the camera control is not as it is in other maps. Could this be because the scale factor? i'm applying a factor1025 in X, Y, and Z dimensions!

It look like if moving the mouse to move the camera, also moves the map.

* ScaleX, ScaleY, ScaleZ : Terrain scale value, can be different in mapsplitter and demo, but must be at least proportional to demo terrain scale value. If not, texture generated for splatting and normals would be false. (Default Value : 1)
I couldn't understand what this means...

Their values can be different in both .cfg and .gen.cfg files?

"but must be at least proportional to demo terrain scale value", what demo terrain scale value?

The template.cfg and template.gen.cfg as this value:
ScaleX=90000
ScaleY=15000
ScaleZ=90000
Should my values be proportional to them?

ervilha

24-07-2007 20:26:41

Well, the camera problem is resolved! I've adjusted the scale to values to the ones specified in the template files, and the problem is solved!

Jon

25-07-2007 23:19:06

Glad to hear that you have resolved this.

I believe the wiki is using "demo" to mean "the application".

Personally I just worry about the application (displayed) scale. A scale of "10000" on an axis would mean that a *page* would occupy 10000 units on that axis. I split my own terrain, so never bothered to worry about what the map-splitter means by scale, but I'd make a wild guess that a scale of "2" would mean that one pixel in the input file maps to 2 pixels in the output. I also assume that any scaling which can be done at splitting time can be done at display time.

leonardoaraujo.santos

27-07-2007 02:37:01

Hi ervilha did you succeded to run MapEditor... I´m sucessfully compiled but I´m having some problems to runing-it

Jon

27-07-2007 18:40:56

Please don't hijack threads, and please post questions in one thread rather than multiple times. I responded in the other thread, and hope others will do the same.