Thanks for that, marmoute. I have spent many hours over the past few days trying again and again to compile Soya on Windows using different versions of the required programs, libraries and dependencies, but no matter what I try, I can't get terrain collisions working, not even in tutorial ode-collision-8-terrain.py, so it is not a problem with my code. Still there are no errors or messages in the console.
I have tried various combinations of the following: Python 2.4 and 2.5 - audio works with 2.4 but I want to use 2.5 ODE 0.10.1 and 0.11 - no apparent difference between the two so I would like to stick with the new version. OpenAL-soft 1.6.372 (Thierry uses this) , 1.7.411 (newest version - with this, sound works when I compile for Python 2.4) Pyrex 0.9.6, 0.9.6.1, 0.9.6.2, 0.9.6.3, 0.9.6.4 - thanks to marmoute, etc., I now know that 0.9.6.4 is the optimum version for compiling Soya, so I have given up trying the other versions. Somebody in IRC said it didn't sound like a Windows problem but said they had successfully run ode-collision-8-terrain.py using Soya 0.14 with working collisions. What, then, is the cause of the problem? The versions that have given me the best results are now thus (most have not changed from the versions Thierry Brault used) Binutils 2.19 - GCC 4.3.0 - MinGW 3.15.1 - W32API 3.13 - Freetype 2.3.5 - Zlib 1.2.3 - CMake 2.6.2 - MSYS 1.0.10 - MSYS DTK 1.0.1 (all of these are as M. Brault used) Cal3D 0.11.0 - GLEW 1.5.1 - ODE 0.11 - OpenAL 1.7.411 - Pyrex 0.9.6.4 - SDL 1.2.13 - SDL Mixer 1.2.8 - Soya 0.14 Python 2.4 gives me working audio, Python 2.5 does not, but my target is to get everything working correctly with Python 2.5. When I use Soya 0.13 for Python 2.4 as compiled by Thomas Paviot, I am able to run the tutorial ode-collision-8-terrain.py and collisions work, albeit with lots of warnings about "mass must be > 0". Of course, with Py 2.5 and Soya 0.14, there are no collisions, but no warnings either! My questions are now thus: - I could try using an older ODE than 0.10.1. What version of ODE was used with Soya 0.13? Getting to the point: - What is causing the broken terrain collision problem?! Thanks in advance for any help. Anthony Flyin' Irons http://flyinirons.wordpress.com marmoute wrote: > On 3 avr. 09, at 14:10, Anthony Smith wrote: > > >> Compiling Soya3d on win32 for python25 with gcc-4 and pyrex-9.7.2 >> >> It does work! Collisions currently do not work with terrain or other >> objects- this could be due to code that needs changing on my part. >> This >> is the error I get: >> Exception exceptions.TypeError: "'_soya.Contact' object does not >> support >> item assignment" in '_soya.collide_callback' ignore >> > > soya is not compatible with version of pyrex greater than 9.6.4 > > Thx for the message anyway :-) > > -- > marmoute > > > _______________________________________________ > Soya-user mailing list > [email protected] > https://mail.gna.org/listinfo/soya-user > > _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
