Linux no meshes in samples CVS

Problems building or running the engine, queries about how to use features etc.
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Linux no meshes in samples CVS

Post by MadLion »

Hi,

i'm using linux and the last CVS.
If i run the sample apps e.g. CameraTrack or Shadows. I didn't see any meshes (e.g. ogrehead.mesh).
See CameraTrack here or Shadows here.

Any ideas?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

It works OK here. Can you paste your ogre.log?
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

Sure here it is.

Code: Select all

21:24:04: Creating resource group General
21:24:04: Registering ResourceManager for type Material
21:24:04: Registering ResourceManager for type Mesh
21:24:04: Registering ResourceManager for type Skeleton
21:24:04: Loading library libOgrePlatform.so
21:24:04: OverlayElementFactory for type Panel registered.
21:24:04: OverlayElementFactory for type BorderPanel registered.
21:24:04: OverlayElementFactory for type TextArea registered.
21:24:04: Registering ResourceManager for type Font
21:24:04: ArchiveFactory for archive type FileSystem registered.
21:24:04: ArchiveFactory for archive type Zip registered.
21:24:04: DevIL version: Developer's Image Library (DevIL) 1.6.7 Dec  6 2004
21:24:04: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
21:24:04: Registering ResourceManager for type HighLevelGpuProgram
21:24:04: Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
21:24:04: OpenGL Rendering Subsystem created.
21:24:04: Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
21:24:04: Particle Emitter Type 'Point' registered
21:24:04: Particle Emitter Type 'Box' registered
21:24:04: Particle Emitter Type 'Ellipsoid' registered
21:24:04: Particle Emitter Type 'Cylinder' registered
21:24:04: Particle Emitter Type 'Ring' registered
21:24:04: Particle Emitter Type 'HollowEllipsoid' registered
21:24:04: Particle Affector Type 'LinearForce' registered
21:24:04: Particle Affector Type 'ColourFader' registered
21:24:04: Particle Affector Type 'ColourFader2' registered
21:24:04: Particle Affector Type 'ColourImage' registered
21:24:04: Particle Affector Type 'ColourInterpolator' registered
21:24:04: Particle Affector Type 'Scaler' registered
21:24:04: Particle Affector Type 'Rotator' registered
21:24:04: Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
21:24:04: Registering ResourceManager for type BspLevel
21:24:04: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
21:24:04: TerrainSceneManager: Registered a new PageSource for type Heightmap
21:24:04: Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
21:24:04: *-*-* OGRE Initialising
21:24:04: *-*-* Version 1.0.0 (Azathoth)
21:24:04: Creating resource group Bootstrap
21:24:04: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
21:24:04: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
21:24:04: Added resource location '../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
21:24:06: ******************************
*** Starting SDL Subsystem ***
******************************
21:24:07: GL_VERSION = 1.3.4769 (X4.3.0-8.8.25)
21:24:07: GL_VENDOR = ATI Technologies Inc.
21:24:07: GL_RENDERER = RADEON 9600 XT Generic
21:24:07: GL_EXTENSIONS = GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query 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_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays 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_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp 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_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SUN_multi_draw_arrays 
21:24:07: ***************************
*** GL Renderer Started ***
***************************
21:24:07: Registering ResourceManager for type GpuProgram
21:24:07: GLSL support detected
21:24:07: RenderSystem capabilities
21:24:07: -------------------------
21:24:07:  * Hardware generation of mipmaps: no
21:24:07:  * Texture blending: yes
21:24:07:  * Anisotropic texture filtering: yes
21:24:07:  * Dot product texture operation: yes
21:24:07:  * Cube mapping: yes
21:24:07:  * Hardware stencil buffer: yes
21:24:07:    - Stencil depth: 8
21:24:07:    - Two sided stencil support: no
21:24:07:    - Wrap stencil values: yes
21:24:07:  * Hardware vertex / index buffers: yes
21:24:07:  * Vertex programs: yes
21:24:07:    - Max vertex program version: arbvp1
21:24:07:  * Fragment programs: yes
21:24:07:    - Max fragment program version: arbfp1
21:24:07:  * Texture Compression: yes
21:24:07:    - DXT: yes
21:24:07:    - VTC: no
21:24:07:  * Scissor Rectangle: yes
21:24:07:  * Hardware Occlusion Query: yes
21:24:07:  * User clip planes: yes
21:24:07:  * VET_UBYTE4 vertex element type: yes
21:24:07:  * Infinite far plane projection: yes
21:24:07:  * Hardware render-to-texture: no
21:24:07:  * Floating point textures: yes
21:24:07:  * Non-power-of-two textures: no
21:24:07: Registering ResourceManager for type Texture
21:24:07: ResourceBackgroundQueue - threading disabled
21:24:07: Particle Renderer Type 'billboard' registered
21:24:07: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
21:24:07: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 832 H: 624
21:24:07: Parsing scripts for resource group Bootstrap
21:24:07: Parsing script OgreCore.material
21:24:07: Parsing script OgreProfiler.material
21:24:07: Parsing script Ogre.fontdef
21:24:07: Parsing script OgreDebugPanel.overlay
21:24:07: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 5 generated mipmaps from Image.
21:24:07: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 5 generated mipmaps from Image.
21:24:07: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image.
21:24:07: Font TrebuchetMSBoldusing texture size 512x512
21:24:07: Info: Freetype returned null for character 160 in font TrebuchetMSBold
21:24:07: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_A8R8G8B8,512x512x1) with 0 generated mipmaps from Image.
21:24:07: Texture: New_Ogre_Logo.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 5 generated mipmaps from Image.
21:24:07: Parsing script OgreLoadingPanel.overlay
21:24:07: Finished parsing scripts for resource group Bootstrap
21:24:07: Parsing scripts for resource group General
21:24:07: Parsing script Examples.program
21:24:07: Parsing script Example-DynTex.material
21:24:07: Parsing script Examples-Advanced.material
21:24:08: Parsing script Ogre.material
21:24:08: Parsing script OffsetMapping.material
21:24:08: Parsing script smoke.material
21:24:08: Parsing script Example-Water.material
21:24:08: Parsing script RZR-002.material
21:24:08: Parsing script Example.material
21:24:08: Parsing script fresnelenviron.material
21:24:08: Parsing script sample.fontdef
21:24:08: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
21:24:08: Parsing script Example.particle
21:24:08: Parsing script Example-Water.particle
21:24:08: Parsing script smoke.particle
21:24:08: Parsing script Example-CubeMapping.overlay
21:24:08: Parsing script Shadows.overlay
21:24:08: Parsing script Example-Water.overlay
21:24:08: Parsing script Example-DynTex.overlay
21:24:08: Parsing script DP3.overlay
21:24:08: Finished parsing scripts for resource group General
21:24:08: Texture: clouds.jpg: Loading 1 faces(PF_B8G8R8,256x256x1) with 5 generated mipmaps from Image.
21:24:08: Texture: RustySteel.jpg: Loading 1 faces(PF_B8G8R8,256x256x1) with 5 generated mipmaps from Image.
21:24:08: Mesh: Loading ogrehead.mesh.
21:24:08: Texture: WeirdEye.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 5 generated mipmaps from Image.
21:24:08: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 generated mipmaps from Image.
21:24:16: *-*-* OGRE Shutdown
21:24:16: Unregistering ResourceManager for type Font
21:24:16: Unregistering ResourceManager for type Skeleton
21:24:16: Unregistering ResourceManager for type Mesh
21:24:16: Unregistering ResourceManager for type HighLevelGpuProgram
21:24:16: Unloading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
21:24:16: Unloading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
21:24:16: Unregistering ResourceManager for type BspLevel
21:24:16: Unloading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
21:24:16: Unloading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
21:24:16: Render Target 'OGRE Render Window' Average FPS: 124.046 Best FPS: 133.136 Worst FPS: 97.9021
21:24:16: Unregistering ResourceManager for type GpuProgram
21:24:16: ******************************
*** Stopping SDL Subsystem ***
******************************
21:24:16: Unregistering ResourceManager for type Texture
21:24:16: Unloading library /usr/local/lib/OGRE/RenderSystem_GL.so
21:24:16: Unregistering ResourceManager for type Material
21:24:16: Unloading library libOgrePlatform.so
Another think... SkeletalAnimation dosn't work too.

