Ogre ViewWindow crashes

cloud

19-07-2006 15:21:47

Hello everybody!

I have downloaded and installed oFusion under 3DSMax 7.0 SP1. When I am trying to switch view to Ogre ViewWindow I get a message box saying:

"
Ogre Message

An Exception has been raised.
You are advised to save your work.

Report it

[OK]
"

I tried to access Ogre ViewWindow both with Direct3D and with OpenGL as a rendering device in 3DSMax -- got the same message.

All examples from Ogre SDK work fine on my computer. I have the following configuration:

Intel Pentium 4 3.06 GHz (2 CPUs)
1278Mb RAM
DirectX version: 9.0c
RADEON 9600 XT AGP

What may be wrong with my configuration?
Thank you.

Lioric

19-07-2006 19:54:32

have you installed into the max folder?

Did you modified any files, resouce files?

Post your "ogre.log" file that is created in the max root folder here, after that message is displayed

cloud

20-07-2006 09:09:04

Yep, I have installed into max folder and didn't modify anything. I post ogre.log to this reply


11:50:07: Creating resource group General
11:50:07: Registering ResourceManager for type Material
11:50:07: Registering ResourceManager for type Mesh
11:50:07: Registering ResourceManager for type Skeleton
11:50:07: Loading library OgrePlatform.dll
11:50:08: OverlayElementFactory for type Panel registered.
11:50:08: OverlayElementFactory for type BorderPanel registered.
11:50:08: OverlayElementFactory for type TextArea registered.
11:50:08: Registering ResourceManager for type Font
11:50:08: ArchiveFactory for archive type FileSystem registered.
11:50:08: ArchiveFactory for archive type Zip registered.
11:50:08: DevIL version: Developer's Image Library (DevIL) 1.6.5
11:50:08: DevIL image formats: bmp dib cut dcx dds gif ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
11:50:08: Registering ResourceManager for type HighLevelGpuProgram
11:50:08: Loading library .\ogre_azathoth\RenderSystem_GL
11:50:08: OpenGL Rendering Subsystem created.
11:50:08: Loading library .\ogre_azathoth\RenderSystem_Direct3D9
11:50:08: D3D9 : Direct3D9 Rendering SubSystem created.
11:50:09: D3D9: Driver Detection Starts
11:50:09: D3D9: Driver Detection Ends
11:50:09: Loading library .\ogre_azathoth\Plugin_CgProgramManager
11:50:09: Loading library .\ogre_azathoth\Plugin_OctreeSceneManager.dll
11:50:09: TerrainSceneManager: Registered a new PageSource for type Heightmap
11:50:09: *-*-* OGRE Initialising
11:50:09: *-*-* Version 1.0.6 (Azathoth)
11:50:09: Creating resource group Bootstrap
11:50:09: Added resource location '.\ogre_azathoth\Media\OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
11:50:09: Added resource location './ogre_azathoth/Media' of type 'FileSystem' to resource group 'General'
11:50:09: Added resource location './ogre_azathoth/Media/textures' of type 'FileSystem' to resource group 'General'
11:50:09: Added resource location './maps' of type 'FileSystem' to resource group 'General'
11:50:09: Added resource location './ogre_azathoth/Media/shaders' of type 'FileSystem' to resource group 'General'
11:50:09: *** Starting Win32GL Subsystem ***
11:50:09: ResourceBackgroundQueue - threading disabled
11:50:09: GLRenderSystem::createRenderWindow "OgreView", 100x100 windowed miscParams: externalWindowHandle=918812
11:50:09: GL_VERSION = 1.1.0
11:50:09: GL_VENDOR = Microsoft Corporation
11:50:09: GL_RENDERER = GDI Generic
11:50:09: GL_EXTENSIONS = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
11:50:09: ***************************
*** GL Renderer Started ***
***************************
11:50:09: Registering ResourceManager for type GpuProgram
11:50:09: RenderSystem capabilities
11:50:09: -------------------------
11:50:09: * Hardware generation of mipmaps: no
11:50:09: * Texture blending: no
11:50:09: * Anisotropic texture filtering: no
11:50:09: * Dot product texture operation: no
11:50:09: * Cube mapping: no
11:50:09: * Hardware stencil buffer: yes
11:50:09: - Stencil depth: 8
11:50:09: - Two sided stencil support: no
11:50:09: - Wrap stencil values: no
11:50:09: * Hardware vertex / index buffers: no
11:50:09: * Vertex programs: no
11:50:09: * Fragment programs: no
11:50:09: * Texture Compression: no
11:50:09: * Scissor Rectangle: yes
11:50:09: * Hardware Occlusion Query: no
11:50:09: * User clip planes: yes
11:50:09: * VET_UBYTE4 vertex element type: yes
11:50:09: * Infinite far plane projection: yes
11:50:09: * Hardware render-to-texture: no
11:50:09: * Floating point textures: no
11:50:09: * Non-power-of-two textures: no
11:50:09: * Volume textures: yes
11:50:09: Registering ResourceManager for type Texture
11:50:09: Particle Renderer Type 'billboard' registered
11:50:09: Creating resource group exporterMeshGroup
11:50:09: Creating resource group exporterSkelGroup
11:50:09: Creating resource group exporterMaterialGroup
11:50:09: Parsing scripts for resource group Bootstrap
11:50:09: Parsing script OgreCore.material
11:50:09: Parsing script OgreProfiler.material
11:50:09: Parsing script Ogre.fontdef
11:50:09: Finished parsing scripts for resource group Bootstrap
11:50:09: Parsing scripts for resource group General
11:50:09: Parsing script Corona_ps.program
11:50:09: Error at line 9 of Corona_ps.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Corona_ps.program: Could not create GPU program 'Corona_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Corona_ps.program: Unrecognised command: */
11:50:09: Parsing script Corona_vs.program
11:50:09: Error at line 9 of Corona_vs.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Corona_vs.program: Could not create GPU program 'Corona_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Corona_vs.program: Unrecognised command: */
11:50:09: Parsing script Examples.program
11:50:09: Parsing script Ocean_Sky_ps.program
11:50:09: Error at line 9 of Ocean_Sky_ps.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Ocean_Sky_ps.program: Could not create GPU program 'Ocean_Sky_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Ocean_Sky_ps.program: Unrecognised command: */
11:50:09: Parsing script Ocean_Sky_vs.program
11:50:09: Error at line 9 of Ocean_Sky_vs.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Ocean_Sky_vs.program: Could not create GPU program 'Ocean_Sky_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Ocean_Sky_vs.program: Unrecognised command: */
11:50:09: Parsing script Ocean_Water_ps.program
11:50:09: Error at line 9 of Ocean_Water_ps.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Ocean_Water_ps.program: Could not create GPU program 'Ocean_Water_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Ocean_Water_ps.program: Unrecognised command: */
11:50:09: Parsing script Ocean_Water_vs.program
11:50:09: Error at line 9 of Ocean_Water_vs.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of Ocean_Water_vs.program: Could not create GPU program 'Ocean_Water_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of Ocean_Water_vs.program: Unrecognised command: */
11:50:09: Parsing script SpecularBump_ps.program
11:50:09: Error at line 9 of SpecularBump_ps.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of SpecularBump_ps.program: Could not create GPU program 'SpecularBump_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_ps already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of SpecularBump_ps.program: Unrecognised command: */
11:50:09: Parsing script SpecularBump_vs.program
11:50:09: Error at line 9 of SpecularBump_vs.program: Unrecognised command: /*
11:50:09: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 16 of SpecularBump_vs.program: Could not create GPU program 'SpecularBump_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
11:50:09: Error at line 17 of SpecularBump_vs.program: Unrecognised command: */
11:50:09: Parsing script Example.material
11:50:09: Finished parsing scripts for resource group General
11:50:09: Parsing scripts for resource group exporterMaterialGroup
11:50:09: Finished parsing scripts for resource group exporterMaterialGroup
11:50:09: Parsing scripts for resource group exporterMeshGroup
11:50:09: Finished parsing scripts for resource group exporterMeshGroup
11:50:09: Parsing scripts for resource group exporterSkelGroup
11:50:09: Finished parsing scripts for resource group exporterSkelGroup
11:50:09: Creating viewport on target 'OgreView', rendering from camera 'Camera_1', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
11:50:09: Viewport for camera 'Camera_1', actual dimensions L: 0 T: 0 W: 522 H: 399
11:50:10: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 7 generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
11:50:10: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
11:50:10: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
11:50:10: Font TrebuchetMSBoldusing texture size 512x512
11:50:10: Info: Freetype returned null for character 160 in font TrebuchetMSBold
11:50:10: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
11:50:11: WARNING: Mesh instance '__OVIEWPORT_Torus01_mesh' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
11:50:11: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getSceneNode
Description: SceneNode '__OVIEWPORT_Torus01_node' not found..
File: C:\ogre3d\OgreMain\src\OgreSceneManager.cpp
Line: 640
Stack unwinding: <<beginning of stack>>
11:50:11: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getAnimation
Description: Cannot find animation with name _OVP_ANIM___OVIEWPORT_Torus01_node.
File: C:\ogre3d\OgreMain\src\OgreSceneManager.cpp
Line: 2265
Stack unwinding: <<beginning of stack>>
11:50:19: *-*-* OGRE Shutdown
11:50:19: Unregistering ResourceManager for type Font
11:50:19: Unregistering ResourceManager for type Skeleton
11:50:19: Unregistering ResourceManager for type Mesh
11:50:19: Unregistering ResourceManager for type HighLevelGpuProgram
11:50:19: Unloading library .\ogre_azathoth\Plugin_OctreeSceneManager.dll
11:50:19: Unloading library .\ogre_azathoth\Plugin_CgProgramManager
11:50:19: D3D9 : Shutting down cleanly.
11:50:19: D3D9 : Direct3D9 Rendering SubSystem destroyed.
11:50:19: Unloading library .\ogre_azathoth\RenderSystem_Direct3D9
11:50:19: Render Target 'OgreView' Average FPS: 0 Best FPS: 0 Worst FPS: 999
11:50:19: Unregistering ResourceManager for type GpuProgram
11:50:19: *** Stopping Win32GL Subsystem ***
11:50:19: Unregistering ResourceManager for type Texture
11:50:19: Unloading library .\ogre_azathoth\RenderSystem_GL
11:50:19: Unregistering ResourceManager for type Material
11:50:19: Unloading library OgrePlatform.dll

Kurshev

21-07-2006 19:56:06

I ve received the same result with a very similar log file

Lioric

22-07-2006 03:31:05

Test by changing the video driver used by max
Additionally update your video drivers

What happens if you activate the preview viewport without any objects in your scene?

Kurshev

22-07-2006 09:10:03

In my case it works fine if I try it on empty scene. It fails when i try to load complicated scene and do "Update".

Lioric

23-07-2006 02:41:57

Can this be reproduced with that specific scene?
Is this issue with that scene on other machines as well?

Kurshev

23-07-2006 12:55:51

I've got specific scene on which OGRE view always fails. Can I email it to somebody who say me what's wrong with it?

Lioric

23-07-2006 19:30:39

Send it to me, see the address in the contacts page