Geometry auto-generation

Official forum for the Chipmunk2D Physics Library.
Post Reply
oscar
Posts: 2
Joined: Wed Oct 12, 2011 1:47 pm
Contact:

Geometry auto-generation

Post by oscar »

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

Thanks

Oscar
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Geometry auto-generation

Post by slembcke »

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/
oscar
Posts: 2
Joined: Wed Oct 12, 2011 1:47 pm
Contact:

Re: Geometry auto-generation

Post by oscar »

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
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Geometry auto-generation

Post by slembcke »

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/
Wagenheimer
Posts: 1
Joined: Sun Nov 13, 2011 8:21 pm
Contact:

Re: Geometry auto-generation

Post by Wagenheimer »

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?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Geometry auto-generation

Post by slembcke »

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/
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests