Page 1 of 1

Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 11:37 am
by Mido
Image

Hello everybody

This is the first touch with ogre, I got blank fields as attached. Also, I checked the forum and I found a similar problem but in my case may want a different solution.The plugins.cfg is in the project path and the required lib file exist, I don't know why it can not be loaded? I am using Windows 10. Thanks in advance.
Here is the log file:

21:51:07: Creating resource group General
21:51:07: Creating resource group OgreInternal
21:51:08: Creating resource group OgreAutodetect
21:51:08: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:51:08: Registering ResourceManager for type Material
21:51:08: Registering ResourceManager for type Mesh
21:51:08: Registering ResourceManager for type Skeleton
21:51:08: MovableObjectFactory for type 'ParticleSystem' registered.
21:51:08: ArchiveFactory for archive type FileSystem registered.
21:51:08: ArchiveFactory for archive type Zip registered.
21:51:08: ArchiveFactory for archive type EmbeddedZip registered.
21:51:08: DDS codec registering
21:51:08: ETC codec registering
21:51:08: stb_image - v2.15 - public domain JPEG/PNG reader
21:51:08: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
21:51:08: Registering ResourceManager for type HighLevelGpuProgram
21:51:08: Registering ResourceManager for type Compositor
21:51:08: MovableObjectFactory for type 'Entity' registered.
21:51:08: MovableObjectFactory for type 'Light' registered.
21:51:08: MovableObjectFactory for type 'BillboardSet' registered.
21:51:08: MovableObjectFactory for type 'ManualObject' registered.
21:51:08: MovableObjectFactory for type 'BillboardChain' registered.
21:51:08: MovableObjectFactory for type 'RibbonTrail' registered.
21:51:08: Loading library .\RenderSystem_Direct3D9.lib
21:51:08: InternalErrorException: Could not load dynamic library .\RenderSystem_Direct3D9.lib. System Error: The specified module could not be found.

in DynLib::load at C:\projects\ogre-bsrh7\OgreMain\src\OgreDynLib.cpp (line 111)

Re: Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 2:14 pm
by paroj
could you paste the contents of your plugins.cfg here?

Re: Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 2:16 pm
by Mido
# Define plugin folder
PluginFolder=F:\\Project\\OgreProject\\lib\\OGRE

# Define plugins
Plugin=RenderSystem_Direct3D9.lib
Plugin=RenderSystem_GL.lib
Plugin=Plugin_ParticleFX.lib
Plugin=Plugin_BSPSceneManager.lib
Plugin=Plugin_OctreeSceneManager.lib
Plugin=Plugin_CgProgramManager.lib

Re: Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 2:58 pm
by paroj
only use forward slashes "/" in the PluginFolder and drop the ".lib" suffixes in the Plugin lines.

Re: Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 3:03 pm
by Mido
The same output and the same error in the log file

Re: Blank ogre fileds rendering window

Posted: Mon Jun 04, 2018 8:14 pm
by hedphelym
are your plugins.cfg located at the same place as your executable?
Are you running debug or release?

Here is a example plugin.cfg where the config file is located where the executable is:
Release (C:\development\ogre\build\bin\Release\plugins.cfg) :

Code: Select all

# Define plugin folder
PluginFolder=.

# Define plugins
 Plugin=RenderSystem_Direct3D11
 Plugin=RenderSystem_GL3Plusl
 Plugin=Plugin_ParticleFX
Debug (C:\development\ogre\build\bin\Debug\plugins_d.cfg):

Code: Select all

# Define plugin folder
PluginFolder=.

# Define plugins
 Plugin=RenderSystem_Direct3D11_d
 Plugin=RenderSystem_GL3Plus_d
 Plugin=Plugin_ParticleFX_d
by placing it there and adding '.' as plugin folder it then means it's relative to the exectutable.
Meaning you can move the files around, not good practice to have a full path defined.

Re: Blank ogre fileds rendering window

Posted: Tue Jun 05, 2018 2:53 am
by Mido
It was in the solution path, but also when I moved it to the exe location, nothing happened
I am building release

Re: Blank ogre fileds rendering window

Posted: Tue Jun 05, 2018 9:25 pm
by Mido
Now, I get a black screen then the application crash!!!

graphics.log

