Page 1 of 1

Materials missing

Posted: Mon Mar 15, 2010 11:25 pm
by fastcall22
Hi,

I've just barely gotten my feet wet with Ogre, and I'm quite impressed how quickly I can get things up and running. Unfortunately, I'm having some "missing material" problems. I created a simple level with 3dsmax (rendering here). In total, I have four materials: "grid", "side", "solid", and "goal". I then use OgreMax to export the level mesh, and then code the material scripts by hand. Unfortunately, when I load the mesh object, I get a Can't assign material xxx to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script? for each of my materials. The resulting mesh is entirely white. The odd thing is that the material file containing the materials for the level mesh is in the same directory as the level itself!

resources.cfg:

Code: Select all

FileSystem=./levels/
FileSystem=./materials/
FileSystem=./textures/
level1.material:

Code: Select all

material solid {
	technique {
		pass {
			ambient 1 0.50 0 1
			diffuse 1 0.62 0.25 1
			specular 0.90 0.90 0.90 1 20
		}
	}
}

material grid {
	technique {
		pass {
			ambient 0.70 0.70 0.70 1
			diffuse 0.70 0.70 0.70 1
			specular 0.70 0.70 0.70 1 20

			texture_unit {
				texture grid.png
				filtering linear linear linear
			}
		}
	}
}

material goal {
	technique {
		pass {
			ambient 0 1 1 0.5
			diffuse 0.50 1.00 1 0.5
			specular 0.90 0.90 0.90 0.5 20
			emissive 0 0 0 0.5
		}
	}
}

material side {
	technique {
		pass {
			ambient 1 0.50 0 1
			diffuse 0.75 0.75 0.75 1
			specular 1 1 1 1 20
			scene_blend add
			light_scissor on
			light_clip_planes on

			texture_unit {
				texture siding.png
				filtering linear linear linear
			}
		}
	}
}
Ogre.log:

Code: Select all

