What is the technology/algorithm behind Auto Geometry?

Discuss new features and future development.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: What is the technology/algorithm behind Auto Geometry?

Post by slembcke »

"this library"? Do you mean Chipmunk's autogeometry or the one you linked? I skimmed the one you linked, but I've never used it. I can't really help you much with that.

Chipmunk's autogeometry shouldn't be too hard to separate. You'll still need to include a couple of the headers and alias a few of the types, but it shouldn't be impossible.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Joseph39
Posts: 10
Joined: Mon Dec 07, 2015 1:50 am
Contact:

Re: What is the technology/algorithm behind Auto Geometry?

Post by Joseph39 »

first what i meant earlier by the library is the library(chipmunk 6.x) in the example that you supplied and second do you think that i could use the objective c files of the library(chipmunk 6.x) in my c++ project and call the methods directly from there without any problems because that doesn't make any sense.

and remember that the peace of functionality that i need in my project is written in objective c.

or do you mean porting the parts that i need to c++ then using theme.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: What is the technology/algorithm behind Auto Geometry?

Post by slembcke »

The "Geometry tracer" I posted earlier is straight C. The "load_image" function is written in Obj-C on OS X for a super simple image loading routine, but it's assumed that you can load an image into a RGBA8 buffer on any platform.

Also, the two files I posted originally compile just fine as C++. You don't even need to do any porting, just figure out how to pull out the required components or include all of Chipmunk. (It's only a few dozen KBs of extra code size, probably not worth the effort to extract it)
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Joseph39
Posts: 10
Joined: Mon Dec 07, 2015 1:50 am
Contact:

Re: What is the technology/algorithm behind Auto Geometry?

Post by Joseph39 »

i ported it to c++ by the help of chipmunk 6.2.1 the normal c version

and i tried it and guess What ... it Works!!

so Thank you so very much with a Big capital T Scott Lembcke!!

and another big thanks for your patience with me this whole time!!
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: What is the technology/algorithm behind Auto Geometry?

Post by slembcke »

No problem. Glad you found it useful.
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 7 guests