| Last Modified On : | July 20, 2007 4:38 PM PDT |
Rate |
|
This is the binary and source of a demo we created to show how games can take advantage of multi-core processors. It's dead simple - you control a cannon facing down a terrifying, lethal... castle. Knock it down, put it back up and then knock it down again!
First shown at GDC 2006, we are continuing to improve the code to keep pace with our latest processors. Now you can download the demo and the source code to see techniques that you can use in your own game projects.
Download Demo [ZIP 22MB]
We have also created a modified version of the code which uses the Intel® Threading Building Blocks threading library for increased performance. In order to build and run this version of the code, you will need to install TBB and the original Destroy the Castle code first. Download the TBB demo.
Contact: threadyourgame@intel.com.
| July 17, 2008 4:37 PM PDT
nullsquared |
I tested Julio's version, definitely more stable. The original version would have the castle fall down on its own after a period of time due to the consistent wiggling and juddering of the unstable physics bodies. The version that used Newton (by Julio) contains no juddering of the highly stacked physics bodies, and it's completely stable. |
| January 4, 2009 11:46 AM PST
Jason P Sage |
Agreed - the Newton Version is much cooler. You can sometimes nail the castle in a way where the bricks just do a quick jostle - and not even fall - but you see the "shock" through and through - Very VERY cool. --Jason |
| April 14, 2009 9:03 PM PDT
Doug Rogers |
Bug: In Particles.cpp, line 485 or so HRESULT Particles::OnCreateDevice( IDirect3DDevice9* pd3dDevice ) The FVF should be D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1 Cool demo, though. |
| October 29, 2009 8:24 AM PDT
kisu
| The TBB version of the Code might be missing some code, has ne one else tried running the TBB version !? |

Julio Jerez
I adapted this nice demo to run using the Newton Archemidea engine
http://www.newtondynamics.com/downloads/IntelDemo_DTC_runtime.zip
I believe it runs faster and a more stable that the origin which unaltered in the download as well.