[Solved]OpenGL AccessViolation in start rendering

AliAkdurak

24-01-2011 09:44:19

Hello

We are working on a multi render window environment where render windows are embedded into the windows forms by using their handle attributes. Until now we were using DirectX but unfortunately it is really causing a lot of problems such as Device Lost - Device Restored problems and other minor things. So I decided to give it a try to OpenGL as I also need to use geometry shader at some point even it is not now. but it gives a nasty AccessViolation at StartRendering(). I can work with OpenGL in my other mogre projects without any problem.

Is there a problem around mogre with embedded render windows using OpenGL ?. Forums search does not returns any results about it. There is only this reference where it says OpenGL cannot work with multi thread enviroment and every call to rendering system should be made from a single thread. http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=13194. As I recall forms have their own thread to draw them and they call paint on the panels to draw their content maybe effectively calling render update ? Would this problem go away if I manually route it to single thread that render system is created?

I really want to try OpenGL with our project as it gives better result in all my trials with it and seems more stable.
12:28:05: Creating resource group General
12:28:05: Creating resource group Internal
12:28:05: Creating resource group Autodetect
12:28:05: SceneManagerFactory for type 'DefaultSceneManager' registered.
12:28:05: Registering ResourceManager for type Material
12:28:05: Registering ResourceManager for type Mesh
12:28:05: Registering ResourceManager for type Skeleton
12:28:05: MovableObjectFactory for type 'ParticleSystem' registered.
12:28:05: OverlayElementFactory for type Panel registered.
12:28:05: OverlayElementFactory for type BorderPanel registered.
12:28:05: OverlayElementFactory for type TextArea registered.
12:28:05: Registering ResourceManager for type Font
12:28:05: ArchiveFactory for archive type FileSystem registered.
12:28:05: ArchiveFactory for archive type Zip registered.
12:28:05: DDS codec registering
12:28:05: FreeImage version: 3.13.1
12:28:05: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
12:28:05: 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
12:28:05: PVRTC codec registering
12:28:05: Registering ResourceManager for type HighLevelGpuProgram
12:28:05: Registering ResourceManager for type Compositor
12:28:05: MovableObjectFactory for type 'Entity' registered.
12:28:05: MovableObjectFactory for type 'Light' registered.
12:28:05: MovableObjectFactory for type 'BillboardSet' registered.
12:28:05: MovableObjectFactory for type 'ManualObject' registered.
12:28:05: MovableObjectFactory for type 'BillboardChain' registered.
12:28:05: MovableObjectFactory for type 'RibbonTrail' registered.
12:28:05: Loading library .\RenderSystem_Direct3D9_d
12:28:05: Installing plugin: D3D9 RenderSystem
12:28:05: D3D9 : Direct3D9 Rendering Subsystem created.
12:28:06: D3D9: Driver Detection Starts
12:28:06: D3D9: Driver Detection Ends
12:28:06: Plugin successfully installed
12:28:06: Loading library .\RenderSystem_GL_d
12:28:06: Installing plugin: GL RenderSystem
12:28:06: OpenGL Rendering Subsystem created.
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_ParticleFX_d
12:28:07: Installing plugin: ParticleFX
12:28:07: Particle Emitter Type 'Point' registered
12:28:07: Particle Emitter Type 'Box' registered
12:28:07: Particle Emitter Type 'Ellipsoid' registered
12:28:07: Particle Emitter Type 'Cylinder' registered
12:28:07: Particle Emitter Type 'Ring' registered
12:28:07: Particle Emitter Type 'HollowEllipsoid' registered
12:28:07: Particle Affector Type 'LinearForce' registered
12:28:07: Particle Affector Type 'ColourFader' registered
12:28:07: Particle Affector Type 'ColourFader2' registered
12:28:07: Particle Affector Type 'ColourImage' registered
12:28:07: Particle Affector Type 'ColourInterpolator' registered
12:28:07: Particle Affector Type 'Scaler' registered
12:28:07: Particle Affector Type 'Rotator' registered
12:28:07: Particle Affector Type 'DirectionRandomiser' registered
12:28:07: Particle Affector Type 'DeflectorPlane' registered
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_BSPSceneManager_d
12:28:07: Installing plugin: BSP Scene Manager
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_CgProgramManager_d
12:28:07: Installing plugin: Cg Program Manager
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_PCZSceneManager_d.dll
12:28:07: Installing plugin: Portal Connected Zone Scene Manager
12:28:07: PCZone Factory Type 'ZoneType_Default' registered
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_OctreeZone_d.dll
12:28:07: Installing plugin: Octree Zone Factory
12:28:07: Plugin successfully installed
12:28:07: Loading library .\Plugin_OctreeSceneManager_d
12:28:07: Installing plugin: Octree & Terrain Scene Manager
12:28:07: Plugin successfully installed
12:28:07: *-*-* OGRE Initialising
12:28:07: *-*-* Version 1.7.1 (Cthugha)
12:28:07: Creating resource group Bootstrap
12:28:07: Added resource location '.\Media\packs\OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
12:28:07: Added resource location '.\Media' of type 'FileSystem' to resource group 'General'
12:28:07: Added resource location '.\Media\fonts' of type 'FileSystem' to resource group 'General'
12:28:07: Added resource location '.\Media\materials\programs' of type 'FileSystem' to resource group 'General'
12:28:07: Added resource location '.\Media\materials\scripts' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\materials\textures' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\models' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\overlays' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\particle' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\gui' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Backgrounds\' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Targets\3D\Meshes' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Targets\3D\Textures' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Targets\3D\Materials' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Targets\3D\scripts' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\Targets\3D\programs' of type 'FileSystem' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\cubemap.zip' of type 'Zip' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\cubemapsJS.zip' of type 'Zip' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\dragon.zip' of type 'Zip' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\fresneldemo.zip' of type 'Zip' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\ogretestmap.zip' of type 'Zip' to resource group 'General'
12:28:08: Added resource location '.\Media\packs\skybox.zip' of type 'Zip' to resource group 'General'
12:28:08: Creating resource group MyGUI
12:28:08: Added resource location '.\Media\MyGUI_Media' of type 'FileSystem' to resource group 'MyGUI'
12:28:08: Added resource location '.\Media\MyGUI_Media\Layouts' of type 'FileSystem' to resource group 'MyGUI'
12:28:08: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\ogre\OgreMain\src\OgreConfigFile.cpp (line 83)
12:28:08: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\ogre\OgreMain\src\OgreConfigFile.cpp (line 83)
12:28:13: CPU Identifier & Features
12:28:13: -------------------------
12:28:13: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz
12:28:13: * SSE: yes
12:28:13: * SSE2: yes
12:28:13: * SSE3: yes
12:28:13: * MMX: yes
12:28:13: * MMXEXT: yes
12:28:13: * 3DNOW: no
12:28:13: * 3DNOWEXT: no
12:28:13: * CMOV: yes
12:28:13: * TSC: yes
12:28:13: * FPU: yes
12:28:13: * PRO: yes
12:28:13: * HT: no
12:28:13: -------------------------
12:28:13: *** Starting Win32GL Subsystem ***
12:28:14: GLRenderSystem::_createRenderWindow "Atış Sahası-\\.\DISPLAY1@0[0]", 100x100 windowed miscParams: externalWindowHandle=985002
12:28:14: GL_VERSION = 3.3.10061 Compatibility Profile Context
12:28:14: GL_VENDOR = ATI Technologies Inc.
12:28:14: GL_RENDERER = ATI Mobility Radeon HD 4500/5100 Series
12:28:15: GL_EXTENSIONS = GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_draw_buffers_blend GL_AMD_name_gen_delete GL_AMD_performance_monitor GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_buffer_object_rgb32 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_explicit_multisample GL_NV_float_buffer GL_NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control
12:28:15: Supported WGL extensions: WGL_ARB_extensions_string WGL_ARB_pixel_format WGL_ATI_pixel_format_float WGL_ARB_pixel_format_float WGL_ARB_multisample WGL_EXT_swap_control WGL_ARB_pbuffer WGL_ARB_render_texture WGL_ARB_make_current_read WGL_EXT_extensions_string WGL_ARB_buffer_region WGL_EXT_framebuffer_sRGB WGL_ATI_render_texture_rectangle WGL_EXT_pixel_format_packed_float WGL_I3D_genlock WGL_NV_swap_group WGL_ARB_create_context WGL_AMD_gpu_association WGL_AMDX_gpu_association WGL_ARB_create_context_profile WGL_NV_float_buffer
12:28:15: ***************************
12:28:15: *** GL Renderer Started ***
12:28:15: ***************************
12:28:15: Registering ResourceManager for type GpuProgram
12:28:15: GLSL support detected
12:28:15: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
12:28:15: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:15: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:16: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
12:28:16: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
12:28:16: RenderSystem capabilities
12:28:16: -------------------------
12:28:16: RenderSystem Name: OpenGL Rendering Subsystem
12:28:16: GPU Vendor: ati
12:28:16: Device Name: ATI Mobility Radeon HD 4500/5100 Series
12:28:16: Driver Version: 3.3.10061.0
12:28:16: * Fixed function pipeline: yes
12:28:16: * Hardware generation of mipmaps: yes
12:28:16: * Texture blending: yes
12:28:16: * Anisotropic texture filtering: yes
12:28:16: * Dot product texture operation: yes
12:28:16: * Cube mapping: yes
12:28:16: * Hardware stencil buffer: yes
12:28:16: - Stencil depth: 8
12:28:16: - Two sided stencil support: yes
12:28:16: - Wrap stencil values: yes
12:28:16: * Hardware vertex / index buffers: yes
12:28:16: * Vertex programs: yes
12:28:16: * Number of floating-point constants for vertex programs: 512
12:28:16: * Number of integer constants for vertex programs: 0
12:28:16: * Number of boolean constants for vertex programs: 0
12:28:16: * Fragment programs: yes
12:28:16: * Number of floating-point constants for fragment programs: 512
12:28:16: * Number of integer constants for fragment programs: 0
12:28:16: * Number of boolean constants for fragment programs: 0
12:28:16: * Geometry programs: yes
12:28:16: * Number of floating-point constants for geometry programs: 52428
12:28:16: * Number of integer constants for geometry programs: 0
12:28:16: * Number of boolean constants for geometry programs: 0
12:28:16: * Supported Shader Profiles: arbfp1 arbvp1 glsl gp4gp gpu_gp nvgp4 ps_1_1 ps_1_2 ps_1_3 ps_1_4
12:28:16: * Texture Compression: yes
12:28:16: - DXT: yes
12:28:16: - VTC: no
12:28:16: - PVRTC: no
12:28:16: * Scissor Rectangle: yes
12:28:16: * Hardware Occlusion Query: yes
12:28:16: * User clip planes: yes
12:28:16: * VET_UBYTE4 vertex element type: yes
12:28:16: * Infinite far plane projection: yes
12:28:16: * Hardware render-to-texture: yes
12:28:16: * Floating point textures: yes
12:28:16: * Non-power-of-two textures: yes
12:28:16: * Volume textures: yes
12:28:16: * Multiple Render Targets: 8
12:28:16: - With different bit depths: yes
12:28:16: * Point Sprites: yes
12:28:16: * Extended point parameters: yes
12:28:16: * Max Point Size: 8192
12:28:16: * Vertex texture fetch: yes
12:28:16: * Number of world matrices: 0
12:28:16: * Number of texture units: 16
12:28:16: * Stencil buffer depth: 8
12:28:16: * Number of vertex blend matrices: 0
12:28:16: - Max vertex textures: 16
12:28:16: - Vertex textures shared: yes
12:28:16: * Render to Vertex Buffer : no
12:28:16: * GL 1.5 without VBO workaround: no
12:28:16: * Frame Buffer objects: yes
12:28:16: * Frame Buffer objects (ARB extension): no
12:28:16: * Frame Buffer objects (ATI extension): no
12:28:16: * PBuffer support: no
12:28:16: * GL 1.5 without HW-occlusion workaround: no
12:28:16: Registering ResourceManager for type Texture
12:28:16: DefaultWorkQueue('Root') initialising on thread main.
12:28:16: Particle Renderer Type 'billboard' registered
12:28:16: SceneManagerFactory for type 'BspSceneManager' registered.
12:28:16: Registering ResourceManager for type BspLevel
12:28:16: SceneManagerFactory for type 'PCZSceneManager' registered.
12:28:16: MovableObjectFactory for type 'PCZLight' registered.
12:28:16: MovableObjectFactory for type 'Portal' registered.
12:28:16: MovableObjectFactory for type 'AntiPortal' registered.
12:28:16: PCZone Factory Type 'ZoneType_Octree' registered
12:28:16: PCZone Factory Type 'ZoneType_Terrain' registered
12:28:16: SceneManagerFactory for type 'OctreeSceneManager' registered.
12:28:16: SceneManagerFactory for type 'TerrainSceneManager' registered.
12:28:17: Parsing scripts for resource group Autodetect
12:28:17: Finished parsing scripts for resource group Autodetect
12:28:17: Parsing scripts for resource group Bootstrap
12:28:17: Parsing script OgreCore.material
12:28:17: Parsing script OgreProfiler.material
12:28:17: Parsing script Ogre.fontdef
12:28:17: Parsing script OgreDebugPanel.overlay
12:28:17: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
12:28:17: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
12:28:17: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
12:28:17: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
12:28:17: Parsing script OgreLoadingPanel.overlay
12:28:17: Finished parsing scripts for resource group Bootstrap
12:28:17: Parsing scripts for resource group General
12:28:17: Parsing script Examples.program
12:28:17: GLSL compiled : Ogre/BasicVertexPrograms/AmbientOneTextureGLSLVertex shader was successfully compiled to run on hardware.

