PDA

View Full Version : Nice Physics Simulation Video



erco
02-17-2012, 05:30 PM
I wasn't sure at first if this was a real video or not, and it's several years old. Wow.

http://www.youtube.com/watch?v=J9HaT23b-xc

also see http://www.youtube.com/watch?v=3Ilojin4vQ8

ElectricAye
02-18-2012, 04:52 AM
What is this? ...amateur hour? Obviously they neglected to take into account the nine independent constants needed to describe the elastic behavior of wood: three moduli of elasticity E, three moduli of rigidity G, and six Poisson’s ratios μ. Geez, the error is simply glaring!


http://www.conradfp.com/pdfs/ch4-Mechanical-Properties-of-Wood.pdf

Microcontrolled
02-18-2012, 05:37 PM
@erco: I've tried replicating a lot of this guy's work, and I subscribe to his channel. It's amazing the physical simulations he accomplishes with simple computer simulation software. He does a lot of his work with blender, which I also work a lot with. Here's my attempt at KEVA plank simulation. http://www.youtube.com/watch?v=VnYPDKf2MNo&feature=fvst

My computer isn't good enough to process more than 2000 planks, but I may have to try this out on the Mac to see if I can get more (without crashing)!

erco
02-18-2012, 07:08 PM
Very impressive, uC! Be proud, that's excellent work! I'll have to look into some of these simulation & modeling programs. Things have come a long way since CSMP in my college days. :)

ElectricAye
02-18-2012, 09:42 PM
@erco: I've tried replicating a lot of this guy's work...

Very cool!

Beau Schwabe (Parallax)
02-18-2012, 09:45 PM
Wonder how that would hold up to my geodesic sphere made of Popsicle sticks .... jk .... :-) .... that's pretty cool !!

SRLM
02-19-2012, 06:15 AM
It would be interesting to see a model of a man of war ship, and the bullets (with a bit more velocity, but not much) come crashing through the side. Most injuries in those days was done by flying spears of wood ripped from the sides of the ship.

http://www.freewebs.com/dforecastle99/Pictures/Ships/french_frigate.JPG

erco
02-19-2012, 06:33 AM
Master & Commander... a great flick.

Microcontrolled
02-19-2012, 05:05 PM
Wow, thanks for all the positive reception to my video! You've inspired me to get out the project files again and run another (larger) simulation. I found in doing this that an iMac can handle 10,000+ KEVA planks without crashing while simulating. 1 hour of simulating and 6 hours of rendering later, I'm halfway done and will have a new video on YouTube as soon as I can edit the files. Thanks again guys. :)

@SRLM: Though there are algorithms for physics calculations, there are none (that I know of) on the market for the simulation of splintering wood. Most of what you see in movies is not a true simulation, but a well faked one. Each splinter is modeled and textured by hand, about 10 separate models are made, and then they are duplicated and emitted using a particle simulator. Particle simulators are not as accurate as physics simulators, but they do the job for cinematic effect.
The only other simulators I know of (besides physics simulators) are shatter simulators (which either cost money or don't work right) and fluid simulators.

SRLM
02-19-2012, 06:10 PM
I wasn't thinking of making any sort of additional simulator. I just wanted him to build a model of a ship using the KEVA planks, and position the camera inside a gun deck when the cannon balls (bullets) come crashing in. A "splinter" would be a plank.

Microcontrolled
02-19-2012, 08:26 PM
I might be able to do that. How large would the ship have to be in proportion to the planks? And the bullets in proportion to the ship?

SRLM
02-19-2012, 08:42 PM
If you're looking for a ship to base it off of, try searching google images for toothpick model ships. Most of the images are pretty poor (small), but you can get the general idea. It would probably be best to make the cannon balls a bit bigger than scale (as relative to the cannon bore) since the planks will be a bit bigger by scale.

http://farm6.staticflickr.com/5189/5753270752_4334ae56e2.jpg

http://www.flickr.com/photos/xt0ph3r/5753270752/sizes/m/in/photostream/

Note that this particular ship is of a design from a little bit earlier than the great cannon ships of the 18th century...

Microcontrolled
02-19-2012, 10:53 PM
@SLRM: The problem with the physics sim is that, unlike a real ship, the blocks are only held together by gravity, meaning that the ship may just crumble apart when I run the simulator. I'll try it though. It may take a while to make the model.

Microcontrolled
02-19-2012, 11:41 PM
Here's my originally mentioned new physics sim video, simulating a "table bump". Hope you like it! :)

http://www.youtube.com/watch?v=3GuQhYfl2EE&list=UUgjjU64ro-rmQjjbjFHO3GA&index=1&feature=plcp

BTW, if anyone finds the editing annoying, I'll upload a straight-up version.

Thanks,
Microcontrolled

Beau Schwabe (Parallax)
02-20-2012, 12:05 AM
I wasn't joking about a sphere made of Popsicle sticks ... :-)


This was for a "planet" project at school I was helping my daughter with ... The picture is just of the sphere sitting in a lamp as an artistic possibility filling the 'gaps' with wax or onion skin paper.. The design has longitude lines and an equator to hold everything in place, but if you repeated the longitude line pattern at every point to re-enforce the structure, I wonder how it would hold up to the simulations mentioned in this thread?

Microcontrolled
02-20-2012, 12:18 AM
Beau, that is really cool! (I did think you were kidding about it at first) I don't think it would hold up to any physics tests, though. :)

erco
02-20-2012, 01:12 AM
Nice, uC! You got that great new video generated with audio track in record time!

Beau Schwabe (Parallax)
02-20-2012, 06:10 AM
"...I don't think it would hold up to any physics tests, though." ... Why not? ... I understand that these simulations rely on 'gravity' . Why can't you define the gravity to the center of an object? ... a planet if you will. Instead of bullets, fire asteroids. re-enforce the structure with more "longitude" / "equator" bands than what I have put together and if constructed right it should be a very withstanding structure.

Microcontrolled
02-23-2012, 12:22 PM
@erco: Thanks!
@Beau: The physics engine does not allow for the breaking and bending of materials. It is, simply put, a game engine. It's main intention is to be used for the design of video games and simple simulations. It is not a fully functional and totally reliable physics simulation program, it's just good enough to make some cool videos.

That being said, it will all change when Phymec releases his "Phymec Tools" package for Bullet Physics, which will allow me to do MUCH more complicated (and cool!) simulations. See his demo here: http://www.youtube.com/watch?v=FIPu9_OGFgc&context=C3943095ADOEgsToPDskL0C1gs8Imh5ZaFoKYdlcaO