tutorials
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
tutorials
Hi all,
Erm...yeah, just working on my own little project, and it's come time to start thinking about physics. I've really not had any experience with physics programming, but we all have to start somewhere right? Anyway, thought I'd take the plunge and start to integrate bullet into my project (possibly under a wrapper layer, as I want to try PhysX as well), and have noticed a little lack of tutorials. So would anybody like me to try create some as I learn?
I'll basically be going through all the samples, do some SDL sample apps of my own as I learn, that kind of thing, but if anyone would like me to write & maintain some tuts to help other newbies, please let me know. Otherwise I'll only have the motivation to learn for myself. I have some pages.google space, so I can put stuff up there, but again I'll only be motivated enough if other people would like me to (not that I'm lazy, just easily distracted by my own thing).
Erm...yeah, just working on my own little project, and it's come time to start thinking about physics. I've really not had any experience with physics programming, but we all have to start somewhere right? Anyway, thought I'd take the plunge and start to integrate bullet into my project (possibly under a wrapper layer, as I want to try PhysX as well), and have noticed a little lack of tutorials. So would anybody like me to try create some as I learn?
I'll basically be going through all the samples, do some SDL sample apps of my own as I learn, that kind of thing, but if anyone would like me to write & maintain some tuts to help other newbies, please let me know. Otherwise I'll only have the motivation to learn for myself. I have some pages.google space, so I can put stuff up there, but again I'll only be motivated enough if other people would like me to (not that I'm lazy, just easily distracted by my own thing).
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
(I moved your topic, it is Bullet specific)
That would be useful.
I can give you some space on the Wiki page, and you can add some tutorials there (and link to your tutorial files etc.)
http://www.continuousphysics.com/mediaw ... =Main_Page
Thanks,
Erwin
That would be useful.
I can give you some space on the Wiki page, and you can add some tutorials there (and link to your tutorial files etc.)
http://www.continuousphysics.com/mediaw ... =Main_Page
Thanks,
Erwin
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
Well I started on a "hello world" type app, just to learn everything, but I'm kinda stuck on something.
I know I can get a demo going, and use it to explain a lot, but I'm not sure when PHY_ShapeProps is used instead of CcdConstructionInfo (the former is present in ccdphysicsdemo, but not actually used, I think). As far as I can tell, each contains much of the same information. Aside that the "ccd" is used for continuous collision detection, where as PHY_ShapeProps seems more geared towards an actual physics response, am I right? Basically the ccd part for finding when objects collide, and PHY_ShapeProps for what happens after that?
I am quite tired, and apologise if something is glaringly obvious, maybe I'll see more in the morning, but I find it never hurts to ask anyway.
Thanks for the encouragement btw!
I know I can get a demo going, and use it to explain a lot, but I'm not sure when PHY_ShapeProps is used instead of CcdConstructionInfo (the former is present in ccdphysicsdemo, but not actually used, I think). As far as I can tell, each contains much of the same information. Aside that the "ccd" is used for continuous collision detection, where as PHY_ShapeProps seems more geared towards an actual physics response, am I right? Basically the ccd part for finding when objects collide, and PHY_ShapeProps for what happens after that?
I am quite tired, and apologise if something is glaringly obvious, maybe I'll see more in the morning, but I find it never hurts to ask anyway.
Thanks for the encouragement btw!
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
http://garry.rank.googlepages.com/Bullet_tutorial1.zip
I use visual c++ express 2005, and have included the appropriate files for that, but you'll need to modify some of the include paths, etc, to suite your own setups.
I was going to do a html page, but as I suck at them (not much flair for design of web pages I'm afraid) I've just put all the comments into the source code.[/url]
I use visual c++ express 2005, and have included the appropriate files for that, but you'll need to modify some of the include paths, etc, to suite your own setups.
I was going to do a html page, but as I suck at them (not much flair for design of web pages I'm afraid) I've just put all the comments into the source code.[/url]
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
-
- Posts: 32
- Joined: Sun Jun 18, 2006 10:22 pm
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
-
- Posts: 1
- Joined: Sat Jul 01, 2006 5:24 pm
I have made a patch to tutorial
Hello, guys! I have made a Makefile to build the "Hello World" tutorial under the Linux. It works! Great!
Feel free to download it here:
http://digitalguru.sourceforge.net/wack ... make.patch
Feel free to download it here:
http://digitalguru.sourceforge.net/wack ... make.patch
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
Awsome, thanks for all the feedback!
I'm working on #2, and some changes to #1 (namely deleting what should be deleted - as bullet grows, I'm sure things like that will change), adding in that makefile, etc etc etc.
Anyways, #2 will basically extend #1 to include a constraint (to make a swinging pendulum) and draw the points of object collision. I just need to clean up the code a little, and write proper comments - hopefully I'll have that done tomorrow some time, but no promises.
Oh, and I think the build options I'm using are a little off - hence the reason for the errors from the precompiled binary. I suspect it's because of the wrong options when importing bullet into vc++ express actually, so I'll keep working at it!
-- Uh, sorry for extra delay, I found out what restitution does, and have been mucking around with it, and trying to get things compiling nicely. Might just provide tutorials without a built-in binary, and complaints about that?
I'm working on #2, and some changes to #1 (namely deleting what should be deleted - as bullet grows, I'm sure things like that will change), adding in that makefile, etc etc etc.
Anyways, #2 will basically extend #1 to include a constraint (to make a swinging pendulum) and draw the points of object collision. I just need to clean up the code a little, and write proper comments - hopefully I'll have that done tomorrow some time, but no promises.
Oh, and I think the build options I'm using are a little off - hence the reason for the errors from the precompiled binary. I suspect it's because of the wrong options when importing bullet into vc++ express actually, so I'll keep working at it!
-- Uh, sorry for extra delay, I found out what restitution does, and have been mucking around with it, and trying to get things compiling nicely. Might just provide tutorials without a built-in binary, and complaints about that?
-
- Posts: 19
- Joined: Tue Jun 20, 2006 7:13 am
Finally got around to putting it online - let me know of any bugs, criticism, etc etc etc.
Linux makefiles are not yet included, mainly because I've not tested them myself (I'm lazy and have only just fixed my boot loader after a windows reinstall) but they're coming soon.
I've actually made slight adjustments to tutorial 1 (the includes section), and so have packed it in along with tutorial 2.
http://garry.rank.googlepages.com/Bullet_tutorial2.zip
-- Edit: hopefully the link works now.
Linux makefiles are not yet included, mainly because I've not tested them myself (I'm lazy and have only just fixed my boot loader after a windows reinstall) but they're coming soon.
I've actually made slight adjustments to tutorial 1 (the includes section), and so have packed it in along with tutorial 2.
http://garry.rank.googlepages.com/Bullet_tutorial2.zip
-- Edit: hopefully the link works now.
Last edited by mirv on Sun Jul 16, 2006 4:34 am, edited 1 time in total.
-
- Posts: 1
- Joined: Sat Jul 15, 2006 10:49 pm
Where is bullet_tutorial2.zip
When I clicked the link for bullet_tutorial2.zip, I got a 404 error page saying the page could not be found. Is there any other place I can download the package? Any help would be greatly appreciated.
-Chris
-Chris