12:28:17: GLSL compiled : Ogre/HardwareSkinningTwoWeightsGLSLVertex shader was successfully compiled to run on hardware.

12:28:18: Parsing script StdQuad_vp.program
12:28:18: Parsing script deferred.glsl.program
12:28:18: GLSL compiled : DeferredShading/material/glsl/psFragment shader was successfully compiled to run on hardware.
12:28:18: GLSL compiled : DeferredShading/material/glsl/notex_psFragment shader was successfully compiled to run on hardware.
12:28:18: GLSL compiled : DeferredShading/material/glsl/nm_psFragment shader was successfully compiled to run on hardware.
12:28:18: GLSL compiled : DeferredShading/material/glsl/nm_notex_psFragment shader was successfully compiled to run on hardware.
12:28:18: Parsing script deferred.hlsl.program
12:28:18: Parsing script deferred_post_debug.glsl.program
12:28:18: GLSL compiled : DeferredShading/post/glsl/ShowNormal_psFragment shader was successfully compiled to run on hardware.
12:28:18: GLSL compiled : DeferredShading/post/glsl/ShowDS_psFragment shader was successfully compiled to run on hardware.
12:28:19: GLSL compiled : DeferredShading/post/glsl/ShowColour_psFragment shader was successfully compiled to run on hardware.
12:28:19: Parsing script deferred_post_debug.hlsl.program
12:28:19: Parsing script deferred_post_minilight.glsl.program
12:28:19: GLSL compiled : DeferredShading/post/glsl/LightMaterial_vsVertex shader was successfully compiled to run on hardware.

