Ova stranica je dokumentacija za projekt iz Računalne grafike, u kojem sam obradio implementaciju sudara. Sudar se odvija između kugli te kugli i zidova. Opisat ću općenito problem implementacije sudara, svoju implementaciju sudara između dvije kugle unutar zadanog prostora te primjer izvođenja. |
Basic 2D Vector Physics: Acceleration, Orientation and Friction - http://cecilsunkure.blogspot.com/2012/02/basic-2d-vector-physics.html, dostupno 26.1.2014.
Simple Collision Detection - http://relativity.net.au/gaming/java/SimpleCollisionDetection.html, dostupno 26.1.2014.
Lesson 10 - Collision Detection - http://www.videotutorialsrock.com/opengl_tutorial/collision_detection/text.php, dostupno 26.1.2014.
Basic 2D Vector Physics: Acceleration, Orientation and Friction - http://cecilsunkure.blogspot.com/2012/02/basic-2d-vector-physics.html, dostupno 26.1.2014.
D. Conger - Physics Modeling for Game Programmers
Collision detection (canvas) - http://bl.ocks.org/mbostock/3231307
Multiple circle / cirlce collision detection - http://www.openprocessing.org/sketch/49290
Collision detection - http://www.edenwaith.com/products/pige/tutorials/collision.php