22:30:41: Creating resource group General
22:30:41: Creating resource group OgreInternal
22:30:41: Creating resource group OgreAutodetect
22:30:41: SceneManagerFactory for type 'DefaultSceneManager' registered.
22:30:41: Registering ResourceManager for type Material
22:30:41: Registering ResourceManager for type Mesh
22:30:41: Registering ResourceManager for type Skeleton
22:30:41: MovableObjectFactory for type 'ParticleSystem' registered.
22:30:41: ArchiveFactory for archive type FileSystem registered.
22:30:41: ArchiveFactory for archive type Zip registered.
22:30:41: ArchiveFactory for archive type EmbeddedZip registered.
22:30:41: DDS codec registering
22:30:41: ETC codec registering
22:30:41: stb_image - v2.15 - public domain JPEG/PNG reader
22:30:41: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
22:30:41: Registering ResourceManager for type HighLevelGpuProgram
22:30:41: Registering ResourceManager for type Compositor
22:30:41: MovableObjectFactory for type 'Entity' registered.
22:30:41: MovableObjectFactory for type 'Light' registered.
22:30:41: MovableObjectFactory for type 'BillboardSet' registered.
22:30:41: MovableObjectFactory for type 'ManualObject' registered.
22:30:41: MovableObjectFactory for type 'BillboardChain' registered.
22:30:41: MovableObjectFactory for type 'RibbonTrail' registered.
22:30:41: Loading library F:/Project/OgreProject/bin\RenderSystem_Direct3D9
22:30:41: Installing plugin: D3D9 RenderSystem
22:30:41: D3D9 : Direct3D9 Rendering Subsystem created.
22:30:41: D3D9: Driver Detection Starts
22:30:41: D3D9: Driver Detection Ends
22:30:41: Plugin successfully installed
22:30:41: Loading library F:/Project/OgreProject/bin\Plugin_ParticleFX
22:30:41: Installing plugin: ParticleFX
22:30:41: Particle Emitter Type 'Point' registered
22:30:41: Particle Emitter Type 'Box' registered
22:30:41: Particle Emitter Type 'Ellipsoid' registered
22:30:41: Particle Emitter Type 'Cylinder' registered
22:30:41: Particle Emitter Type 'Ring' registered
22:30:41: Particle Emitter Type 'HollowEllipsoid' registered
22:30:41: Particle Affector Type 'LinearForce' registered
22:30:41: Particle Affector Type 'ColourFader' registered
22:30:41: Particle Affector Type 'ColourFader2' registered
22:30:41: Particle Affector Type 'ColourImage' registered
22:30:41: Particle Affector Type 'ColourInterpolator' registered
22:30:41: Particle Affector Type 'Scaler' registered
22:30:41: Particle Affector Type 'Rotator' registered
22:30:41: Particle Affector Type 'DirectionRandomiser' registered
22:30:41: Particle Affector Type 'DeflectorPlane' registered
22:30:41: Plugin successfully installed
22:30:41: Loading library F:/Project/OgreProject/bin\Plugin_BSPSceneManager
22:30:41: Installing plugin: BSP Scene Manager
22:30:41: Plugin successfully installed
22:30:42: Loading library F:/Project/OgreProject/bin\Plugin_OctreeSceneManager
22:30:42: Installing plugin: Octree Scene Manager
22:30:42: Plugin successfully installed
22:30:42: *-*-* OGRE Initialising
22:30:42: *-*-* Version 1.10.11 (Xalafu)
22:30:42: Creating resource group main
22:30:42: Added resource location './src/media' of type 'FileSystem' to resource group 'main'
22:30:42: Added resource location './src/media/fonts' of type 'FileSystem' to resource group 'main'
22:30:42: Added resource location './src/media/materials/scripts' of type 'FileSystem' to resource group 'main'
22:30:42: Added resource location './src/media/materials/textures' of type 'FileSystem' to resource group 'main'
22:30:42: Added resource location './src/media/models' of type 'FileSystem' to resource group 'main'
22:30:42: Added resource location './src/media/gui' of type 'FileSystem' to resource group 'main'
22:30:42: D3D9 : RenderSystem Option: FSAA = 0
22:30:42: D3D9 : RenderSystem Option: Full Screen = No
22:30:42: CPU Identifier & Features
22:30:42: -------------------------
22:30:42: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
22:30:42: * SSE: yes
22:30:42: * SSE2: yes
22:30:42: * SSE3: yes
22:30:42: * SSE41: yes
22:30:42: * SSE42: yes
22:30:42: * MMX: yes
22:30:42: * MMXEXT: yes
22:30:42: * 3DNOW: no
22:30:42: * 3DNOWEXT: no
22:30:42: * CMOV: yes
22:30:42: * TSC: yes
22:30:42: *INVARIANT TSC: yes
22:30:42: * FPU: yes
22:30:42: * PRO: yes
22:30:42: * HT: no
22:30:42: -------------------------
22:30:42: D3D9 : Subsystem Initialising
22:30:42: Registering ResourceManager for type Texture
22:30:42: Registering ResourceManager for type GpuProgram
22:30:42: D3D9RenderSystem::_createRenderWindow "game", 800x600 windowed miscParams: Backbuffer Count=0 FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
22:30:42: D3D9 : Created D3D9 Rendering Window 'game' : 800x600, 32bpp
22:30:42: Warning: D3D9: disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
22:30:42: D3D9: Vertex texture format supported - PF_L8
22:30:42: D3D9: Vertex texture format supported - PF_L16
22:30:42: D3D9: Vertex texture format supported - PF_A8
22:30:42: D3D9: Vertex texture format supported - PF_A4L4
22:30:42: D3D9: Vertex texture format supported - PF_BYTE_LA
22:30:42: D3D9: Vertex texture format supported - PF_R5G6B5
22:30:42: D3D9: Vertex texture format supported - PF_B5G6R5
22:30:42: D3D9: Vertex texture format supported - PF_A4R4G4B4
22:30:42: D3D9: Vertex texture format supported - PF_A1R5G5B5
22:30:42: D3D9: Vertex texture format supported - PF_A8R8G8B8
22:30:42: D3D9: Vertex texture format supported - PF_B8G8R8A8
22:30:42: D3D9: Vertex texture format supported - PF_A2R10G10B10
22:30:42: D3D9: Vertex texture format supported - PF_A2B10G10R10
22:30:42: D3D9: Vertex texture format supported - PF_DXT1
22:30:42: D3D9: Vertex texture format supported - PF_DXT2
22:30:42: D3D9: Vertex texture format supported - PF_DXT3
22:30:42: D3D9: Vertex texture format supported - PF_DXT4
22:30:42: D3D9: Vertex texture format supported - PF_DXT5
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
22:30:42: D3D9: Vertex texture format supported - PF_X8R8G8B8
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8A8
22:30:42: D3D9: Vertex texture format supported - PF_DEPTH
22:30:42: D3D9: Vertex texture format supported - PF_SHORT_RGBA
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT16_R
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT32_R
22:30:42: D3D9: Vertex texture format supported - PF_SHORT_GR
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT16_GR
22:30:42: D3D9: Vertex texture format supported - PF_FLOAT32_GR
22:30:42: D3D9: Vertex texture format supported - PF_SHORT_RGB
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC_RGB2
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC_RGBA2
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC_RGB4
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC_RGBA4
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC2_2BPP
22:30:42: D3D9: Vertex texture format supported - PF_PVRTC2_4BPP
22:30:42: D3D9: Vertex texture format supported - PF_R11G11B10_FLOAT
22:30:42: D3D9: Vertex texture format supported - PF_R8_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8A8_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R16_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16A16_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R32_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32B32_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32B32A32_UINT
22:30:42: D3D9: Vertex texture format supported - PF_R8_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8A8_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R16_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16A16_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R32_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32B32_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R32G32B32A32_SINT
22:30:42: D3D9: Vertex texture format supported - PF_R9G9B9E5_SHAREDEXP
22:30:42: D3D9: Vertex texture format supported - PF_BC4_UNORM
22:30:42: D3D9: Vertex texture format supported - PF_BC4_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_BC5_UNORM
22:30:42: D3D9: Vertex texture format supported - PF_BC5_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_BC6H_UF16
22:30:42: D3D9: Vertex texture format supported - PF_BC6H_SF16
22:30:42: D3D9: Vertex texture format supported - PF_BC7_UNORM
22:30:42: D3D9: Vertex texture format supported - PF_BC7_UNORM_SRGB
22:30:42: D3D9: Vertex texture format supported - PF_R8
22:30:42: D3D9: Vertex texture format supported - PF_RG8
22:30:42: D3D9: Vertex texture format supported - PF_R8_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R8G8_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R8G8B8A8_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R16_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R16G16_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_R16G16B16A16_SNORM
22:30:42: D3D9: Vertex texture format supported - PF_ETC1_RGB8
22:30:42: D3D9: Vertex texture format supported - PF_ETC2_RGB8
22:30:42: D3D9: Vertex texture format supported - PF_ETC2_RGBA8
22:30:42: D3D9: Vertex texture format supported - PF_ETC2_RGB8A1
22:30:42: D3D9: Vertex texture format supported - PF_ATC_RGB
22:30:42: D3D9: Vertex texture format supported - PF_ATC_RGBA_EXPLICIT_ALPHA
22:30:42: D3D9: Vertex texture format supported - PF_ATC_RGBA_INTERPOLATED_ALPHA
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_4X4_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_5X4_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_5X5_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_6X5_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_6X6_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_8X5_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_8X6_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_8X8_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_10X5_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_10X6_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_10X8_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_10X10_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_12X10_LDR
22:30:42: D3D9: Vertex texture format supported - PF_ASTC_RGBA_12X12_LDR
22:30:42: RenderSystem capabilities
22:30:42: -------------------------
22:30:42: RenderSystem Name: Direct3D9 Rendering Subsystem
22:30:42: GPU Vendor: intel
22:30:42: Device Name: Monitor-1-Intel(R) HD Graphics 4000
22:30:42: Driver Version: 10.18.10.4358
22:30:42: * Fixed function pipeline: yes
22:30:42: * Anisotropic texture filtering: yes
22:30:42: * Cube mapping: yes
22:30:42: * Hardware stencil buffer: yes
22:30:42: - Stencil depth: 8
22:30:42: - Two sided stencil support: yes
22:30:42: - Wrap stencil values: yes
22:30:42: * 32-bit index buffers: yes
22:30:42: * Vertex programs: yes
22:30:42: * Number of floating-point constants for vertex programs: 256
22:30:42: * Number of integer constants for vertex programs: 16
22:30:42: * Number of boolean constants for vertex programs: 16
22:30:42: * Fragment programs: yes
22:30:42: * Number of floating-point constants for fragment programs: 224
22:30:42: * Number of integer constants for fragment programs: 16
22:30:42: * Number of boolean constants for fragment programs: 16
22:30:42: * Geometry programs: no
22:30:42: * Number of floating-point constants for geometry programs: 0
22:30:42: * Number of integer constants for geometry programs: 0
22:30:42: * Number of boolean constants for geometry programs: 0
22:30:42: * Tessellation Hull programs: no
22:30:42: * Number of floating-point constants for tessellation hull programs: 0
22:30:42: * Number of integer constants for tessellation hull programs: 0
22:30:42: * Number of boolean constants for tessellation hull programs: 0
22:30:42: * Tessellation Domain programs: no
22:30:42: * Number of floating-point constants for tessellation domain programs: 0
22:30:42: * Number of integer constants for tessellation domain programs: 0
22:30:42: * Number of boolean constants for tessellation domain programs: 0
22:30:42: * Compute programs: no
22:30:42: * Number of floating-point constants for compute programs: 0
22:30:42: * Number of integer constants for compute programs: 0
22:30:42: * Number of boolean constants for compute programs: 0
22:30:42: * 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
22:30:42: * Texture Compression: yes
22:30:42: - DXT: yes
22:30:42: - VTC: no
22:30:42: - PVRTC: no
22:30:42: - ATC: no
22:30:42: - ETC1: no
22:30:42: - ETC2: no
22:30:42: - BC4/BC5: no
22:30:42: - BC6H/BC7: no
22:30:42: - ASTC: no
22:30:42: - Mipmaps for compressed formats: yes
22:30:42: * Hardware Occlusion Query: yes
22:30:42: * User clip planes: yes
22:30:42: * VET_UBYTE4 vertex element type: yes
22:30:42: * Infinite far plane projection: yes
22:30:42: * Hardware render-to-texture: yes
22:30:42: * Floating point textures: yes
22:30:42: * Non-power-of-two textures: yes
22:30:42: * 1d textures: yes
22:30:42: * Volume textures: yes
22:30:42: * Multiple Render Targets: 4
22:30:42: - With different bit depths: yes
22:30:42: * Point Sprites: yes
22:30:42: * Hardware Gamma: no
22:30:42: * Extended point parameters: yes
22:30:42: * Max Point Size: 256
22:30:42: * Vertex texture fetch: yes
22:30:42: * Number of texture units: 8
22:30:42: * Number of vertex attributes: 14
22:30:42: * Stencil buffer depth: 8
22:30:42: * Number of vertex blend matrices: 0
22:30:42: - Max vertex textures: 4
22:30:42: - Vertex textures shared: no
22:30:42: * Render to Vertex Buffer : no
22:30:42: * Hardware Atomic Counters: no
22:30:42: * DirectX per stage constants: yes
22:30:42: ***************************************
22:30:42: *** D3D9 : Subsystem Initialised OK ***
22:30:42: ***************************************
22:30:42: DefaultWorkQueue('Root') initialising on thread main.
22:30:42: Particle Renderer Type 'billboard' registered
22:30:42: SceneManagerFactory for type 'BspSceneManager' registered.
22:30:42: Registering ResourceManager for type BspLevel
22:30:42: SceneManagerFactory for type 'OctreeSceneManager' registered.
22:30:42: Parsing scripts for resource group General
22:30:42: Finished parsing scripts for resource group General
22:30:42: Creating resources for group General
22:30:42: All done
22:30:42: Parsing scripts for resource group OgreAutodetect
22:30:42: Finished parsing scripts for resource group OgreAutodetect
22:30:42: Creating resources for group OgreAutodetect
22:30:42: All done
22:30:42: Parsing scripts for resource group OgreInternal
22:30:42: Finished parsing scripts for resource group OgreInternal
22:30:42: Creating resources for group OgreInternal
22:30:42: All done
22:30:42: Parsing scripts for resource group main
22:30:42: Finished parsing scripts for resource group main
22:30:42: Creating resources for group main
22:30:42: All done