12:28:19: GLSL compiled : DeferredShading/post/glsl/LightMaterial_psFragment shader was successfully compiled to run on hardware.
12:28:19: Parsing script deferred_post_minilight.hlsl.program
12:28:19: Parsing script deferred_post_multipass.glsl.program
12:28:19: GLSL compiled : DeferredShading/post/glsl/Ambient_psFragment shader was successfully compiled to run on hardware.
12:28:19: GLSL compiled : DeferredShading/post/glsl/GlobalLight_psFragment shader was successfully compiled to run on hardware.
12:28:19: Parsing script deferred_post_multipass.hlsl.program
12:28:19: Parsing script deferred_post_onepass.glsl.program
12:28:19: GLSL compiled : DeferredShading/post/glsl/vsVertex shader was successfully compiled to run on hardware.

12:28:19: GLSL compiled : DeferredShading/post/glsl/SinglePass_psFragment shader was successfully compiled to run on hardware.
12:28:19: Parsing script deferred_post_onepass.hlsl.program
12:28:19: Parsing script Examples.program
12:28:19: GLSL compiled : Ogre/BasicVertexPrograms/AmbientOneTextureGLSLVertex shader was successfully compiled to run on hardware.

12:28:19: OGRE EXCEPTION(2:InvalidParametersException): Parameter called ambient does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\ogre\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
12:28:19: Compiler error: invalid parameters in Examples.program(130): setting of constant failed
12:28:20: Parsing script StdQuad_vp.program
12:28:20: Parsing script BlackAndWhite.material
12:28:20: Parsing script Bloom.material
12:28:20: GLSL compiled : Blur_ps_glslFragment shader was successfully compiled to run on hardware.
12:28:20: GLSL compiled : Blur0_vs_glslVertex shader was successfully compiled to run on hardware.

