Geometry auto-generation

Official forum for the Chipmunk2D Physics Library.

Geometry auto-generation

Postby oscar » Tue Oct 18, 2011 5:29 pm

Hi
Where I can find an example of Geometry auto-generation based on bitmap images?

Thanks

Oscar
oscar
 
Posts: 2
Joined: Wed Oct 12, 2011 1:47 pm

Re: Geometry auto-generation

Postby slembcke » Tue Oct 18, 2011 7:01 pm

I posted a video and a bunch of sample code on the Cocos2D forum a while back:
http://www.cocos2d-iphone.org/forum/top ... ost-115592

I don't have a trial version of the library available yet. It's currently only available to people that have bought Chipmunk Pro.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: Geometry auto-generation

Postby oscar » Wed Oct 19, 2011 4:30 pm

yes, i have pro version, is a great framework.

one more question, auto-generation works to create a shape, from a UIImageview?
I want to create statics object

thanks
Òscar
oscar
 
Posts: 2
Joined: Wed Oct 12, 2011 1:47 pm

Re: Geometry auto-generation

Postby slembcke » Wed Oct 19, 2011 5:06 pm

Did you grab the DeformableChipmunk.tgz project from here: http://chipmunk-physics.net/release/chipmunkPro/

I really need to redo that page. It's terrible and I think it's the only place to get the AutoGeometry code from.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: Geometry auto-generation

Postby Wagenheimer » Sun Nov 13, 2011 8:28 pm

Very impressive demo! :D

How it works? It would be compatible with Chipmunk Delphi headers? I need to implement deformable terrain on my Game! Is it only available for Chipmunk Pro?
Wagenheimer
 
Posts: 1
Joined: Sun Nov 13, 2011 8:21 pm

Re: Geometry auto-generation

Postby slembcke » Mon Nov 14, 2011 9:33 am

Yes, the auto-geometry stuff is only available as part of Chipmunk Pro.

The core parts for the geometry extraction and simplification is in C so it can be bound to pretty much anything. However the part that makes the deformable terrain really efficient, the tile cache, is written in Objective-C currently as it performs a lot of memory management. Chipmunk Pro does come with full source though.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest

cron