Posted: Sun May 24, 2009 7:09 pm Post subject: RE:Rigid Body and Cloth Physics
Yes it is, I have already tried. After monitoring the memory usage for 5 minutes I see that it climbs to about 2Gb before crashing Wine.
I think I will recode it in c++ using SDL and use it as an opprotunity to learn OOP in c++.
Thanks for the help.
You can consider that my final version.
Sponsor Sponsor
CodeMonkey2000
Posted: Sun May 24, 2009 7:42 pm Post subject: RE:Rigid Body and Cloth Physics
In that case, look up the bresenham's line blitting algorithm and the flood fill algorithm. You will find that very useful.
zero-impact
Posted: Sun May 24, 2009 7:57 pm Post subject: RE:Rigid Body and Cloth Physics
Thanks, however I think I might just use the primitives in SDL_gfx for simplicity's sake for the time being. Thanks for the tip though
DanTheMan
Posted: Tue May 26, 2009 8:29 am Post subject: RE:Rigid Body and Cloth Physics
I like it a lot! I am a big fan of rigid cloth physics ;P
Buut... The cloth isn't interacting with the shapes... is it supposed to be like that?
saltpro15
Posted: Wed May 27, 2009 7:54 am Post subject: RE:Rigid Body and Cloth Physics
nice work lawson, it crashed a school computer in <30 seconds :p
edit : you've sparked my interest in learning how to use verlet integration. Now if only these school computer's had a C++ compiler and SDL
edit edit : so now I'm coding in Wordpad, and secretly downloading a compiler to a flash drive :p
sdl can wait for now
zero-impact
Posted: Thu May 28, 2009 4:28 pm Post subject: Re: RE:Rigid Body and Cloth Physics
DanTheMan @ Tue May 26, 2009 8:29 am wrote:
I like it a lot! I am a big fan of rigid cloth physics ;P
Buut... The cloth isn't interacting with the shapes... is it supposed to be like that?
Yes, I do not have any "inter-shape" collision detection at the moment. I don't think I'm going to either because I am recoding this in c++. I will post a link when I ahve made any progres. However with school that could mean a month from now.