12:28:20: GLSL compiled : Blur1_vs_glslVertex shader was successfully compiled to run on hardware.

12:28:20: Parsing script DepthShadowmap.material
12:28:21: GLSL compiled : Ogre/DepthShadowmap/CasterVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:21: GLSL compiled : Ogre/DepthShadowmap/CasterFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:21: GLSL compiled : Ogre/DepthShadowmap/ReceiverVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:21: GLSL compiled : Ogre/DepthShadowmap/ReceiverFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:21: GLSL compiled : Ogre/DepthShadowmap/ReceiverFPPCF_GLSLFragment shader was successfully compiled to run on hardware.
12:28:21: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:21: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:21: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSLFragment shader was successfully compiled to run on hardware.
12:28:21: Parsing script DOF.material
12:28:21: Compiler error: object name expected in DOF.material(55)
12:28:21: Parsing script Embossed.material
12:28:21: Parsing script Example-DynTex.material
12:28:21: Parsing script Example-Water.material
12:28:21: Parsing script Example.material
12:28:23: GLSL compiled : Ogre/HardwareSkinningTwoWeightsShadowCasterGLSLVertex shader was successfully compiled to run on hardware.

12:28:23: Parsing script Examples-Advanced.material
12:28:24: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFP: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(122) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: High-level program Examples/BumpMapFP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFP: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(122) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPSpecular: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(216) : error C3004: function "normalize" not supported in this profile
(219) : error C3004: function "normalize" not supported in this profile
(225) : error C3004: function "pow" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: High-level program Examples/BumpMapFPSpecular encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPSpecular: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(216) : error C3004: function "normalize" not supported in this profile
(219) : error C3004: function "normalize" not supported in this profile
(225) : error C3004: function "pow" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: Compiler error: number expected in Examples-Advanced.material(679): incorrect float constant declaration
12:28:24: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPShadowRcv: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(146) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: High-level program Examples/BumpMapFPShadowRcv encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPShadowRcv: CG ERROR : "The compile returned an error."
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(146) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:24: Parsing script facial.material
12:28:24: Parsing script Glass.material
12:28:24: Parsing script hdr.material
12:28:25: GLSL compiled : Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/StdQuad_GLSL_vpVertex shader was successfully compiled to run on hardware.

12:28:25: GLSL compiled : Ogre/Compositor/HDR/downscale3x3GLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/HDR/bloomGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:25: GLSL compiled : Ogre/Compositor/HDR/finaltonemappingGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:25: Parsing script HeatVision.material
12:28:25: Parsing script Hurt.material
12:28:25: Parsing script instancing.material
12:28:25: GLSL compiled : InstancingGLSLVertex shader was successfully compiled to run on hardware.

12:28:25: GLSL compiled : InstancingShadowCasterGLSLVertex shader was successfully compiled to run on hardware.

