"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.
What is the technology/algorithm behind Auto Geometry?
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: What is the technology/algorithm behind Auto Geometry?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 10
- Joined: Mon Dec 07, 2015 1:50 am
- Contact:
Re: What is the technology/algorithm behind Auto Geometry?
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.
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.
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: What is the technology/algorithm behind Auto Geometry?
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)
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/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 10
- Joined: Mon Dec 07, 2015 1:50 am
- Contact:
Re: What is the technology/algorithm behind Auto Geometry?
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!!
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!!
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: What is the technology/algorithm behind Auto Geometry?
No problem. Glad you found it useful.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 6 guests