Re: [PD] ODE external ?

2007-04-26 Thread Frank Barknecht
Hallo,
marius schebella hat gesagt: // marius schebella wrote:

> How can I use that library under osx. do I have to compile something? I 
> found that c code in the package, but have no idea how to deal with 
> it??? thnx,

You need to install pyODE. If you start python and can  do a "import
ode" without errors, you will be able to use ODE in py/pyext as well.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-25 Thread marius schebella
How can I use that library under osx. do I have to compile something? I 
found that c code in the package, but have no idea how to deal with 
it??? thnx,
marius.

Frank Barknecht wrote:
> Hallo,
> Thomas Grill hat gesagt: // Thomas Grill wrote:
> 
>> i'm using pyODE within py/pyext, which works pretty well.
> 
> Actually that's what I do as well. 
> 
> Ciao


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-18 Thread Stephen Sinclair
> That would be more straightforward (and fast) to simply send the whole
> transformation matrix :
>
> shapes cubes foo 0.234 1.000 ...

Yes, as Frank has said, I am using OSC this way.  Vectors are sent as
three arguments in a message.  Actually I recently had a discussion
about this... one opinion was that it should support both 3-argument
vectors as well as the /x /y /z messages, so that it can be easily
mapped to particular variables...  Of course, in that case you'll also
want to support /magnitude and /phi, etc  ;-)  Many many options
here.  And that's not even counting how to support units.

Anyways, yes I'll be talking about this at NIME.  Should be fun.  ;-)
Also hopefully I'll also present it or have a poster at the Pd convention.

In fact I didn't want to mention it on the list because there are
still quite a few bugs in the software, and I wanted to wait until the
convention to discuss it, but since it pertained directly to your
question


Steve

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-18 Thread Frank Barknecht
Hallo,
Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:

> Stephen, DIMPLE looks very promising. I am looking forward to try it
> soon. (plus, I will see it at NIME) I think the C++ way using OSC or
> an other protocol is a very good way to go. Wouldn't have you prefered
> FUDI or an other protocol that allows more than one float at a time to
> be sent ? For instance, if you want to send the position of the cube
> "foo" :
> 
> /shapes/cubes/foo/x 0.234
> /shapes/cubes/foo/y 1.000
> ...

You can do more than that with OSC, too: 
 
 /shapes/cubes/foo/pos 0.234 1.000 0.0

> Anyone. And for pyext, do you guys experiment a big lag, or is it
> satifying ? 

It's satisfying.

> And what if you had a world populated with hundreds of geos ?

Not hundreds, but about one or two hundred Bodies on my slightly older
machine (AMD 64 Processor 3000+) when doing a full Gem visualisation
as well. If you want hundreds of moving Bodies, you need a really
fast machine, when using ODE or any other rigid body simulator. 

Expressed very simplified: Where a mass in msd3D only has 3 positional
coordinates, 3 velocities and 3 accelerations to calculate with each
step, a rigid body additionally has to handle changes in orientation
(rotation) consisting of rotation angle and rotation vector rx, ry,
rz, and just as position, orientation will change according to forces
between bodies and geoms. Then you also need to keep track of the
every body's shape to find out when it collides with something. This
is rather quick to calculate for a sphere, but gets more expensive for
more complex geometries. 

In short: Just don't expect to simulate as many rigid bodies as you
are able to simulate point masses in msd.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Alexandre Quessy
Hi,
Stephen, DIMPLE looks very promising. I am looking forward to try it
soon. (plus, I will see it at NIME) I think the C++ way using OSC or
an other protocol is a very good way to go. Wouldn't have you prefered
FUDI or an other protocol that allows more than one float at a time to
be sent ? For instance, if you want to send the position of the cube
"foo" :

/shapes/cubes/foo/x 0.234
/shapes/cubes/foo/y 1.000
...

That would be more straightforward (and fast) to simply send the whole
transformation matrix :

shapes cubes foo 0.234 1.000 ...

You know what I mean...

Anyone. And for pyext, do you guys experiment a big lag, or is it
satifying ? And what if you had a world populated with hundreds of
geos ?

Thanks !

a


2007/4/17, Stephen Sinclair <[EMAIL PROTECTED]>:
> Hi,
>
> Try my DIMPLE software.
> Still very alpha, but it works.
> Sorry, binary is only for Windows, so you'll have to compile it otherwise.
>
> http://www.music.mcgill.ca/~sinclair/content/dimple
>
> Anyways it basically allows you to talk to ODE using OSC.
>
>
> Steve
>
>
> On 4/17/07, Frank Barknecht <[EMAIL PROTECTED]> wrote:
> > Hallo,
> > Thomas Grill hat gesagt: // Thomas Grill wrote:
> >
> > > i'm using pyODE within py/pyext, which works pretty well.
> >
> > Actually that's what I do as well.
> >
> > Ciao
> > --
> >  Frank Barknecht _ __footils.org_ __goto10.org__
> >
> > ___
> > PD-list@iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > http://lists.puredata.info/listinfo/pd-list
> >
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>