12:28:25: GLSL compiled : CrowdGLSLVertex shader was successfully compiled to run on hardware.

12:28:25: GLSL compiled : CrowdShadowCasterGLSLVertex shader was successfully compiled to run on hardware.

12:28:25: Parsing script Invert.material
12:28:25: Parsing script Laplace.material
12:28:25: Parsing script MotionBlur.material
12:28:25: Parsing script Ocean.material
12:28:26: GLSL compiled : GLSL/OceanVSVertex shader was successfully compiled to run on hardware.

12:28:26: GLSL compiled : GLSL/OceanFSFragment shader was successfully compiled to run on hardware.
12:28:26: GLSL compiled : GLSL/Ocean2VSVertex shader was successfully compiled to run on hardware.

12:28:26: GLSL compiled : GLSL/Ocean2FSFragment shader was successfully compiled to run on hardware.
12:28:26: Parsing script OffsetMapping.material
12:28:26: GLSL compiled : Examples/OffsetMappingIntegratedShadowsFPglslFragment shader was successfully compiled to run on hardware.
12:28:26: GLSL compiled : Examples/OffsetMappingIntegratedShadowsVPglslVertex shader was successfully compiled to run on hardware.

12:28:26: Parsing script Ogre.material
12:28:26: Parsing script OgreNewt_Example.material
12:28:26: Parsing script OldMovie.material
12:28:26: Parsing script OldTV.material
12:28:26: Parsing script Posterize.material
12:28:26: Parsing script RZR-002.material
12:28:26: Parsing script SharpenEdges.material
12:28:26: Parsing script smoke.material
12:28:26: Parsing script Tiling.material
12:28:26: Parsing script VarianceShadowmap.material
12:28:27: Parsing script deferred.material
12:28:27: GLSL compiled : DeferredShading/material/glsl/vsVertex shader was successfully compiled to run on hardware.

12:28:27: GLSL compiled : DeferredShading/material/glsl/nm_vsVertex shader was successfully compiled to run on hardware.