Code: Select all

Mesh: Loading robot.mesh.
Texture: r2skin.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 5 generated mipmaps from Image.
An exception has occured: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: Entity::getAnimationState
Description: Entity is not animated.
File: OgreEntity.cpp
Line: 420
Stack unwinding: <<beginning of stack>>*-*-* OGRE Shutdown
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

I also checked it on another machine (notebook) with same results.

Both machines running Fedora Core 3. One machine with ATI radeon 9600XT and the other nvidia gforce 4, i think.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

I still cannot reproduce this; I'll try with the new ATI drivers in a minute.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

For some reason it can't even make a GL vertex buffer anymore now that I've installed those new drivers and recompiled. What a fun.
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

That's strange... but why doesn't it work for nvidia too?

If i'm back home in same hours i will try Ogre 0.15.2.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Turned out to be a gentoo problem; it was linking against the x11 GL instead of the ATI one. All problems appear to be solved now. I don't understand where your problem is coming from.
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

Hm... i think i have installed freeglut-2.2.0-14.i386.rpm. Maybe it's the problem?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

The glut version doesn't matter for OGRE, it doesn't use that
Can you paste the output of glxinfo?

And I see you're using SDL; please try also with the GLX system (--with-gl-support=GLX --with-platform=GLX)
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

:wumpus: wrote:Can you paste the output of glxinfo?
Of course, here it is.

Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 XT Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_multisample, GL_ARB_occlusion_query, 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_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
    GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ATI_draw_buffers,
    GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,
    GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
    GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
    GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
    GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    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_texgen_reflection,
    GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    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_vertex_array, GL_EXT_vertex_shader,
    GL_HP_occlusion_test, GL_NV_texgen_reflection, GL_NV_blend_square,
    GL_NV_occlusion_query, GL_SGI_color_matrix, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod,
    GL_SGIS_generate_mipmap, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
