Physics demo

posted in Ubik
Published November 20, 2006
Advertisement
I've been playing around with physics libraries a bit, here's an app I made using Newton (about 3 meg download - and if you don't have a version of VS C++ 2005 installed you might need to download this from Microsoft). I haven't tried to distribute a Windows app before, so it'd be awesome if anyone could download it and make sure it works on their computer (it worked for a couple people on #gamedev so hopefully no one will have a problem with it).

And here's a screenie



It needs a bit of work, i'm not calculating collision with the camera so you can walk through the balls and walls, and there are a number of things I could do to speed it up a bit, but I'm pretty happy with how easy it was to get started.
Previous Entry Console launch...
Next Entry ...
0 likes 9 comments

Comments

takingsometime
Cool!

It worked just fine on my machine, but I also have Visual Studio 2005 installed as well. I managed to get the triangle count up to 26,000 before the framerate started to get low (1-5 fps), but once all the balls came to rest it went back up to ~300fps.

Are you planning to do the same simulation with each of the different physics libraries to test them all?

EDIT: My machine is an Core Duo (each core at 2.00GHz) with 1Gb RAM, and a GeForce Go 7900 GS (256Mb), just for interest's sake [smile].
November 20, 2006 08:21 AM
jjd
Congrats, it worked perfectly for me.

WinXP Pro
AMD Athlon 64 X2 Dual
Core Processor 4200+
2.21 GHz 2.0 GB
NVidia GeForce 6800
November 20, 2006 09:38 AM
HopeDagger
Works great! I can't wait to see where your project develops from here. :)
November 20, 2006 09:44 AM
Will F
Thanks to everyone for trying it out. [smile] Since i'm fairly new to developing on Windows I wanted to make a small app to make sure I wasn't doing anything wrong.

Quote:Original post by takingsometime
Are you planning to do the same simulation with each of the different physics libraries to test them all?


I'm thinking about it. I'll probably play around with Newton a bit more first - that scene is about as simple as it gets (it was really just to test that I had everything set up correctly) and i'd like to play around with some of the more advanced features.
November 20, 2006 06:08 PM
Will F
Thanks to everyone for trying it out. [smile] Since i'm fairly new to developing on Windows I wanted to make a small app to make sure I wasn't doing anything wrong.

Quote:Original post by takingsometime
Are you planning to do the same simulation with each of the different physics libraries to test them all?


I'm thinking about it. I'll probably play around with Newton a bit more first - that scene is about as simple as it gets (it was really just to test that I had everything set up correctly) and i'd like to play around with some of the more advanced features.
November 20, 2006 06:21 PM
Will F
Thanks to everyone for trying it out. [smile] Since i'm fairly new to developing on Windows I wanted to make a small app to make sure I wasn't doing anything wrong.

Quote:Original post by takingsometime
Are you planning to do the same simulation with each of the different physics libraries to test them all?


I'm thinking about it. I'll probably play around with Newton a bit more first - that scene is about as simple as it gets (it was really just to test that I had everything set up correctly) and i'd like to play around with some of the more advanced features.
November 20, 2006 06:29 PM
Will F
Thanks to everyone for trying it out. [smile] Since i'm fairly new to developing on Windows I wanted to make a small app to make sure I wasn't doing anything wrong.

Quote:Are you planning to do the same simulation with each of the different physics libraries to test them all?


I'm thinking about it. I'll probably play around with Newton a bit more first - that scene is about as simple as it gets (it was really just to test that I had everything set up correctly) and i'd like to play around with some of the more advanced features first.
November 20, 2006 07:17 PM
Programmer16
Worked well for me too. The only thing that caught my eye is that the settings dialog defaults the graphics device to Radeon X1400.
November 20, 2006 07:58 PM
Will F
Yeah i'm aware of that. The way I have the app set up Ogre automatically loads settings from a config file in the directory. If you don't have a config file it will automatically create one, but the user has to manually set things. Personally I think the config dialog is somewhat confusing if you do it that way, so I just left it with the settings i've been using to make it easier to get going.

It's not really that big of a deal as my understanding is that the config dialog exists in Ogre mostly to make it easier for a developer to get started developing with it, and you'd generally roll your own configuration dialog (which would also have any app specific settings you might need) if you were releasing a final game.
November 20, 2006 08:56 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

XNA

1532 views

...

642 views

Physics demo

1257 views

Console launch...

1092 views

New project

1451 views

b day

1109 views

Source control

1278 views

More on Inform 7

1063 views

Logging

1209 views

Lines of code

1277 views
Advertisement