12:28:27: Parsing script deferreddemo.material
12:28:27: Compiler error: unknown error in deferreddemo.material(22): base object named "DeferredShading/Material/TexturedPhong" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(47): base object named "DeferredShading/Material/TexturedNormalMapped" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(81): base object named "DeferredShading/Material/UntexturedNormalMapped" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(114): base object named "DeferredShading/Material/TexturedPhong" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(141): base object named "DeferredShading/Material/UntexturedPhong" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(166): base object named "DeferredShading/Material/TexturedPhong" not found in script definition
12:28:27: Compiler error: unknown error in deferreddemo.material(197): base object named "DeferredShading/Material/TexturedPhong" not found in script definition
12:28:27: Compiler error: object name expected in deferreddemo.material(91)
12:28:27: Compiler error: object name expected in deferreddemo.material(105)
12:28:27: Compiler error: object name expected in deferreddemo.material(147)
12:28:27: Compiler error: object name expected in deferreddemo.material(158)
12:28:27: Compiler error: object name expected in deferreddemo.material(172)
12:28:27: Compiler error: object name expected in deferreddemo.material(186)
12:28:27: Compiler error: object name expected in deferreddemo.material(203)
12:28:27: Compiler error: object name expected in deferreddemo.material(217)
12:28:27: Parsing script deferred_post_debug.material
12:28:27: Parsing script deferred_post_minilight.material
12:28:27: Parsing script deferred_post_multipass.material
12:28:27: Parsing script deferred_post_onepass.material
12:28:27: Parsing script 09113f68fa1ac08360f28f9407faa343.material
12:28:27: Parsing script 159cbcb0f955ba8e7691cc696e4b2ca0.material
12:28:27: Parsing script 16e6f329a6a7298ee50a40aa3b11c1ea.material
12:28:27: Parsing script 209676b481cbb87e041d3eb6efa96594.material
12:28:27: Parsing script 25721c60bd176e6e0bd090192ad0a97c.material
12:28:27: Parsing script 2c4e7567018ca9ea38657a0dfe4cfff2.material
12:28:27: Parsing script 3df25746dbe4555a59d94be44e731a20.material
12:28:27: Parsing script 45bc1493d3ee0b608993f1ad74e2af87.material
12:28:27: Parsing script 4c6a7afc7aacc14de55e7c22f09f5463.material
12:28:27: Parsing script 4f468472e8d55c5bca2f02e832f07971.material
12:28:27: Parsing script 559b7d890b355b2685a4321558ff5354.material
12:28:27: Parsing script 596463fc1e1aa43a4f592b1cf18a3bb6.material
12:28:27: Parsing script 5d6bab54d671d1c1a428652e2948fa81.material
12:28:27: Parsing script 5e46303c8e59e6e021233d8b21c4086d.material
12:28:27: Parsing script 5f02f62c1a947209d70326201dd4bd12.material
12:28:27: Parsing script 822546002d40f2fc0780fc5f6c8fecd8.material
12:28:27: Parsing script 84768eb1b5bfea27b810f7de305a8ba0.material
12:28:27: Parsing script 9685e779fe8b2e318fcc363241f9fcdd.material
12:28:27: Parsing script 9bebcc2cea4cd9619290aaeba68508ee.material
12:28:27: Parsing script 9d6978a1fde994b66cefe2135739bd59.material
12:28:27: Parsing script a4230cd48b87b6a62bb5bb953c6a7b83.material
12:28:27: Parsing script a45517a25893160c87543d5faeaa22d5.material
12:28:27: Parsing script a9004df3c6e2a3564d9f6e2153c03a97.material
12:28:27: Parsing script Agac1.material
12:28:27: Parsing script Apache.material
12:28:28: Parsing script askerpng.material
12:28:28: Parsing script ayakkabi.material
12:28:28: Parsing script b02b138a97ce91763c130533649a830b.material
12:28:28: Parsing script b1b8fd3b7354908d55448e114ab7e91d.material
12:28:28: Parsing script b62dc78f0404345510bdfd3e86c9e994.material
12:28:28: Parsing script b6d30fa4b3b3c1d09906d5f8714e4441.material
12:28:28: Parsing script b80ec32561011d17bfdbf98207379528.material
12:28:28: Parsing script bad23aa75130e81a6a03b52a4ae2b412.material
12:28:28: Parsing script bas.material
12:28:28: Parsing script bf20bcbc829404c3691a311fcbcc301c.material
12:28:28: Parsing script Bloom.material
12:28:28: GLSL compiled : Blur_ps_glslFragment shader was successfully compiled to run on hardware.
12:28:28: Parsing script Bloom2.material
12:28:28: GLSL compiled : Bloom2_ps20_glslFragment shader was successfully compiled to run on hardware.
12:28:29: Parsing script BlueTarget.material
12:28:29: Parsing script boy.material
12:28:29: Parsing script BulletHole.material
12:28:29: Parsing script c47f17dc703faf087015a70f5748c388.material
12:28:29: Parsing script c919769af20936557e1776bdece21ba2.material
12:28:29: Parsing script chinhelicopter.material
12:28:29: Parsing script d7c562aa76c858ffa964831f62f78955.material
12:28:29: Parsing script dd05bd1bb6f7caad50290101ddde2d1d.material
12:28:29: Parsing script diz.material
12:28:29: Parsing script e272d023e4c12c6a6eb5dcda4526542e.material
12:28:29: Parsing script e487506bb4fecf71aaed7c32b4f8fb13.material
12:28:29: Parsing script e58c20b0a77d959876dab97f090a1554.material
12:28:29: Parsing script ece571dfe9bb0055ff241ab5e1f28e12.material
12:28:29: Parsing script ee759ad29339e04d894671bd2b7e78fb.material
12:28:29: Parsing script fab16a95dc2b65849ed5c29a9f72686d.material
12:28:29: Parsing script fdbc9008cfb06bb90b508b173d4805a1.material
12:28:29: Parsing script fe723427ec987ee9e9c6b23cfe43da4e.material
12:28:29: Parsing script FogRectangle1.material
12:28:29: Compiler error: invalid parameters in FogRectangle1.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:29: Parsing script FogRectangle2.material
12:28:29: Compiler error: invalid parameters in FogRectangle2.material(15): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:29: Parsing script gogus.material
12:28:29: Parsing script hdr.material
12:28:29: GLSL compiled : Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/downscale3x3GLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/bloomGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:29: GLSL compiled : Ogre/Compositor/HDR/finaltonemappingGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:29: Parsing script HeatVision.material
12:28:29: Parsing script ing.material
12:28:29: Parsing script ingiliz.material
12:28:29: Parsing script ingilizasker.material
12:28:29: Parsing script Invert.material
12:28:29: Parsing script ISSF.material
12:28:29: Compiler error: invalid parameters in ISSF.material(14): scene_blend does not support "src_colour" for argument 1
12:28:29: Compiler error: invalid parameters in ISSF.material(39): scene_blend does not support "src_colour" for argument 1
12:28:29: Parsing script JagdPanzer.material
12:28:31: Parsing script KareTest.material
12:28:31: Parsing script MotionBlur.material
12:28:31: Parsing script NightVision.material
12:28:31: Parsing script PalmTree.material
12:28:31: Parsing script PineTree.material
12:28:31: Parsing script polis.material
12:28:31: Parsing script prefix.material
12:28:31: Parsing script RainDiamond1.material
12:28:31: Compiler error: invalid parameters in RainDiamond1.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script RainDiamond2.material
12:28:31: Compiler error: invalid parameters in RainDiamond2.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script RainRectangle1.material
12:28:31: Compiler error: invalid parameters in RainRectangle1.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script RainRectangle2.material
12:28:31: Compiler error: invalid parameters in RainRectangle2.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script RectangleToFollowUp.material
12:28:31: Compiler error: invalid parameters in RectangleToFollowUp.material(15): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script RedTree.material
12:28:31: Parsing script Snow.material
12:28:31: Compiler error: invalid parameters in Snow.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Compiler error: fewer parameters expected in Snow.material(18): wave_xform must have at most 6 arguments
12:28:31: Parsing script SnowDiamond1.material
12:28:31: Compiler error: invalid parameters in SnowDiamond1.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script SnowDiamond2.material
12:28:31: Compiler error: invalid parameters in SnowDiamond2.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script SnowRectangle1.material
12:28:31: Compiler error: invalid parameters in SnowRectangle1.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script SnowRectangle2.material
12:28:31: Compiler error: invalid parameters in SnowRectangle2.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script soldiersiluette.material
12:28:31: Parsing script target.material
12:28:31: Parsing script techsoldier.material
12:28:31: Parsing script Teksav.material
12:28:31: Compiler error: invalid parameters in Teksav.material(16): wrap not supported as second argument (must be "wrap", "clamp", "mirror", or "border")
12:28:31: Parsing script Tiger.material
12:28:34: Parsing script WillowTree.material
12:28:34: Parsing script ASCII.material
12:28:34: Parsing script ASMSwizzle.material
12:28:34: Parsing script BlackAndWhite.material
12:28:34: Parsing script Bloom.material
12:28:34: GLSL compiled : Blur_ps_glslFragment shader was successfully compiled to run on hardware.
12:28:34: Parsing script Bloom2.material
12:28:34: GLSL compiled : Bloom2_ps20_glslFragment shader was successfully compiled to run on hardware.
12:28:34: Parsing script CGSwizzle.material
12:28:34: Parsing script CompositorDemo.material
12:28:34: Parsing script DepthShadowmap.material
12:28:35: GLSL compiled : Ogre/DepthShadowmap/CasterVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:35: GLSL compiled : Ogre/DepthShadowmap/CasterFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:35: GLSL compiled : Ogre/DepthShadowmap/ReceiverVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:35: GLSL compiled : Ogre/DepthShadowmap/ReceiverFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:35: GLSL compiled : Ogre/DepthShadowmap/ReceiverFPPCF_GLSLFragment shader was successfully compiled to run on hardware.
12:28:35: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverVP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:35: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFP_GLSLFragment shader was successfully compiled to run on hardware.
12:28:35: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSLFragment shader was successfully compiled to run on hardware.
12:28:35: Parsing script Dither.material
12:28:35: Parsing script DOF.material
12:28:35: Parsing script Embossed.material
12:28:35: Parsing script Example-Water.material
12:28:36: Parsing script Examples-Advanced.material
12:28:36: Parsing script Examples-DynTex.material
12:28:36: Parsing script Examples-Water.material
12:28:36: Parsing script Examples.material
12:28:38: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\ogre\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
12:28:38: Compiler error: invalid parameters in Examples.material(837): setting of constant failed
12:28:39: Parsing script facial.material
12:28:39: Parsing script Glass.material
12:28:39: Parsing script GLSLSwizzle.material
12:28:39: GLSL compiled : Ogre/GPTest/Swizzle_GP_GLSLGeometry shader was successfully compiled to run on hardware.

