Computer Graphics
Here is some graphics-related stuff that I did...
| Hail Storm This is a simulation of hail storm and snow. Collision detection between the Microsoft Windows bicycle seat mesh and the snowflakes is performed by using Axis-Aligned Bounding Box trees. Since each box in the AABB tree is specified by its center and extent, performing collision detection is very fast and is accomplished by a sweep algorithm. The code is capable of displaying AABB tree as well, as show in the screenshot below. When a stone hits the seat, it deforms it and then bounces back under seat's restitution force. The hail storm is emulated using a finite number of particles which are recycled when they reach the bottom of the bounding box, i.e. move off-screen. The simulation is using Green's Function to keep track of all particles. Forces are calculated using Barycentric force distribution.
|
|
| Constrained Particle Systems Physically-based modeling of a chain. The project is implemented via constrained particle dynamics using Lagrange multipliers. The system is also damped with velocity damping and stabilized with Baumgarte stabilization equations. First is just a swinging chain. In the second animation, one end of the chain is nailed to the top of the ring, whereas the other end is constrained to slide on the ring. There is also a graph of error with stabilization - notice how the system quickly recovers from disturbances.
|
Some older stuff...
Copyright © 2002-2003 by Greg Reshko.