don't run the example

ogre2013

06-06-2013 16:18:57

this it the log
somebody can tell me why when run the example1.



23:10:11: Creating resource group General
23:10:11: Creating resource group Internal
23:10:11: Creating resource group Autodetect
23:10:11: SceneManagerFactory for type 'DefaultSceneManager' registered.
23:10:11: Registering ResourceManager for type Material
23:10:11: Registering ResourceManager for type Mesh
23:10:11: Registering ResourceManager for type Skeleton
23:10:11: MovableObjectFactory for type 'ParticleSystem' registered.
23:10:11: OverlayElementFactory for type Panel registered.
23:10:11: OverlayElementFactory for type BorderPanel registered.
23:10:11: OverlayElementFactory for type TextArea registered.
23:10:11: Registering ResourceManager for type Font
23:10:11: ArchiveFactory for archive type FileSystem registered.
23:10:11: ArchiveFactory for archive type Zip registered.
23:10:11: ArchiveFactory for archive type EmbeddedZip registered.
23:10:11: DDS codec registering
23:10:11: FreeImage version: 3.13.1
23:10:11: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
23:10:11: 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,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
23:10:11: Registering ResourceManager for type HighLevelGpuProgram
23:10:11: Registering ResourceManager for type Compositor
23:10:11: MovableObjectFactory for type 'Entity' registered.
23:10:11: MovableObjectFactory for type 'Light' registered.
23:10:11: MovableObjectFactory for type 'BillboardSet' registered.
23:10:11: MovableObjectFactory for type 'ManualObject' registered.
23:10:11: MovableObjectFactory for type 'BillboardChain' registered.
23:10:11: MovableObjectFactory for type 'RibbonTrail' registered.
23:10:11: *-*-* OGRE Initialising
23:10:11: *-*-* Version 1.8.1 (Byatis)
23:10:11: Loading library Plugin_CgProgramManager_d
23:10:11: Installing plugin: Cg Program Manager
23:10:11: Plugin successfully installed
23:10:11: Loading library Plugin_OctreeSceneManager_d
23:10:11: Installing plugin: Octree Scene Manager
23:10:11: Plugin successfully installed
23:10:11: Loading library RenderSystem_Direct3D9_d
23:10:11: Installing plugin: D3D9 RenderSystem
23:10:11: D3D9 : Direct3D9 Rendering Subsystem created.
23:10:11: D3D9: Driver Detection Starts
23:10:11: D3D9: Driver Detection Ends
23:10:11: Plugin successfully installed
23:10:11: Loading library RenderSystem_GL_d
23:10:11: Installing plugin: GL RenderSystem
23:10:11: OpenGL Rendering Subsystem created.
23:10:11: Plugin successfully installed
23:10:11: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
23:10:11: D3D9 : RenderSystem Option: FSAA = 0
23:10:11: D3D9 : RenderSystem Option: Fixed Pipeline Enabled = Yes
23:10:11: D3D9 : RenderSystem Option: Floating-point mode = Fastest
23:10:11: D3D9 : RenderSystem Option: Full Screen = No
23:10:11: D3D9 : RenderSystem Option: Multi device memory hint = Use minimum system memory
23:10:11: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-Intel(R) HD Graphics Family
23:10:11: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
23:10:11: D3D9 : RenderSystem Option: Use Multihead = Auto
23:10:11: D3D9 : RenderSystem Option: VSync = No
23:10:11: D3D9 : RenderSystem Option: VSync Interval = 1
23:10:11: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
23:10:11: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
23:11:13: CPU Identifier & Features
23:11:13: -------------------------
23:11:13: * CPU ID: GenuineIntel: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
23:11:13: * SSE: yes
23:11:13: * SSE2: yes
23:11:13: * SSE3: yes
23:11:13: * MMX: yes
23:11:13: * MMXEXT: yes
23:11:13: * 3DNOW: no
23:11:13: * 3DNOWEXT: no
23:11:13: * CMOV: yes
23:11:13: * TSC: yes
23:11:13: * FPU: yes
23:11:13: * PRO: yes
23:11:13: * HT: no
23:11:13: -------------------------
23:11:13: D3D9 : Subsystem Initialising
23:11:13: Registering ResourceManager for type Texture
23:11:13: Registering ResourceManager for type GpuProgram
23:11:13: D3D9RenderSystem::_createRenderWindow "PagedGeometry Example 1 - TreeLoader3D", 800x600 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
23:11:13: D3D9 : Created D3D9 Rendering Window 'PagedGeometry Example 1 - TreeLoader3D' : 800x600, 32bpp
23:11:13: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
23:11:13: D3D9: Vertex texture format supported - PF_L8
23:11:13: D3D9: Vertex texture format supported - PF_L16
23:11:13: D3D9: Vertex texture format supported - PF_A8
23:11:13: D3D9: Vertex texture format supported - PF_A4L4
23:11:13: D3D9: Vertex texture format supported - PF_BYTE_LA
23:11:13: D3D9: Vertex texture format supported - PF_R5G6B5
23:11:13: D3D9: Vertex texture format supported - PF_B5G6R5
23:11:13: D3D9: Vertex texture format supported - PF_A4R4G4B4
23:11:13: D3D9: Vertex texture format supported - PF_A1R5G5B5
23:11:13: D3D9: Vertex texture format supported - PF_A8R8G8B8
23:11:13: D3D9: Vertex texture format supported - PF_B8G8R8A8
23:11:13: D3D9: Vertex texture format supported - PF_A2R10G10B10
23:11:13: D3D9: Vertex texture format supported - PF_A2B10G10R10
23:11:13: D3D9: Vertex texture format supported - PF_DXT1
23:11:13: D3D9: Vertex texture format supported - PF_DXT2
23:11:13: D3D9: Vertex texture format supported - PF_DXT3
23:11:13: D3D9: Vertex texture format supported - PF_DXT4
23:11:13: D3D9: Vertex texture format supported - PF_DXT5
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
23:11:13: D3D9: Vertex texture format supported - PF_X8R8G8B8
23:11:13: D3D9: Vertex texture format supported - PF_R8G8B8A8
23:11:13: D3D9: Vertex texture format supported - PF_DEPTH
23:11:13: D3D9: Vertex texture format supported - PF_SHORT_RGBA
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT16_R
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT32_R
23:11:13: D3D9: Vertex texture format supported - PF_SHORT_GR
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT16_GR
23:11:13: D3D9: Vertex texture format supported - PF_FLOAT32_GR
23:11:13: D3D9: Vertex texture format supported - PF_SHORT_RGB
23:11:13: D3D9: Vertex texture format supported - PF_PVRTC_RGB2
23:11:13: D3D9: Vertex texture format supported - PF_PVRTC_RGBA2
23:11:13: D3D9: Vertex texture format supported - PF_PVRTC_RGB4
23:11:13: D3D9: Vertex texture format supported - PF_PVRTC_RGBA4
23:11:13: D3D9: Vertex texture format supported - PF_R8
23:11:13: D3D9: Vertex texture format supported - PF_RG8
23:11:13: RenderSystem capabilities
23:11:13: -------------------------
23:11:13: RenderSystem Name: Direct3D9 Rendering Subsystem
23:11:13: GPU Vendor: intel
23:11:13: Device Name: Monitor-1-Intel(R) HD Graphics Family
23:11:13: Driver Version: 8.15.10.2462
23:11:13: * Fixed function pipeline: yes
23:11:13: * Hardware generation of mipmaps: yes
23:11:13: * Texture blending: yes
23:11:13: * Anisotropic texture filtering: yes
23:11:13: * Dot product texture operation: yes
23:11:13: * Cube mapping: yes
23:11:13: * Hardware stencil buffer: yes
23:11:13: - Stencil depth: 8
23:11:13: - Two sided stencil support: yes
23:11:13: - Wrap stencil values: yes
23:11:13: * Hardware vertex / index buffers: yes
23:11:13: * Vertex programs: yes
23:11:13: * Number of floating-point constants for vertex programs: 256
23:11:13: * Number of integer constants for vertex programs: 16
23:11:13: * Number of boolean constants for vertex programs: 16
23:11:13: * Fragment programs: yes
23:11:13: * Number of floating-point constants for fragment programs: 224
23:11:13: * Number of integer constants for fragment programs: 16
23:11:13: * Number of boolean constants for fragment programs: 16
23:11:13: * Geometry programs: no
23:11:13: * Number of floating-point constants for geometry programs: 0
23:11:13: * Number of integer constants for geometry programs: 0
23:11:13: * Number of boolean constants for geometry programs: 0
23:11:13: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
23:11:13: * Texture Compression: yes
23:11:13: - DXT: yes
23:11:13: - VTC: no
23:11:13: - PVRTC: no
23:11:13: * Scissor Rectangle: yes
23:11:13: * Hardware Occlusion Query: yes
23:11:13: * User clip planes: yes
23:11:13: * VET_UBYTE4 vertex element type: yes
23:11:13: * Infinite far plane projection: yes
23:11:13: * Hardware render-to-texture: yes
23:11:13: * Floating point textures: yes
23:11:13: * Non-power-of-two textures: yes
23:11:13: * Volume textures: yes
23:11:13: * Multiple Render Targets: 4
23:11:13: - With different bit depths: yes
23:11:13: * Point Sprites: yes
23:11:13: * Extended point parameters: yes
23:11:13: * Max Point Size: 256
23:11:13: * Vertex texture fetch: yes
23:11:13: * Number of world matrices: 0
23:11:13: * Number of texture units: 8
23:11:13: * Stencil buffer depth: 8
23:11:13: * Number of vertex blend matrices: 0
23:11:13: - Max vertex textures: 4
23:11:13: - Vertex textures shared: no
23:11:13: * Render to Vertex Buffer : no
23:11:13: * DirectX per stage constants: yes
23:11:13: ***************************************
23:11:13: *** D3D9 : Subsystem Initialised OK ***
23:11:13: ***************************************
23:11:13: DefaultWorkQueue('Root') initialising on thread main.
23:11:13: Particle Renderer Type 'billboard' registered
23:11:13: SceneManagerFactory for type 'OctreeSceneManager' registered.
23:11:26: Added resource location 'media/trees' of type 'FileSystem' to resource group 'General'
23:11:27: Added resource location 'media/terrains' of type 'FileSystem' to resource group 'General'
23:11:27: Added resource location 'media/grass' of type 'FileSystem' to resource group 'General'
23:11:28: Parsing scripts for resource group Autodetect
23:11:28: Finished parsing scripts for resource group Autodetect
23:11:28: Creating resources for group Autodetect
23:11:28: All done
23:11:28: Parsing scripts for resource group General
23:11:28: Parsing script tree.material
23:11:28: Parsing script grass.material
23:11:28: Finished parsing scripts for resource group General
23:11:28: Creating resources for group General
23:11:28: All done
23:11:28: Parsing scripts for resource group Internal
23:11:28: Finished parsing scripts for resource group Internal
23:11:28: Creating resources for group Internal
23:11:28: All done
23:12:17: OGRE EXCEPTION(2:InvalidParametersException): World geometry is not supported by the generic SceneManager. in SceneManager::setWorldGeometry at ..\..\..\Src\ogre_src_v1-8-1\OgreMain\src\OgreSceneManager.cpp (line 1578)



when go to the following code , it is wrong.
how to solove the promble.


//Load the terrain
sceneMgr->setWorldGeometry("terrain.cfg");


void SceneManager::setWorldGeometry(const String& filename)
{
// This default implementation cannot handle world geometry
OGRE_EXCEPT(Exception::ERR_INVALIDPARAMS,
"World geometry is not supported by the generic SceneManager.",
"SceneManager::setWorldGeometry");
}

Tibec

30-06-2013 19:54:23

That's because the examples use the Old Terrain system which has been deleted in Ogre 1.8