12:28:39: GLSL compiled : Ogre/GPTest/Passthrough_VP_GLSLVertex shader was successfully compiled to run on hardware.

12:28:39: Parsing script Halftone.material
12:28:39: Parsing script hdr.material
12:28:39: GLSL compiled : Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/downscale3x3GLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/bloomGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/utils_fpFragment shader was successfully compiled to run on hardware.
12:28:39: GLSL compiled : Ogre/Compositor/HDR/finaltonemappingGLSL_fpFragment shader was successfully compiled to run on hardware.
12:28:39: Parsing script HeatVision.material
12:28:39: Parsing script Hurt.material
12:28:40: Parsing script instancing.material
12:28:40: GLSL compiled : InstancingGLSLVertex shader was successfully compiled to run on hardware.

12:28:40: GLSL compiled : InstancingShadowCasterGLSLVertex shader was successfully compiled to run on hardware.

12:28:40: GLSL compiled : CrowdGLSLVertex shader was successfully compiled to run on hardware.

12:28:40: GLSL compiled : CrowdShadowCasterGLSLVertex shader was successfully compiled to run on hardware.

12:28:40: Parsing script Invert.material
12:28:40: Parsing script IsoSurf.material
12:28:40: Problem parsing the following Cg Uniform: '@TMP0' in file Ogre/IsoSurf/TessellateTetrahedraGS
12:28:40: Parsing script Laplace.material
12:28:40: Parsing script MotionBlur.material
12:28:40: Parsing script MRTtest.material
12:28:40: GLSL compiled : Ogre/MRTtest/scenefp/GLSLFragment shader was successfully compiled to run on hardware.
12:28:40: GLSL compiled : Ogre/MRTtest/quadfp/GLSLFragment shader was successfully compiled to run on hardware.
12:28:40: Parsing script NightVision.material
12:28:40: Parsing script Ocean.material
12:28:40: GLSL compiled : GLSL/OceanVSVertex shader was successfully compiled to run on hardware.

