comtois a écrit :il faut utiliser le subsystem directx9 pour la 3D.
ensuite regarde le log ogre.log il y a des erreurs indiquées ça peut aider.
je te remercie pour ton aide

pour Shooter.pb j'ai donc mis mis le subsystem à directx9
et toujours cette fenêtre dos avec, entre autre, ce message d'erreur:
Code : Tout sélectionner
22:35:42: Creating resource group General
22:35:42: Creating resource group Internal
22:35:42: Creating resource group Autodetect
22:35:42: SceneManagerFactory for type 'DefaultSceneManager' registered.
22:35:42: Registering ResourceManager for type Material
22:35:42: Registering ResourceManager for type Mesh
22:35:42: Registering ResourceManager for type Skeleton
22:35:42: MovableObjectFactory for type 'ParticleSystem' registered.
22:35:42: OverlayElementFactory for type Panel registered.
22:35:42: OverlayElementFactory for type BorderPanel registered.
22:35:42: OverlayElementFactory for type TextArea registered.
22:35:42: Registering ResourceManager for type Font
22:35:42: ArchiveFactory for archive type FileSystem registered.
22:35:42: ArchiveFactory for archive type Zip registered.
22:35:42: FreeImage version: 3.10.0
22:35:42: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
22:35:42: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,koa,iff,lbm,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,dds,gif,g3,sgi,j2k,j2c,jp2
22:35:42: DDS codec registering
22:35:42: Registering ResourceManager for type HighLevelGpuProgram
22:35:42: Registering ResourceManager for type Compositor
22:35:42: MovableObjectFactory for type 'Entity' registered.
22:35:42: MovableObjectFactory for type 'Light' registered.
22:35:42: MovableObjectFactory for type 'BillboardSet' registered.
22:35:42: MovableObjectFactory for type 'ManualObject' registered.
22:35:42: MovableObjectFactory for type 'BillboardChain' registered.
22:35:42: MovableObjectFactory for type 'RibbonTrail' registered.
22:35:42: OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at OgreConfigFile.cpp (line 84)
22:35:42: plugins.cfg not found, automatic plugin loading disabled.
22:35:42: *-*-* OGRE Initialising
22:35:42: *-*-* Version 1.6.0RC1 (Shoggoth)
22:35:42: D3D9 : Direct3D9 Rendering Subsystem created.
22:35:42: D3D9: Driver Detection Starts
22:35:42: D3D9: Driver Detection Ends
22:35:42: Particle Emitter Type 'Point' registered
22:35:42: Particle Emitter Type 'Box' registered
22:35:42: Particle Emitter Type 'Ellipsoid' registered
22:35:42: Particle Emitter Type 'Cylinder' registered
22:35:42: Particle Emitter Type 'Ring' registered
22:35:42: Particle Emitter Type 'HollowEllipsoid' registered
22:35:42: Particle Affector Type 'LinearForce' registered
22:35:42: Particle Affector Type 'ColourFader' registered
22:35:42: Particle Affector Type 'ColourFader2' registered
22:35:42: Particle Affector Type 'ColourImage' registered
22:35:42: Particle Affector Type 'ColourInterpolator' registered
22:35:42: Particle Affector Type 'Scaler' registered
22:35:42: Particle Affector Type 'Rotator' registered
22:35:42: Particle Affector Type 'DirectionRandomiser' registered
22:35:42: Particle Affector Type 'DeflectorPlane' registered
22:35:42: CPU Identifier & Features
22:35:42: -------------------------
22:35:42: * CPU ID: AuthenticAMD: AMD Athlon(tm) XP 1700+
22:35:42: * SSE: yes
22:35:42: * SSE2: no
22:35:42: * SSE3: no
22:35:42: * MMX: yes
22:35:42: * MMXEXT: yes
22:35:42: * 3DNOW: yes
22:35:42: * 3DNOWEXT: yes
22:35:42: * CMOV: yes
22:35:42: * TSC: yes
22:35:42: * FPU: yes
22:35:42: * PRO: yes
22:35:42: * HT: no
22:35:42: -------------------------
22:35:42: D3D9 : Subsystem Initialising
22:35:42: ***************************************
22:35:42: *** D3D9 : Subsystem Initialised OK ***
22:35:42: ***************************************
22:35:42: SceneManagerFactory for type 'OctreeSceneManager' registered.
22:35:42: SceneManagerFactory for type 'TerrainSceneManager' registered.
22:35:42: SceneManagerFactory for type 'BspSceneManager' registered.
22:35:42: Registering ResourceManager for type BspLevel
22:35:42: Added resource location './Data/' of type 'FileSystem' to resource group 'General'
22:35:42: Added resource location './Cube/' of type 'FileSystem' to resource group 'General'
22:35:44: D3D9RenderSystem::_createRenderWindow "PureBasic Ogre", 512x384 windowed miscParams: FSAA=0 externalWindowHandle=1508426
22:35:44: D3D9 : Created D3D9 Rendering Window 'PureBasic Ogre' : 512x384, 32bpp
22:35:44: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
22:35:44: Registering ResourceManager for type Texture
22:35:44: Registering ResourceManager for type GpuProgram
22:35:44: RenderSystem capabilities
22:35:44: -------------------------
22:35:44: RenderSystem Name: Direct3D9 Rendering Subsystem
22:35:44: GPU Vendor: ati
22:35:44: Device Name: Radeon FSC TVout
22:35:44: Driver Version: 6.13.10.6071
22:35:44: * Fixed function pipeline: yes
22:35:44: * Hardware generation of mipmaps: no
22:35:44: * Texture blending: yes
22:35:44: * Anisotropic texture filtering: yes
22:35:44: * Dot product texture operation: yes
22:35:44: * Cube mapping: yes
22:35:44: * Hardware stencil buffer: yes
22:35:44: - Stencil depth: 8
22:35:44: - Two sided stencil support: no
22:35:44: - Wrap stencil values: yes
22:35:44: * Hardware vertex / index buffers: yes
22:35:44: * Vertex programs: no
22:35:44: * Fragment programs: no
22:35:44: * Supported Shader Profiles: hlsl
22:35:44: * Texture Compression: yes
22:35:44: - DXT: yes
22:35:44: - VTC: no
22:35:44: * Scissor Rectangle: no
22:35:44: * Hardware Occlusion Query: no
22:35:44: * User clip planes: yes
22:35:44: * VET_UBYTE4 vertex element type: yes
22:35:44: * Infinite far plane projection: no
22:35:44: * Hardware render-to-texture: yes
22:35:44: * Floating point textures: no
22:35:44: * Non-power-of-two textures: yes (limited)
22:35:44: * Volume textures: yes
22:35:44: * Multiple Render Targets: 1
22:35:44: - With different bit depths: no
22:35:44: * Point Sprites: yes
22:35:44: * Extended point parameters: yes
22:35:44: * Max Point Size: 256
22:35:44: * Vertex texture fetch: no
22:35:44: * DirectX per stage constants: no
22:35:44: ResourceBackgroundQueue - threading disabled
22:35:44: Particle Renderer Type 'billboard' registered
22:35:44: Texture: r2skin.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:35:44: Texture: Background.png: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:35:44: Texture: clouds.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:35:44: Mesh: Loading Cube.mesh.
22:35:44: WARNING: Cube.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
22:35:44: Creating viewport on target 'PureBasic Ogre', rendering from camera 'C0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
22:35:44: Can't assign material 1 - Default to SubEntity of E4136600 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4136680 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4136760 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4136840 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4136920 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4137000 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Can't assign material 1 - Default to SubEntity of E4137080 because this Material does not exist. Have you forgotten to define it in a .material script?
22:35:44: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 7 generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
22:35:44: OGRE EXCEPTION(7:InternalErrorException): Cannot create D3D9 vertex declaration: An undetermined error occurred in Direct3D9VertexDeclaration::getD3DVertexDeclaration at OgreD3D9VertexDeclaration.cpp (line 137)
22:35:44: OGRE EXCEPTION(3:RenderingAPIException): Error Presenting surfaces in D3D9RenderWindow::swapBuffers at OgreD3D9RenderWindow.cpp (line 778)
22:35:44: OGRE EXCEPTION(3:RenderingAPIException): Error beginning frame :Invalid call in D3D9RenderSystem::_beginFrame at OgreD3D9RenderSystem.cpp (line 2603)
comtois a écrit :pour world tu peux trouver un fichier dans une démo d'ogre
j'ai l'impression que je me transforme en boulet avec la 3D, hum