:wumpus: wrote: And I see you're using SDL; please try also with the GLX system (--with-gl-support=GLX --with-platform=GLX)
Yes i did this too with same results on both machines (notebook and desktop pc).
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

I was testing Ogre 0.15.2 and there it works.

What is the different?
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

No ideas on this? :(
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

It is still the case with latest CVS?

Very very weird, I have no idea really as it happens both on a NV and an ATI card so it can be no driver sissue. It works ok on all my machines though.
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

:wumpus: wrote:It is still the case with latest CVS?
With CVS of yesterday, yes. :(
:wumpus: wrote: Very very weird, I have no idea really as it happens both on a NV and an ATI card so it can be no driver sissue. It works ok on all my machines though.
I agree very very weird. The only think both have same is the linux OS fedora core 3.
I'm confused. :?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

What's your gcc version?
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

I think gcc 3.4.2 but i'm not sure as i'm not at home to check exactly.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

That's the only reason I can think of that our results differ. But it still makes little sense afaik there are more people using gcc 3.4.x with ogre.
User avatar
_mental_
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 419
Joined: Mon Jan 27, 2003 11:51 pm
Location: The Woodlands, TX

Post by _mental_ »

I got something similar on the AMD64 port before I sorted out the serializer issues, but it works fine at the moment.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

*reads "migrating gentoo to gcc 3.4"*
User avatar
_mental_
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 419
Joined: Mon Jan 27, 2003 11:51 pm
Location: The Woodlands, TX

Post by _mental_ »

I tried using both g++ 3.3,5 & 3.4.4 (on AMD64) and both worked fine for me. I'm only able to try this on my NVidia card atm
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

AMD XP3000 32 bit here, upgraded to 3.4.3, linked to ati GL drivers and I have the problem too. The world is empty and meshless, At least I can reproduce it now.

Manually defined meshes seem to work great ,but ones loaded from .mesh format don't. I also get the AnimationState exception in some demos.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67

Post by sinbad »

Sounds like a serializer issue. The only changes to the serializer in HEAD over 0.15.2 are the AMD64 compatibility, and they work fine everywhere else - perhaps try rolling back the serializer until you don't get the problem anymore to figure it out?

Weird that there are no issues on other versions of gcc though. Might be worth trying gcc 3.4.4 incase it's a gcc bug, I hear there were major changes in gcc 3.4 over 3.3 which perhaps weren't all solved in earlier point releases?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

It wasn't a gcc bug or a MeshSerializer one; the DataStream::skip was misdefined to take a size_t although it should be a signed size (ssize_t). MeshSerializer makes extensive use of this to skip back into the stream.

Anyway, this is solved in latest CVS :)
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

Great news! ^^
Now i have to wait for the anonymous CVS update.

Big thanks so far!