12:28:40: GLSL compiled : GLSL/OceanFSFragment shader was successfully compiled to run on hardware.
12:28:41: Parsing script OffsetMapping.material
12:28:41: GLSL compiled : Examples/OffsetMappingIntegratedShadowsFPglslFragment shader was successfully compiled to run on hardware.
12:28:41: Parsing script Ogre.material
12:28:41: Parsing script OldMovie.material
12:28:41: Parsing script OldTV.material
12:28:41: Parsing script ParticleGS.material
12:28:41: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:41: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\..\..\ogre\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
12:28:41: Parsing script Penguin.material
12:28:41: Parsing script Posterize.material
12:28:41: Parsing script pssm.material
12:28:42: Parsing script RadialBlur.material
12:28:42: Parsing script RZR-002.material
12:28:42: Parsing script ShaderSystem.material
12:28:42: Parsing script shadows.material
12:28:42: Parsing script SharpenEdges.material
12:28:42: Parsing script sibenik.material
12:28:43: Parsing script smoke.material
12:28:43: Parsing script Tiling.material
12:28:43: Parsing script VarianceShadowmap.material
12:28:43: Parsing script RomanBath.material
12:28:43: Parsing script emitted_emitter.particle
12:28:43: Parsing script Example-Water.particle
12:28:43: Parsing script Example.particle
12:28:43: Parsing script smoke.particle
12:28:43: Parsing script Examples.compositor
12:28:44: Parsing script Examples.compositor
12:28:44: Parsing script sample.fontdef
12:28:44: Parsing script Compositor.overlay
12:28:44: Parsing script DP3.overlay
12:28:44: Parsing script Example-CubeMapping.overlay
12:28:44: Parsing script Example-DynTex.overlay
12:28:44: Parsing script Example-Water.overlay
12:28:44: Parsing script ogreodedemos.overlay
12:28:44: Texture: nisan.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
12:28:44: Parsing script Shadows.overlay
12:28:44: Finished parsing scripts for resource group General
12:28:44: Parsing scripts for resource group Internal
12:28:44: Finished parsing scripts for resource group Internal
12:28:44: Parsing scripts for resource group MyGUI
12:28:44: Finished parsing scripts for resource group MyGUI
12:28:44: TerrainSceneManager: Registered a new PageSource for type Heightmap
12:28:44: Mesh: Loading prefix.mesh.
12:28:44: WARNING: prefix.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
12:28:44: Texture: camo.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
----------Absurd ending -----------------

CodeKrash

24-01-2011 23:56:32

I noticed that nothing would work in an application I'm working on, unless I call DoEvents from the main loop thread:

if (!OgreWindow.Instance.pauserendering)
{
OgreWindow.Instance.renderingframe = true;
b = OgreWindow.Instance.mRoot.RenderOneFrame();
OgreWindow.Instance.renderingframe = false;
}
if (!b) break;
OgreWindow.Instance.doEvents();
public void doEvents()
{
if (!pauseEvents)
{
g_kb.Capture();
g_m.Capture();
System.Windows.Forms.Application.DoEvents();
}
}

unfortunately I don't know how to help you with that violation , I would begin by modifying one of the sample projects, and then copying the working code to the other project

AliAkdurak

25-01-2011 09:00:58

I seem to understand How I can separate the render target updates and do them in my main loop. What I don't get is how can I separate the form from calling the render Targets Update? Isn't it is the reason why OpenGL crashes. As those forms with embedded render windows try to update their own window ? Where as main loop should be the one to call the update off the render targets ?

AliAkdurak

26-01-2011 11:34:25

Ok I managed to convert our multi render window multi form project to something more suitable for OpenGL. It seems problems origin was really the ownership of the threads. I cant post my exact solution as it is only suitable for our project but there is some hints for those who meet with the same problem(Remember that there could be 1001 reasons causing this!).

- Simply go put
int temp = System.Threading.Thread.CurrentThread.ManagedThreadID
lines before you create your render windows and put breakpoints to the create renderwindow lines. Do this to the place where you start your rendering loop. See if they equal each other. If so your problem is something else.

- Be careful about creating the renderwindows inside the forms codes as if you use them modal there could be another thread reaching and creating them. For this we inherited form system.panel and add our mogre-panel hybrid to the control as a normal control where the usual work of getting the handle and creating the renderwindow was done in its constructor.

AliAkdurak

31-01-2011 07:03:17

- I have bumbed into some others problems too. It seems that you cannot isolate the render system interaction in a single thread and keep your root and scenemanager creation in a seperate thread. I am not %100 sure but it seems to me like this was not possible. You will get Hardware buffer manager exceptions when you try to create an entity if you try something like this.

- After root singleton reach given problems about cross thread working. I decided to move my render system entierly to a different thread which constanly runs and syncs with semaphores and two queues and a simple flag based states. If anyone get interested to do some multi render window - multi display work I can explain it further.

- Another little(and probably non important.) tip is if you lost your ogre log in the process of carrying the render system to a different thread that is because C# newly created thread does not have the same rights like the "Main Thread". Simple but uncool solution is to create an app manifest and setting it to get administrator rights for your main thread that way everyone will be created with elevated rights as your main thread is now more than a simple application.