Problem running tutorials

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
rafaelciencomp
Gnoblar
Posts: 19
Joined: Fri Jun 10, 2005 3:50 pm
Location: Brazil

Problem running tutorials

Post by rafaelciencomp »

Every tutorial that i try to run, doesn't run: just show a black window that one second later closes. There's no error message in the log file:

that's the log file for the camera tracking demo with opengl (because dx9 crashes):

Code: Select all

11:27:16: Creating resource group General
11:27:16: Registering ResourceManager for type Material
11:27:16: Registering ResourceManager for type Mesh
11:27:16: Registering ResourceManager for type Skeleton
11:27:16: Loading library OgrePlatform.dll
11:27:16: OverlayElementFactory for type Panel registered.
11:27:16: OverlayElementFactory for type BorderPanel registered.
11:27:16: OverlayElementFactory for type TextArea registered.
11:27:16: Registering ResourceManager for type Font
11:27:16: ArchiveFactory for archive type FileSystem registered.
11:27:16: ArchiveFactory for archive type Zip registered.
11:27:16: DevIL version: Developer's Image Library (DevIL) 1.6.7 Jan  6 2005
11:27:16: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst wal xpm raw 
11:27:16: Registering ResourceManager for type HighLevelGpuProgram
11:27:16: Loading library plugins\RenderSystem_Direct3D9
11:27:16: D3D9 : Direct3D9 Rendering SubSystem created.
11:27:16: D3D9: Driver Detection Starts
11:27:16: D3D9: Driver Detection Ends
11:27:16: Loading library plugins\RenderSystem_GL
11:27:16: OpenGL Rendering Subsystem created.
11:27:16: Loading library plugins\Plugin_ParticleFX
11:27:16: Particle Emitter Type 'Point' registered
11:27:16: Particle Emitter Type 'Box' registered
11:27:16: Particle Emitter Type 'Ellipsoid' registered
11:27:16: Particle Emitter Type 'Cylinder' registered
11:27:16: Particle Emitter Type 'Ring' registered
11:27:16: Particle Emitter Type 'HollowEllipsoid' registered
11:27:16: Particle Affector Type 'LinearForce' registered
11:27:16: Particle Affector Type 'ColourFader' registered
11:27:16: Particle Affector Type 'ColourFader2' registered
11:27:16: Particle Affector Type 'ColourImage' registered
11:27:16: Particle Affector Type 'ColourInterpolator' registered
11:27:16: Particle Affector Type 'Scaler' registered
11:27:16: Particle Affector Type 'Rotator' registered
11:27:16: Loading library plugins\Plugin_BSPSceneManager
11:27:16: Registering ResourceManager for type BspLevel
11:27:16: Loading library plugins\Plugin_OctreeSceneManager
11:27:16: TerrainSceneManager: Registered a new PageSource for type Heightmap
11:27:16: Loading library plugins\Plugin_CgProgramManager
11:27:16: *-*-* OGRE Initialising
11:27:16: *-*-* Version 1.0.1 (Azathoth)
11:27:16: Creating resource group Bootstrap
11:27:16: Added resource location 'media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
11:27:16: Added resource location 'media' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/fonts' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/materials/programs' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/materials/scripts' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/materials/textures' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/models' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/overlays' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/particle' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/gui' of type 'FileSystem' to resource group 'General'
11:27:16: Added resource location 'media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
11:27:16: Added resource location 'media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
11:27:17: Added resource location 'media/packs/dragon.zip' of type 'Zip' to resource group 'General'
11:27:17: Added resource location 'media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
11:27:17: Added resource location 'media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
11:27:17: Added resource location 'media/packs/skybox.zip' of type 'Zip' to resource group 'General'
11:27:39: *** Starting Win32GL Subsystem ***
11:27:39: GLRenderSystem::createRenderWindow "OGRE Render Window", 1024x768 fullscreen  miscParams: FSAA=0 colourDepth=32 vsync=false 
11:27:39: Created Win32Window 'OGRE Render Window' : 1024x768, 32bpp
i added getchar() at the frameStarted, but when i run the executable, it doesn't stop for get the input. i tried too return always true.

I'm using devcpp 4.9.9.1 (gcc 3.3.1). I tried many rendering setup configurations. HELP ME! :?
dermont
Bugbear
Posts: 812
Joined: Thu Dec 09, 2004 2:51 am
x 42

Post by dermont »

Try running the samples in Full Screen Node=No, you should see an error message on what's causing the problem.
User avatar
megizin
Halfling
Posts: 88
Joined: Fri Jun 24, 2005 4:30 pm
Contact:

Post by megizin »

[EDIT]

I found a fix, and I will post here what I did even though it will make me look iike an idiot. The fix is in windows terms because thats what I use.
-Go to Control Panel->DirectX.
-Click on the Direct3D tab in the dialog box that shows up
-Check Use Retail version of Direct3D (I was apparently using debug which doesn't work well with vertex and pixel shaders.)

[/EDIT]


I am getting the same error. I try to debug and it goes to where some entity is being added and it stops there blaming some user break point. Same thing happens in debug and in release mode. I have a GEForce FX 5700 so i think it should be capable of handling the vertex and pixel stuff, no? How else can I fix this demo?

All of the demos that quit out before showing anything I am trying to run using DX9. If I run them using OpenGL, they work fine.
Post Reply