Can't see textures etc

skruedims

02-11-2008 13:56:10

Hi all,
First.. wow.. This addon looks great! Great Job!!!

But i have som problems running the examples:
When I try to run the examples in PagedGeometry it doesn't show any textures, and the colors are greenish.
Here is a screenshot:



I'm running on Ubuntu with the newest ogre (shoggoth) (I've also tried running the samples with the older ogre with same result).

Im using ATI MOBILITY RADEON X600 with the binary drivers from ati.
Is it because the card can't handle this or am i missing somthing?


Here is the generated log:


14:45:01: Creating resource group General
14:45:01: Creating resource group Internal
14:45:01: Creating resource group Autodetect
14:45:01: SceneManagerFactory for type 'DefaultSceneManager' registered.
14:45:01: Registering ResourceManager for type Material
14:45:01: Registering ResourceManager for type Mesh
14:45:01: Registering ResourceManager for type Skeleton
14:45:01: MovableObjectFactory for type 'ParticleSystem' registered.
14:45:01: OverlayElementFactory for type Panel registered.
14:45:01: OverlayElementFactory for type BorderPanel registered.
14:45:01: OverlayElementFactory for type TextArea registered.
14:45:01: Registering ResourceManager for type Font
14:45:01: ArchiveFactory for archive type FileSystem registered.
14:45:01: ArchiveFactory for archive type Zip registered.
14:45:01: FreeImage version: 3.10.0
14:45:01: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
14:45:01: 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
14:45:01: DDS codec registering
14:45:01: Registering ResourceManager for type HighLevelGpuProgram
14:45:01: Registering ResourceManager for type Compositor
14:45:01: MovableObjectFactory for type 'Entity' registered.
14:45:01: MovableObjectFactory for type 'Light' registered.
14:45:01: MovableObjectFactory for type 'BillboardSet' registered.
14:45:01: MovableObjectFactory for type 'ManualObject' registered.
14:45:01: MovableObjectFactory for type 'BillboardChain' registered.
14:45:01: MovableObjectFactory for type 'RibbonTrail' registered.
14:45:01: *-*-* OGRE Initialising
14:45:01: *-*-* Version 1.6.0RC1 (Shoggoth)
14:45:01: Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager
14:45:01: Installing plugin: Cg Program Manager
14:45:01: Plugin successfully installed
14:45:01: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager
14:45:01: Installing plugin: Octree & Terrain Scene Manager
14:45:01: Plugin successfully installed
14:45:01: Loading library /usr/local/lib/OGRE/RenderSystem_GL
14:45:01: Installing plugin: GL RenderSystem
14:45:01: OpenGL Rendering Subsystem created.
14:45:02: Plugin successfully installed
14:45:04: CPU Identifier & Features
14:45:04: -------------------------
14:45:04: * CPU ID: GenuineIntel: Intel(R) Pentium(R) M processor 1.86GHz
14:45:04: * SSE: yes
14:45:04: * SSE2: yes
14:45:04: * SSE3: no
14:45:04: * MMX: yes
14:45:04: * MMXEXT: yes
14:45:04: * 3DNOW: no
14:45:04: * 3DNOWEXT: no
14:45:04: * CMOV: yes
14:45:04: * TSC: yes
14:45:04: * FPU: yes
14:45:04: * PRO: no
14:45:04: * HT: no
14:45:04: -------------------------
14:45:04: ******************************
*** Starting GLX Subsystem ***
******************************
14:45:04: GLRenderSystem::_createRenderWindow "PagedGeometry Example 1 - TreeLoader3D", 800x600 windowed miscParams: FSAA=4 displayFrequency=60 MHz gamma= vsync=Yes
14:45:04: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
14:45:04: GLXWindow::create used FBConfigID = 55
14:45:04: GL_VERSION = 2.1.8087 Release
14:45:04: GL_VENDOR = ATI Technologies Inc.
14:45:04: GL_RENDERER = ATI MOBILITY RADEON X600
14:45:04: GL_EXTENSIONS = GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex 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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression 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_transpose_matrix 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_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra 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_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters 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_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_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
14:45:04: Supported GLX extensions: GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_visual_select_group
14:45:04: ***************************
14:45:04: *** GL Renderer Started ***
14:45:04: ***************************
14:45:04: Registering ResourceManager for type GpuProgram
14:45:04: GLSL support detected
14:45:04: GL: Using framebuffer copy for rendering to textures (worst)
14:45:04: GL: Warning: RenderTexture size is restricted to size of framebuffer. If you are on Linux, consider using GLX instead of SDL.
14:45:04: RenderSystem capabilities
14:45:04: -------------------------
14:45:04: RenderSystem Name: OpenGL Rendering Subsystem
14:45:04: GPU Vendor: ati
14:45:04: Device Name: ATI MOBILITY RADEON X600
14:45:04: Driver Version: 2.1.8087.0
14:45:04: * Fixed function pipeline: yes
14:45:04: * Hardware generation of mipmaps: yes
14:45:04: * Texture blending: yes
14:45:04: * Anisotropic texture filtering: yes
14:45:04: * Dot product texture operation: yes
14:45:04: * Cube mapping: yes
14:45:04: * Hardware stencil buffer: yes
14:45:04: - Stencil depth: 8
14:45:04: - Two sided stencil support: yes
14:45:04: - Wrap stencil values: yes
14:45:04: * Hardware vertex / index buffers: yes
14:45:04: * Vertex programs: yes
14:45:04: * Fragment programs: yes
14:45:04: * Geometry programs: no
14:45:04: * Supported Shader Profiles: arbfp1 arbvp1 glsl ps_1_1 ps_1_2 ps_1_3 ps_1_4
14:45:04: * Texture Compression: yes
14:45:04: - DXT: yes
14:45:04: - VTC: no
14:45:04: * Scissor Rectangle: yes
14:45:04: * Hardware Occlusion Query: yes
14:45:04: * User clip planes: yes
14:45:04: * VET_UBYTE4 vertex element type: yes
14:45:04: * Infinite far plane projection: yes
14:45:04: * Hardware render-to-texture: yes
14:45:04: * Floating point textures: yes
14:45:04: * Non-power-of-two textures: yes
14:45:04: * Volume textures: yes
14:45:04: * Multiple Render Targets: 1
14:45:04: - With different bit depths: yes
14:45:04: * Point Sprites: yes
14:45:04: * Extended point parameters: yes
14:45:04: * Max Point Size: 8192
14:45:04: * Vertex texture fetch: no
14:45:04: * Render to Vertex Buffer : no
14:45:04: * GL 1.5 without VBO workaround: no
14:45:04: * Frame Buffer objects: yes
14:45:04: * Frame Buffer objects (ARB extension): no
14:45:04: * Frame Buffer objects (ATI extension): no
14:45:04: * PBuffer suppport: no
14:45:04: * GL 1.5 without HW-occlusion workaround: no
14:45:04: Registering ResourceManager for type Texture
14:45:04: Using FSAA from GL_ARB_multisample extension.
14:45:04: ResourceBackgroundQueue - threading disabled
14:45:04: Particle Renderer Type 'billboard' registered
14:45:04: SceneManagerFactory for type 'OctreeSceneManager' registered.
14:45:04: SceneManagerFactory for type 'TerrainSceneManager' registered.
14:45:04: TerrainSceneManager: Registered a new PageSource for type Heightmap
14:45:04: Added resource location '../../media/trees' of type 'FileSystem' to resource group 'General'
14:45:04: Added resource location '../../media/terrains' of type 'FileSystem' to resource group 'General'
14:45:04: Added resource location '../../media/grass' of type 'FileSystem' to resource group 'General'
14:45:04: Parsing scripts for resource group Autodetect
14:45:04: Finished parsing scripts for resource group Autodetect
14:45:04: Parsing scripts for resource group General
14:45:04: Parsing script tree.material
14:45:04: Parsing script grass.material
14:45:04: Finished parsing scripts for resource group General
14:45:04: Parsing scripts for resource group Internal
14:45:04: Finished parsing scripts for resource group Internal
14:45:04: TerrainSceneManager: Activated PageSource Heightmap
14:45:04: Texture: terrain_texture.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
14:45:04: Texture: terrain_detail.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
14:45:11: Mesh: Loading tree2.mesh.
14:45:11: WARNING: tree2.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
14:45:11: Texture: wood7.jpg: Loading 1 faces(PF_R8G8B8,600x600x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,600x600x1.
14:45:11: Texture: Leaves.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
14:45:12: Creating resource group BinFolder
14:45:12: Added resource location '.' of type 'FileSystem' to resource group 'BinFolder'
14:45:12: Texture: Impostor.HKSHDSOJOKUYFPGCRGIKVPHHWDUCIZTF.128.png: Loading 1 faces(PF_A8R8G8B8,1024x512x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x512x1.
14:45:39: *-*-* OGRE Shutdown
14:45:39: Unregistering ResourceManager for type Compositor
14:45:39: Unregistering ResourceManager for type Font
14:45:39: Unregistering ResourceManager for type Skeleton
14:45:39: Unregistering ResourceManager for type Mesh
14:45:39: Unregistering ResourceManager for type HighLevelGpuProgram
14:45:39: Uninstalling plugin: GL RenderSystem
14:45:39: Unregistering ResourceManager for type GpuProgram
14:45:39: ******************************
*** Stopping GLX Subsystem ***
******************************
14:45:39: Unregistering ResourceManager for type Texture
14:45:39: Plugin successfully uninstalled
14:45:39: Unloading library /usr/local/lib/OGRE/RenderSystem_GL
14:45:39: Uninstalling plugin: Octree & Terrain Scene Manager
14:45:39: Plugin successfully uninstalled
14:45:39: Unloading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager
14:45:39: Uninstalling plugin: Cg Program Manager
14:45:39: Plugin successfully uninstalled
14:45:39: Unloading library /usr/local/lib/OGRE/Plugin_CgProgramManager
14:45:39: Unregistering ResourceManager for type Material
[/log]

JohnJ

05-11-2008 18:13:20

Whoa, that's... interesting :?

It looks like your driver / video card is having a serious issue with Ogre at least, but I have a feeling this has nothing to do with PagedGeometry (although maybe it's triggered by it?) As you can see the Ogre-managed terrain is messed up as well as the trees, which leads me to suspect this.

How do the Ogre samples work? Something like this is definitely a driver bug or something, but the question is what's causing it.

(Sorry about the late response)

skruedims

06-11-2008 10:06:41

Whoa, that's... interesting :?

It looks like your driver / video card is having a serious issue with Ogre at least, but I have a feeling this has nothing to do with PagedGeometry (although maybe it's triggered by it?) As you can see the Ogre-managed terrain is messed up as well as the trees, which leads me to suspect this.

How do the Ogre samples work? Something like this is definitely a driver bug or something, but the question is what's causing it.


Hi JohnJ
All the ogre examples looks fine. (also the landscape example)
I'll try to tweak around with my driver and see what i can find out. I'll also try to create a small example with pagedgeometry to see if I can tweak something.

(Sorry about the late response)
Don't be sorry about that. :)