16:42:26: Creating resource group General
16:42:26: Creating resource group Internal
16:42:26: Creating resource group Autodetect
16:42:26: SceneManagerFactory for type 'DefaultSceneManager' registered.
16:42:26: Registering ResourceManager for type Material
16:42:26: Registering ResourceManager for type Mesh
16:42:26: Registering ResourceManager for type Skeleton
16:42:26: MovableObjectFactory for type 'ParticleSystem' registered.
16:42:26: OverlayElementFactory for type Panel registered.
16:42:26: OverlayElementFactory for type BorderPanel registered.
16:42:26: OverlayElementFactory for type TextArea registered.
16:42:26: Registering ResourceManager for type Font
16:42:26: ArchiveFactory for archive type FileSystem registered.
16:42:26: ArchiveFactory for archive type Zip registered.
16:42:26: DDS codec registering
16:42:26: FreeImage version: 3.13.1
16:42:26: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
16:42:26: 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
16:42:26: Registering ResourceManager for type HighLevelGpuProgram
16:42:26: Registering ResourceManager for type Compositor
16:42:26: MovableObjectFactory for type 'Entity' registered.
16:42:26: MovableObjectFactory for type 'Light' registered.
16:42:26: MovableObjectFactory for type 'BillboardSet' registered.
16:42:26: MovableObjectFactory for type 'ManualObject' registered.
16:42:26: MovableObjectFactory for type 'BillboardChain' registered.
16:42:26: MovableObjectFactory for type 'RibbonTrail' registered.
16:42:26: Loading library .\RenderSystem_Direct3D9
16:42:26: Installing plugin: D3D9 RenderSystem
16:42:26: D3D9 : Direct3D9 Rendering Subsystem created.
16:42:26: D3D9: Driver Detection Starts
16:42:26: D3D9: Driver Detection Ends
16:42:26: Plugin successfully installed
16:42:26: Loading library .\RenderSystem_GL
16:42:26: Installing plugin: GL RenderSystem
16:42:26: OpenGL Rendering Subsystem created.
16:42:27: Plugin successfully installed
16:42:27: *-*-* OGRE Initialising
16:42:27: *-*-* Version 1.7.0 (Cthugha)
16:42:27: Creating resource group
16:42:27: Added resource location './levels/' of type 'FileSystem' to resource group ''
16:42:27: Added resource location './materials/' of type 'FileSystem' to resource group ''
16:42:27: Added resource location './textures/' of type 'FileSystem' to resource group ''
16:42:27: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
16:42:27: D3D9 : RenderSystem Option: FSAA = 0
16:42:27: D3D9 : RenderSystem Option: Floating-point mode = Fastest
16:42:27: D3D9 : RenderSystem Option: Full Screen = Yes
16:42:27: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-ATI Radeon HD 3850
16:42:27: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
16:42:27: D3D9 : RenderSystem Option: VSync = No
16:42:27: D3D9 : RenderSystem Option: VSync Interval = 1
16:42:27: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
16:42:27: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
16:42:27: CPU Identifier & Features
16:42:27: -------------------------
16:42:27:  *   CPU ID: AuthenticAMD: AMD Phenom(tm) II X4 955 Processor
16:42:27:  *      SSE: yes
16:42:27:  *     SSE2: yes
16:42:27:  *     SSE3: yes
16:42:27:  *      MMX: yes
16:42:27:  *   MMXEXT: yes
16:42:27:  *    3DNOW: yes
16:42:27:  * 3DNOWEXT: yes
16:42:27:  *     CMOV: yes
16:42:27:  *      TSC: yes
16:42:27:  *      FPU: yes
16:42:27:  *      PRO: yes
16:42:27:  *       HT: no
16:42:27: -------------------------
16:42:27: *** Starting Win32GL Subsystem ***
16:42:27: GLRenderSystem::_createRenderWindow "Marble Run", 1024x768 windowed  miscParams: FSAA=0 FSAAHint= colourDepth=32 displayFrequency=0 gamma=false vsync=false vsyncInterval=1 
16:42:27: Created Win32Window 'Marble Run' : 1040x806, 32bpp
16:42:27: GL_VERSION = 2.1.9026
16:42:27: GL_VENDOR = ATI Technologies Inc.
16:42:27: GL_RENDERER = ATI Radeon HD 3850
16:42:27: GL_EXTENSIONS = GL_AMDX_vertex_shader_tessellator GL_AMD_draw_buffers_blend GL_AMD_performance_monitor GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_instanced 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_instanced_arrays GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_snorm GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader 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_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_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_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_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_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
16:42:27: 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 
16:42:27: ***************************
16:42:27: *** GL Renderer Started ***
16:42:27: ***************************
16:42:27: Registering ResourceManager for type GpuProgram
16:42:27: GLSL support detected
16:42:27: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
16:42:27: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:27: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
16:42:28: [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 
16:42:28: RenderSystem capabilities
16:42:28: -------------------------
16:42:28: RenderSystem Name: OpenGL Rendering Subsystem
16:42:28: GPU Vendor: ati
16:42:28: Device Name: ATI Radeon HD 3850
16:42:28: Driver Version: 2.1.9026.0
16:42:28:  * Fixed function pipeline: yes
16:42:28:  * Hardware generation of mipmaps: yes
16:42:28:  * Texture blending: yes
16:42:28:  * Anisotropic texture filtering: yes
16:42:28:  * Dot product texture operation: yes
16:42:28:  * Cube mapping: yes
16:42:28:  * Hardware stencil buffer: yes
16:42:28:    - Stencil depth: 8
16:42:28:    - Two sided stencil support: yes
16:42:28:    - Wrap stencil values: yes
16:42:28:  * Hardware vertex / index buffers: yes
16:42:28:  * Vertex programs: yes
16:42:28:  * Number of floating-point constants for vertex programs: 512
16:42:28:  * Number of integer constants for vertex programs: 0
16:42:28:  * Number of boolean constants for vertex programs: 0
16:42:28:  * Fragment programs: yes
16:42:28:  * Number of floating-point constants for fragment programs: 512
16:42:28:  * Number of integer constants for fragment programs: 0
16:42:28:  * Number of boolean constants for fragment programs: 0
16:42:28:  * Geometry programs: yes
16:42:28:  * Number of floating-point constants for geometry programs: 512
16:42:28:  * Number of integer constants for geometry programs: 0
16:42:28:  * Number of boolean constants for geometry programs: 0
16:42:28:  * Supported Shader Profiles: arbfp1 arbvp1 glsl gp4gp gpu_gp nvgp4 ps_1_1 ps_1_2 ps_1_3 ps_1_4
16:42:28:  * Texture Compression: yes
16:42:28:    - DXT: yes
16:42:28:    - VTC: no
16:42:28:    - PVRTC: no
16:42:28:  * Scissor Rectangle: yes
16:42:28:  * Hardware Occlusion Query: yes
16:42:28:  * User clip planes: yes
16:42:28:  * VET_UBYTE4 vertex element type: yes
16:42:28:  * Infinite far plane projection: yes
16:42:28:  * Hardware render-to-texture: yes
16:42:28:  * Floating point textures: yes
16:42:28:  * Non-power-of-two textures: yes
16:42:28:  * Volume textures: yes
16:42:28:  * Multiple Render Targets: 8
16:42:28:    - With different bit depths: yes
16:42:28:  * Point Sprites: yes
16:42:28:  * Extended point parameters: yes
16:42:28:  * Max Point Size: 8192
16:42:28:  * Vertex texture fetch: yes
16:42:28:  * Number of world matrices: 0
16:42:28:  * Number of texture units: 16
16:42:28:  * Stencil buffer depth: 8
16:42:28:  * Number of vertex blend matrices: 0
16:42:28:    - Max vertex textures: 16
16:42:28:    - Vertex textures shared: yes
16:42:28:  * Render to Vertex Buffer : no
16:42:28:  * GL 1.5 without VBO workaround: no
16:42:28:  * Frame Buffer objects: yes
16:42:28:  * Frame Buffer objects (ARB extension): no
16:42:28:  * Frame Buffer objects (ATI extension): no
16:42:28:  * PBuffer support: no
16:42:28:  * GL 1.5 without HW-occlusion workaround: no
16:42:28: Registering ResourceManager for type Texture
16:42:28: DefaultWorkQueue('Root') initialising on thread 0090B668.
16:42:28: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A108 starting.
16:42:28: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A178 starting.
16:42:28: Particle Renderer Type 'billboard' registered
16:42:28: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A4E0 starting.
16:42:28: DefaultWorkQueue('Root')::WorkerFunc - thread 0092CD60 starting.
16:42:28: Mesh: Loading level1.mesh.
16:42:28: Can't assign material side to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script?
16:42:28: Can't assign material solid to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script?
16:42:28: Can't assign material grid to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script?
16:42:28: Can't assign material goal to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script?
16:42:28: Can't assign material side to SubEntity of level because this Material does not exist. Have you forgotten to define it in a .material script?
16:42:39: DefaultWorkQueue('Root') shutting down on thread 0090B668.
16:42:39: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A108 stopped.
16:42:39: DefaultWorkQueue('Root')::WorkerFunc - thread 0092CD60 stopped.
16:42:39: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A4E0 stopped.
16:42:39: DefaultWorkQueue('Root')::WorkerFunc - thread 0092A178 stopped.
16:42:39: *-*-* OGRE Shutdown
16:42:39: Unregistering ResourceManager for type Compositor
16:42:39: Unregistering ResourceManager for type Font
16:42:39: Unregistering ResourceManager for type Skeleton
16:42:39: Unregistering ResourceManager for type Mesh
16:42:39: Unregistering ResourceManager for type HighLevelGpuProgram
16:42:39: Uninstalling plugin: GL RenderSystem
16:42:39: Unregistering ResourceManager for type GpuProgram
16:42:39: *** Stopping Win32GL Subsystem ***
16:42:39: Unregistering ResourceManager for type Texture
16:42:39: Plugin successfully uninstalled
16:42:39: Unloading library .\RenderSystem_GL
16:42:39: Uninstalling plugin: D3D9 RenderSystem
16:42:39: D3D9 : Shutting down cleanly.
16:42:39: D3D9 : Direct3D9 Rendering Subsystem destroyed.
16:42:39: Plugin successfully uninstalled
16:42:39: Unloading library .\RenderSystem_Direct3D9
16:42:39: Unregistering ResourceManager for type Material
Any ideas?

Re: Materials missing

Posted: Tue Mar 16, 2010 1:43 am
by N0vember
You probably forgot to call ResourceGroupManager::initialiseAllResourceGroups() !

Re: Materials missing

Posted: Tue Mar 16, 2010 5:05 am
by fastcall22
Thanks a million! Works like a charm! ;)