-- 
Alexandre Quessy
http://alexandre.quessy.net
http://www.puredata.info/Members/aalex

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Stephen Sinclair
Hi,

Try my DIMPLE software.
Still very alpha, but it works.
Sorry, binary is only for Windows, so you'll have to compile it otherwise.

http://www.music.mcgill.ca/~sinclair/content/dimple

Anyways it basically allows you to talk to ODE using OSC.


Steve


On 4/17/07, Frank Barknecht <[EMAIL PROTECTED]> wrote:
> Hallo,
> Thomas Grill hat gesagt: // Thomas Grill wrote:
>
> > i'm using pyODE within py/pyext, which works pretty well.
>
> Actually that's what I do as well.
>
> Ciao
> --
>  Frank Barknecht _ __footils.org_ __goto10.org__
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Frank Barknecht
Hallo,
Thomas Grill hat gesagt: // Thomas Grill wrote:

> i'm using pyODE within py/pyext, which works pretty well.

Actually that's what I do as well. 

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Thomas Grill
ODE is much more powerful, with collision detection etc.
On the other hand, it has no realtime guarantee, that's why i'm  
always running pyODE in py/pyext detached mode.
greetings, Thomas

Am 17.04.2007 um 11:48 schrieb Tim Boykett:

>
> isn't the PMPD extension just this? Or is it a new implementation of
> dynamics?
>
> tm
>
>
> On 17/04/2007, at 9:04 AM, Frank Barknecht wrote:
>
>> Hallo,
>> Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:
>>
>>> I wonder if there is somewhere an external that wraps the Open
>>> Dynamic
>>> Engine ? http://www.ode.org/ is a library for physical simulation.
>>
>> Yes, I have a working prototype. I can send it to you, if you want,
>> but there are no docs yet at all.
>>
>> Ciao
>> -- 
>>  Frank Barknecht _ __footils.org_ __goto10.org__
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>> listinfo/pd-list
>>
>
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>

Thomas Grill
http://g.org



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread cyrille henry


Tim Boykett a écrit :
> isn't the PMPD extension just this?
no.
pmpd's masses have no volume. so they can not rotate.
ode is lot's more complex.

cyrille

  Or is it a new implementation of
> dynamics?
> 
> tm
> 
> 
> On 17/04/2007, at 9:04 AM, Frank Barknecht wrote:
> 
>> Hallo,
>> Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:
>>
>>> I wonder if there is somewhere an external that wraps the Open  
>>> Dynamic
>>> Engine ? http://www.ode.org/ is a library for physical simulation.
>> Yes, I have a working prototype. I can send it to you, if you want,
>> but there are no docs yet at all.
>>
>> Ciao
>> -- 
>>  Frank Barknecht _ __footils.org_ __goto10.org__
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>>
> 
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Tim Boykett

isn't the PMPD extension just this? Or is it a new implementation of
dynamics?

tm


On 17/04/2007, at 9:04 AM, Frank Barknecht wrote:

> Hallo,
> Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:
>
>> I wonder if there is somewhere an external that wraps the Open  
>> Dynamic
>> Engine ? http://www.ode.org/ is a library for physical simulation.
>
> Yes, I have a working prototype. I can send it to you, if you want,
> but there are no docs yet at all.
>
> Ciao
> -- 
>  Frank Barknecht _ __footils.org_ __goto10.org__
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Thomas Grill
Hi,
i'm using pyODE within py/pyext, which works pretty well.
greetings,
Thomas

Am 17.04.2007 um 02:44 schrieb Alexandre Quessy:

> Hi !
> I wonder if there is somewhere an external that wraps the Open Dynamic
> Engine ? http://www.ode.org/ is a library for physical simulation.
>
> Cheers,
> --  
> Alexandre Quessy
> http://alexandre.quessy.net
> http://www.puredata.info/Members/aalex
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>

Thomas Grill
http://g.org



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ODE external ?

2007-04-17 Thread Frank Barknecht
Hallo,
Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:

> I wonder if there is somewhere an external that wraps the Open Dynamic
> Engine ? http://www.ode.org/ is a library for physical simulation.

Yes, I have a working prototype. I can send it to you, if you want,
but there are no docs yet at all.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list