errors running tutorials ecc.

Iacopo

28-08-2006 17:48:10

Hi...
OS: Windows XP
Steps:
- installed pyOgre with "pyogre-1.0.6.0.py24.exe"
---> created: "C:\Python24\pyogre"
---> created: "C:\Python24\Lib\site-packages\pyogre"
- extracted "demo_media_1.2.0.zip" in "C:\Python24\pyogre"

c:\python24\pyogre\pyogre_demos\tutorials>python beginner_1.py
and
c:\python24\pyogre\ogre_demos\tutorials>python beginner_1.py

--> OGRE Engine Rendering Setup GUI ok.
But then any rendering subsystem selection causes errors:

-------------------ogrelog from first error)-----------------------------------
[...]
17:51:07: Parsing script Examples.program
17:51:07: Error at line 68 of Examples.program: Error in program Ogre/HardwareMorphAnimation parameter includes_morph_animation is not valid.
17:51:07: Error at line 68 of Examples.program: Invalid param_named_auto attribute - animation_parametric
17:51:07: Error at line 82 of Examples.program: Error in program Ogre/HardwarePoseAnimation parameter includes_pose_animation is not valid.
17:51:07: Error at line 82 of Examples.program: Invalid param_named_auto attribute - animation_parametric
17:51:07: Parsing script StdQuad_vp.program
17:51:07: Parsing script BlackAndWhite.material
17:51:07: Parsing script Bloom.material
17:51:07: Parsing script DOF.material
17:51:07: Error in material Ogre/Compositor/DOF_Blur1 : Ogre/Compositor/DOF_Blur0 at line 55 of DOF.material: Invalid fragment_program_ref entry - fragment program has not been defined.
17:51:07: Parsing script Embossed.material
17:51:07: Parsing script Example-DynTex.material
17:51:07: Parsing script Example-Water.material
17:51:07: Parsing script Example.material
17:51:07: Error in material Examples/MorningSkyBox at line 204 of Example.material: Unrecognised command: scheme
17:51:07: Error in material Examples/MorningCubeMap at line 254 of Example.material: Unrecognised command: scheme
17:51:07: Error in material Examples/FlarePointSprite at line 520 of Example.material: Unrecognised command: point_sprites
17:51:07: Error in material Examples/FlarePointSprite at line 521 of Example.material: Unrecognised command: point_size
17:51:07: Error in material Examples/FlarePointSprite at line 522 of Example.material: Unrecognised command: point_size_attenuation
17:51:07: Parsing script Examples-Advanced.material
17:51:08: Error in material Examples/Athene/NormalMapped at line 828 of Examples-Advanced.material: Unrecognised command: shadow_receiver_fragment_program_ref
17:51:08: Error in material Examples/Athene/NormalMapped at line 829 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error in material Examples/Athene/NormalMapped at line 830 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error in material Examples/Athene/NormalMapped at line 834 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error in material Examples/Athene/NormalMapped at line 835 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error in material Examples/Athene/NormalMapped at line 836 of Examples-Advanced.material: Unrecognised command: texture
17:51:08: Error in material Examples/Athene/NormalMapped at line 837 of Examples-Advanced.material: Unrecognised command: colour_op
17:51:08: Error in material Examples/Athene/NormalMapped at line 840 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error in material Examples/Athene/NormalMapped at line 841 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error in material Examples/Athene/NormalMapped at line 842 of Examples-Advanced.material: Unrecognised command: cubic_texture
17:51:08: Error in material Examples/Athene/NormalMapped at line 843 of Examples-Advanced.material: Unrecognised command: tex_coord_set
17:51:08: Error in material Examples/Athene/NormalMapped at line 844 of Examples-Advanced.material: Unrecognised command: tex_address_mode
17:51:08: Error at line 846 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 849 of Examples-Advanced.material: Unrecognised command: pass
17:51:08: Error at line 850 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 853 of Examples-Advanced.material: Unrecognised command: lighting
17:51:08: Error at line 858 of Examples-Advanced.material: Unrecognised command: vertex_program_ref
17:51:08: Error at line 859 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 860 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 861 of Examples-Advanced.material: Unrecognised command: param_named
17:51:08: Error at line 862 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 863 of Examples-Advanced.material: Unrecognised command: scene_blend
17:51:08: Error at line 864 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error at line 865 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 866 of Examples-Advanced.material: Unrecognised command: texture
17:51:08: Error at line 867 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 869 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 870 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 875 of Examples-Advanced.material: Unrecognised command: technique
17:51:08: Error at line 876 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 878 of Examples-Advanced.material: Unrecognised command: pass
17:51:08: Error at line 879 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 882 of Examples-Advanced.material: Unrecognised command: ambient
17:51:08: Error at line 883 of Examples-Advanced.material: Unrecognised command: diffuse
17:51:08: Error at line 884 of Examples-Advanced.material: Unrecognised command: specular
17:51:08: Error at line 889 of Examples-Advanced.material: Unrecognised command: vertex_program_ref
17:51:08: Error at line 890 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 891 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 892 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 893 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 895 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 898 of Examples-Advanced.material: Unrecognised command: pass
17:51:08: Error at line 899 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 902 of Examples-Advanced.material: Unrecognised command: ambient
17:51:08: Error at line 904 of Examples-Advanced.material: Unrecognised command: iteration
17:51:08: Error at line 907 of Examples-Advanced.material: Unrecognised command: scene_blend
17:51:08: Error at line 910 of Examples-Advanced.material: Unrecognised command: vertex_program_ref
17:51:08: Error at line 911 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 912 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 913 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 914 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 917 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error at line 918 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 919 of Examples-Advanced.material: Unrecognised command: texture
17:51:08: Error at line 920 of Examples-Advanced.material: Unrecognised command: colour_op
17:51:08: Error at line 921 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 923 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error at line 924 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 925 of Examples-Advanced.material: Unrecognised command: cubic_texture
17:51:08: Error at line 926 of Examples-Advanced.material: Unrecognised command: tex_coord_set
17:51:08: Error at line 927 of Examples-Advanced.material: Unrecognised command: tex_address_mode
17:51:08: Error at line 928 of Examples-Advanced.material: Unrecognised command: colour_op_ex
17:51:08: Error at line 929 of Examples-Advanced.material: Unrecognised command: colour_op_multipass_fallback
17:51:08: Error at line 930 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 931 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 934 of Examples-Advanced.material: Unrecognised command: pass
17:51:08: Error at line 935 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 936 of Examples-Advanced.material: Unrecognised command: lighting
17:51:08: Error at line 941 of Examples-Advanced.material: Unrecognised command: vertex_program_ref
17:51:08: Error at line 942 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 943 of Examples-Advanced.material: Unrecognised command: param_named_auto
17:51:08: Error at line 944 of Examples-Advanced.material: Unrecognised command: param_named
17:51:08: Error at line 945 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 946 of Examples-Advanced.material: Unrecognised command: scene_blend
17:51:08: Error at line 947 of Examples-Advanced.material: Unrecognised command: texture_unit
17:51:08: Error at line 948 of Examples-Advanced.material: Unrecognised command: {
17:51:08: Error at line 949 of Examples-Advanced.material: Unrecognised command: texture
17:51:08: Error at line 950 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 952 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 954 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Error at line 955 of Examples-Advanced.material: Unexpected terminating brace.
17:51:08: Parsing script facial.material
17:51:08: Parsing script Glass.material
17:51:08: Parsing script hdr.material
17:51:08: Parsing script HeatVision.material
17:51:08: Error at line 92 of HeatVision.material: Invalid param_named_auto attribute - render_target_flipping
17:51:08: Error at line 170 of HeatVision.material: Invalid param_named_auto attribute - render_target_flipping
17:51:08: Parsing script Hurt.material
17:51:08: Parsing script Invert.material
17:51:08: Parsing script Laplace.material
17:51:08: Parsing script MotionBlur.material
17:51:08: Parsing script Ocean.material
17:51:08: Parsing script OffsetMapping.material
17:51:08: Parsing script Ogre.material
17:51:08: Parsing script OldMovie.material
17:51:08: Parsing script OldTV.material
17:51:08: Parsing script Posterize.material
17:51:08: Parsing script RZR-002.material
17:51:08: Parsing script SharpenEdges.material
17:51:08: Parsing script smoke.material
17:51:08: Parsing script Tiling.material
17:51:08: Parsing script fresnelenviron.material
17:51:08: Parsing script sample.fontdef
17:51:08: Parsing script Example-Water.particle
17:51:08: Parsing script Example.particle
17:51:08: Bad particle system attribute line: 'point_rendering true' in Examples/GreenyNimbus (tried renderer)
17:51:08: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 4
Function: ParticleSystem::CmdBillboardType::doSet
Description: Invalid billboard_type 'perpendicular_common'.
File: ..\src\OgreBillboardParticleRenderer.cpp
Line: 222
Stack unwinding: <<beginning of stack>>
17:51:08: *-*-* OGRE Shutdown
[...]
-------------------------------------------------------------
help me please!
i need step by step installation instructions :(

Istari

28-08-2006 19:52:32

demo_media_1.2.0.zip is for PyOgre 1.2.0 but you are using PyOgre 1.0.6

If you intend to use PyOgre 1.0.6 you should download the demo_media.zip file instead.

Iacopo

28-08-2006 20:58:05

Thanks vary much and sorry... Now it works! :)
But does a 1.2 pyOgre version exist??
I didn't see it in http://www.ogre3d.org/wiki/index.php/PyOgre

Istari

28-08-2006 21:37:37

I have added the links for the win32 binaries to the wiki

Iacopo

29-08-2006 07:26:35

Ok, thanks :), i didn't found it because I tryed only the link PyOgre (Media + PyOgre) of Software section.

Software

* Python 2.4
* Psyco
* PyOgre (Media + PyOgre) --> 1.0.6