back to main thread :)
(last two mails were wrongly in private... fun that we were still speaking in english :P)

btw... I also have a CMakeMaker third party library configuration (not published yet), so you *could* build your VM with chipmunk support :)

On Nov 24, 2012, at 1:01 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:

Yes, but you need to compile the library with a special flag: -DCHIPMUNK_FFI, otherwise it will not publish the setter/getter methods (that's what #indirectCall: does, it retrieves the address of the function, then executes it :P)

Esteban

On Nov 24, 2012, at 12:49 PM, Fernando Olivero <fernando.olivero@usi.ch> wrote:

Cool!

I'm having some problems with the primitives methods which call  #indirectCall:.
The nbCall: works just fine.

s:= CmShape new . (works)
s friction: 10 (doesn't)

I'm using the latest Athens image and NB VM from jenkins. Does it work for you?

Looking forward to use it...when i have time again to code.

Thanks,
Fernando

pd: I've compiled the library, using macports, to a universal binary. I do the same with Cairo, Pango and PangoCairo to use with Athens images. Since CmShape new works, i assume the library is correctly built and used by NB.


On Sat, Nov 24, 2012 at 12:18 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,

it is decoupled, so separate it is just matter of create their own package :)
I will do it, since yes, it can be useful outside Storm. Remember I prototyped this just to play a bit... at first I didn't think it could be more than just spending some time learning, now is becoming more "serious", so it deserves better structure :)

Esteban

On Nov 24, 2012, at 12:12 PM, Fernando Olivero <fernando.olivero@usi.ch<mailto:fernando.olivero@usi.ch>> wrote:

I've just browsed through the code.

Nice work on modeling Chipmunk in the image via NB.

Could you separate this work from Storm? I think it deserves a package on its own.

Fernando


On Sat, Nov 24, 2012 at 11:55 AM, fernando.olivero@usi.ch<mailto:fernando.olivero@usi.ch> <fernando.olivero@usi.ch<mailto:fernando.olivero@usi.ch>> wrote:
Nice example Esteban, now you need to add some explosions to the game!

Curious on the usage of Chipmunk, do you replicate the walls, balls and gravity in smalltalk? Or use Athens just as "view".

Fernando


On Sat, Nov 24, 2012 at 11:50 AM, Esteban Lorenzano <estebanlm@gmail.com<mailto:estebanlm@gmail.com><mailto:estebanlm@gmail.com<mailto:estebanlm@gmail.com>>> wrote:
Hi,

thanks.. my "video recording skills" still need a lot of improvement, but I'm having fun so far :)

I have an i7 2.8Ghz

Esteban

On Nov 24, 2012, at 11:46 AM, dimitris chloupis <thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk>><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk>>>> wrote:


amazing stuff and it seems to run very fast taking also into account that you video record this. Thanks for sharing.

What kind of processor you have ?
________________________________
To: kilon <thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk>><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk><mailto:thekilon@yahoo.co.uk<mailto:thekilon@yahoo.co.uk>>>>
Sent: Saturday, 24 November 2012, 12:41
Subject: New Athens+Chipmunk example [WAS: Re: Athens, Nativeboost and Igor's gray hair]

you ask it, you have it :)

This is a new example of Athens+Chipmunk colliding 500 objects (1k works, but still needs some adjusts :)

http://youtu.be/GkS6rHVUJko

Esteban

On Nov 24, 2012, at 10:48 AM, St�phane Ducasse <[hidden email]<x-msg://6951/>> wrote:

where are they these cool examples.

Stef


On Nov 23, 2012, at 7:16 PM, Esteban Lorenzano wrote:

and you have to see my 1k small spheres falling into a pot :P
(my objective is to get 2k and still be performant, I don't know if I will succeed, but is fun to try)

and JB's joint example, btw :)

Esteban


On Nov 23, 2012, at 7:10 PM, St�phane Ducasse <[hidden email]<x-msg://6951/>> wrote:

You are welcome.

Stef

that what happens when i get tons of emails, i missed yours. But thanks to
world of smalltalk i found it. Thanks for sharing that great stuff I am
actually considering giving a helping hand to Athens , I really like it.



--
View this message in context: http://forum.world.st/Athens-Nativeboost-and-Igor-s-gray-hair-tp4656395p4656463.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com<http://Nabble.com><http://nabble.com/>.