Ragdoll Demo Erros, ugh.

twilight17

04-09-2007 18:40:05

Whenever I try to run the ragdoll demo, it starts up, I can see the zombie, I can hit Spacebar to throw a sphere, but as soon as I hit 1 or 2 to make a solid object, I get this error:



Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library ../../plugins\Plugin_BSPSceneManager.dll
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library ../../plugins\Plugin_OctreeSceneManager.dll
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
Loading library ../../plugins\Plugin_CgProgramManager.dll
Installing plugin: Cg Program Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.4.4 (Eihort)
Added resource location '../Media/fonts' of type 'FileSystem' to resource group
'General'
Added resource location '../Media/gui' of type 'FileSystem' to resource group 'G
eneral'
Added resource location '../Media/newtMedia/materials/scripts' of type 'FileSyst
em' to resource group 'General'
Added resource location '../media/newtMedia/materials/textures' of type 'FileSys
tem' to resource group 'General'
Added resource location '../Media/newtMedia/models' of type 'FileSystem' to reso
urce group 'General'
Added resource location '../Media/newtMedia/primitives' of type 'FileSystem' to
resource group 'General'
Added resource location '../media/newtMedia/packs/OgreCore.zip' of type 'Zip' to
resource group 'General'
Added resource location '../media/newtMedia/packs/cubemapsJS.zip' of type 'Zip'
to resource group 'General'
D3D9 : RenderSystem Option: Allow NVPerfHUD = No
D3D9 : RenderSystem Option: Anti aliasing = None
D3D9 : RenderSystem Option: Floating-point mode = Fastest
D3D9 : RenderSystem Option: Full Screen = No
D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 7300 GS
D3D9 : RenderSystem Option: VSync = No
D3D9 : RenderSystem Option: Video Mode = 640 x 480 @ 32-bit colour
CPU Identifier & Features
-------------------------
* CPU ID: GenuineIntel: Intel(R) Celeron(R) CPU 3.06GHz
* SSE: yes
* SSE2: yes
* SSE3: yes
* MMX: yes
* MMXEXT: yes
* 3DNOW: no
* 3DNOWEXT: no
* CMOV: yes
* TSC: yes
* FPU: yes
* PRO: yes
* HT: yes
-------------------------
*** Starting Win32GL Subsystem ***
GLRenderSystem::createRenderWindow "OGRE Render Window", 640x480 windowed miscP
arams: FSAA=0 colourDepth=32 displayFrequency=0 vsync=false
Created Win32Window 'OGRE Render Window' : 640x480, 32bpp
GL_VERSION = 2.0.3
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce 7300 GS/PCI/SSE2
GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffe
rs GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader
GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture G
L_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_
point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_
ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_A
RB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_tex
ture_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_ve
rtex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_t
exture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add 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_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EX
T_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_dep
th_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_paramete
rs GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color G
L_EXT_shadow_funcs GL_EXT_stencil_clear_tag GL_EXT_stencil_two_side GL_EXT_stenc
il_wrap 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 GL_EXT_texture_lod_bias GL_EX
T_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_qu
ery GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_
KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp
GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_
fragment_program_option GL_NV_fragment_program2 GL_NV_half_float GL_NV_light_max
_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth
_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV
_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_text
ure_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV
_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shad
er3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_N
V_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_ver
tex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_l
od GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_
EXT_swap_control
Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_AR
B_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL
_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT
_swap_control WGL_NV_float_buffer WGL_NV_render_depth_texture WGL_NV_render_text
ure_rectangle
***************************
*** GL Renderer Started ***
***************************
Registering ResourceManager for type GpuProgram
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0
FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0
FBO PF_R8G8B8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_A2R10G10B10 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_A2B10G10R10 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0
FBO PF_SHORT_RGB depth/stencil support: D0S0 D24S0 D32S0 Packed-D24S8
[GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_R8G8B8 PF_B8G8R8 PF_A
8R8G8B8 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_SHORT_RGB
RenderSystem capabilities
-------------------------
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
- Max vertex program version: vp40
* Fragment programs: yes
- Max fragment program version: fp40
* Texture Compression: yes
- DXT: yes
- VTC: yes
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: yes
* Non-power-of-two textures: yes
* Volume textures: yes
* Multiple Render Targets: 4
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 63.375
* Vertex texture fetch: yes
- Max vertex textures: 4
- Vertex textures shared: yes
Registering ResourceManager for type Texture
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
SceneManagerFactory for type 'TerrainSceneManager' registered.
SceneManagerFactory for type 'BspSceneManager' registered.
Registering ResourceManager for type BspLevel
Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerC
am', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 640 H: 480
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Parsing scripts for resource group General
Parsing script Example.material
Parsing script zombie.material
Parsing script OgreCore.material
Parsing script OgreProfiler.material
Parsing script sample.fontdef
Parsing script Arial.fontdef
Parsing script Ogre.fontdef
Parsing script OgreDebugPanel.overlay
Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with
5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128
x1.
Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 hard
ware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
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.
Font TrebuchetMSBoldusing texture size 512x512
Info: Freetype returned null for character 160 in font TrebuchetMSBold
Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with har
dware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware ge
nerated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Parsing script OgreLoadingPanel.overlay
Finished parsing scripts for resource group General
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
Texture: cloudy_noon_fr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: cloudy_noon_bk.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: cloudy_noon_lf.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: cloudy_noon_rt.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: cloudy_noon_up.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: cloudy_noon_dn.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardwar
e generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Mesh: Loading simple_terrain.mesh.
WARNING: simple_terrain.mesh is an older format ([MeshSerializer_v1.30]); you sh
ould upgrade it as soon as possible using the OgreMeshUpgrade tool.
Texture: BeachStones.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware g
enerated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Mesh: Loading zombie.mesh.
Skeleton: Loading ZOMBIE-Armature.skeleton
WARNING: zombie.mesh is an older format ([MeshSerializer_v1.30]); you should upg
rade it as soon as possible using the OgreMeshUpgrade tool.
Texture: ZOMBIE.JPG: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware genera
ted mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardw
are generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
Mesh: Loading ellipsoid.mesh.
WARNING: ellipsoid.mesh is an older format ([MeshSerializer_v1.30]); you should
upgrade it as soon as possible using the OgreMeshUpgrade tool.
Texture: dirt01.jpg: Loading 1 faces(PF_R8G8B8,96x96x1) with 5 hardware generate
d mipmaps from Image. Internal format is PF_X8R8G8B8,96x96x1.
Traceback (most recent call last):
File "Demo08_ragdoll.py", line 255, in <module>
application.go()
File "C:\Program Files\Python25\lib\site-packages\ogre\renderer\OGRE\sf_OIS.py
", line 64, in go
self.root.startRendering()
File "Demo08_ragdoll.py", line 231, in frameStarted
self.Ragdoll = RagDoll( "./zombie_rag_hull.xml", self.World, self.RagNode )
File "C:\Program Files\PythonOgre\Demos\OgreNewt\ragdoll.py", line 207, in __i
nit__
doc = parse(filename) # parse an XML file by name
File "C:\Program Files\Python25\lib\xml\dom\minidom.py", line 1913, in parse
return expatbuilder.parse(file)
File "C:\Program Files\Python25\lib\xml\dom\expatbuilder.py", line 922, in par
se
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: './zombie_rag_hull.xml'
Exception exceptions.AttributeError: "'list' object has no attribute 'size'" in
<bound method RagDoll.__del__ of <ragdoll.RagDoll instance at 0x0199CB48>> ignor
ed
Unregistering ResourceManager for type BspLevel
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Uninstalling plugin: Cg Program Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_CgProgramManager.dll
Uninstalling plugin: Octree & Terrain Scene Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_OctreeSceneManager.dll
Uninstalling plugin: BSP Scene Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_BSPSceneManager.dll
Uninstalling plugin: ParticleFX
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_ParticleFX.dll
Uninstalling plugin: D3D9 RenderSystem
D3D9 : Shutting down cleanly.
D3D9 : Direct3D9 Rendering Subsystem destroyed.
Plugin successfully uninstalled
Unloading library ../../plugins\RenderSystem_Direct3D9.dll
Uninstalling plugin: GL RenderSystem
Render Target 'OGRE Render Window' Average FPS: 150.035 Best FPS: 179.82 Worst F
PS: 127.49
Unregistering ResourceManager for type GpuProgram
*** Stopping Win32GL Subsystem ***
Unregistering ResourceManager for type Texture
Plugin successfully uninstalled
Unloading library ../../plugins\RenderSystem_GL.dll
Unregistering ResourceManager for type Material


then it just closes, any help??

thanks in advance!

OH YEAH!

i also tried using the OgreMeshUpgrade tool, it said it worked, but it didnt do anything, please help! thank you!

walaber

05-09-2007 02:37:09

are you using pyOgre?


IOError: [Errno 2] No such file or directory: './zombie_rag_hull.xml'


it cannot find the zombie_rag_hull.xml file, perhaps there is a problem with the path to that file... I believe I hard-coded it assuming a windows-style directory structure, that may be your problem.