Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-17 Thread deavid
I recieved a patch for laser.py render from Jiba, and it works. So, after applying those changes raypicking-1, raypicking-3, ode-collision-7-hit_func-3-contacts are working ode-collision-7-hit_func-3-contacts.py - still has a bug: ode-collision-7-hit_func-3-contacts.py:204: DeprecationWarning: i

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-17 Thread deavid
Tried again all unittesting: (there is only one error.) deavid:~/git/soya/soya/test$ python unittest_events.py E == ERROR: test_queue_event (__main__.EventsTC) -

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-17 Thread deavid
Ok, I'm testing again all examples. = summary = * ode stuff was corrected, except ode-join and ode-mass that might need some review. * gui stuff now doesn't give any warning * particle-1 needs review * pudding stuff works * pudding-meter-1 needs to correct its import * pudding-svgelements-

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-16 Thread Pierre-Yves David
I finally solved my configuration issue and have been able to test All the patches On 11 janv. 2010, at 18:41, deavid wrote: > GUI stuff works, [with deprecation warnings] fixed > ODE collision 7th demonstration fails when it inits: fixed > ode-join.py -- seems to be acting odd. I agree : a

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-11 Thread deavid
I tested again Soya against unitests and againsts tutorials, using a older pyrex 0.9.7.2, and the effects are exactly the same. So, in case that there is a difference between pyrex versions, these would be prior to 0.9.7.2; soya, when compiled using pyrex 0.9.7.2 and 0.9.8.5 behaves exactly in th

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-11 Thread deavid
Trying again all the tutorials, I have seen that all of them are working, with this exceptions: GUI stuff works, but says this: /usr/lib/python2.5/site-packages/soya/gui/widgets.py:276: DeprecationWarning: process_event is deprecated, use MainLoop's events attributs instead self.process_event(so

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2010-01-11 Thread deavid
Pierre, after compiling your patched version of soya, i tried the unittests, the log follows: === deavid:~/git/soya/soya/test$ ls dataunittest_geom.py unittest_ode_body.py unittest_render.py unittest_categories.py unittest_gravity.py unittest_od

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-20 Thread deavid
I'm testing some patches to put here the log when they fail. If I test Soya SVN sources without my patch that adds mainloop events __set__ function: deavid:~/git/soya/soya/tutorial$ python pudding-2.py * Soya * Using 8 bits stencil buffer * Soya * version 0.14 * Using OpenGL 1.5.8 NVIDIA 96.43.

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-20 Thread deavid
I've created a new GIT repo to handle this better: http://github.com/deavid/soyamirror I'll use this to share changes to others; if anyone is interested. master -> will be the clone of the soya's SVN dev-deavid -> my local experimental changes. I have extracted from there a patch series of 10

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-18 Thread deavid
Ok, there is a Pyrex "global" directive to tell the compiler about the global :-) Just wrote a patch that works, i'm attaching it. 0007-Corrections-to-ode-terrain-collisions.patch Description: Binary data ___ Soya-user mailing list Soya-user@gna.org ht

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-18 Thread deavid
Ok, I found the _real_ problem behind terrain collisions. The problem is, that we're creating a new classgeom*before* ode gets inited. Because of this, when ode inits it rewrites the callbacks for collisions, so our changes have no effect. I'm testing with a special init function (called just afte

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-17 Thread deavid
2009/12/18 Greg Ewing : > deavid wrote: > >> ODE collisions work, when using single precision libraries of ODE. >> >> But it fails in the following tutorials: > > I don't know whether it's related to your problem, > but I've found that trouble can arise if you're > not using the same version of ODE

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-17 Thread Greg Ewing
deavid wrote: > ODE collisions work, when using single precision libraries of ODE. > > But it fails in the following tutorials: I don't know whether it's related to your problem, but I've found that trouble can arise if you're not using the same version of ODE that the code is expecting. Annoyin

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-17 Thread deavid
Finally i'have the last patch to make ode collisions with terrains and non-pushables working. I'm attaching the patch. I hope this will be enough to have soya shipped some day compiled with pyrex 0.9.8.x terrain-collisions.patch Description: Binary data _

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-17 Thread deavid
It would be very helpful if someone could apply the patches (at least the first one) and see what happens. I tried this on 3 machines (2 Debian, 1 Ubuntu) and the only difference is in the Ubuntu box, where i don't have a single-precision version of ODE's libraries. __

Re: [Soya-user] Patches to Soya3D that allow compiling with latest Pyrex

2009-12-17 Thread Pierre-Yves David
On Thu, Dec 17, 2009 at 12:01:11PM +0100, deavid wrote: > Hi, > I'm working very hard to have Soya compiled using latest Pyrex 0.9.8.5 Thank you very much > At least, these patches will make soya compilable with that version of > pyrex, but it is not perfect. That's a great start > ODE collisio