Jump to content

Ubik

Sign in to follow this  
  • entries
    101
  • comments
    122
  • views
    58383

Physics demo

Sign in to follow this  
Will F

427 views

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.
Sign in to follow this  


9 Comments


Recommended Comments

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].

Share this comment


Link to comment
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

Share this comment


Link to comment
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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
Worked well for me too. The only thing that caught my eye is that the settings dialog defaults the graphics device to Radeon X1400.

Share this comment


Link to comment
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.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!