Change search
ReferencesLink to record
Permanent link

Direct link
Real-Time Rigid Body Interactions
Norwegian University of Science and Technology, Faculty of Information Technology, Mathematics and Electrical Engineering, Department of Computer and Information Science.
2011 (English)MasteroppgaveStudent thesis
Abstract [en]

Rigid body simulations are useful in many areas, most notably video games and computer animation. However, the requirements for accuracy and performance vary greatly between applications. In this project we combine methods and techniques from different sources to implement a rigid body simulation. The simulation uses a particle representation to approximate objects with the intent of reaching better performance at the cost of accuracy. We simulate cubes in order to showcase the behavior of our simulation, and also to highlight its flaws. We also write a graphical interface for our simulation using OpenGL which allows us to move and zoom around our simulation, and choose whether to render cube geometry or the particle representations. We show how our simulation behaves in a realistic way, and when running our simulation on a CPU we are able to simulate several hundred cubes in real-time. We use OpenCL to accelerate our simulation on a GPU, and take advantage of OpenCL/OpenGL interoperability to increase performance. Our OpenCL implementation achieves speedups up to 12 compared to the CPU version, and is able to simulate thousands of cubes in real-time.

Place, publisher, year, edition, pages
Institutt for datateknikk og informasjonsvitenskap , 2011. , 73 p.
Keyword [no]
ntnudaim:6230, MTDT datateknikk, Komplekse datasystemer
URN: urn:nbn:no:ntnu:diva-13919Local ID: ntnudaim:6230OAI: diva2:444237
Available from: 2011-09-28 Created: 2011-09-28

Open Access in DiVA

fulltext(2814 kB)344 downloads
File information
File name FULLTEXT01.pdfFile size 2814 kBChecksum SHA-512
Type fulltextMimetype application/pdf
cover(98 kB)28 downloads
File information
File name COVER01.pdfFile size 98 kBChecksum SHA-512
Type coverMimetype application/pdf
attachment(35408 kB)1340 downloads
File information
File name ATTACHMENT01.zipFile size 35408 kBChecksum SHA-512
Type attachmentMimetype application/zip

By organisation
Department of Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 344 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 228 hits
ReferencesLink to record
Permanent link

Direct link