home dev games gallery work
Lewpen.com»Research & Development»3D Graphics»OpenGL»Cloth Simulation

Cloth Simulation

Simulating a cloth falling and slipping over objects
This uses a simple spring-mass system configured in a grid to simulate the internal forces on a piece of flexible material. Combined with gravity this will cause the material to fall and to slip off objects.

Files

Debug
qe_ogl.h 960 bytes
Winmain.cpp 5,583 bytes
test.cpp 5,526 bytes
qe_ogl.cpp 5,542 bytes
Vars.h 318 bytes
Related Articles

Procedural city block layout

Animated 4-dimensional objects mapped down to 3D

Analytical reflections in OpenGL

Windows C++ OpenGL example

Games

The Dodge Game
Flatspace

2-Player Games:

Quake 2D
Meteora

Puzzle Games:

Mini Tetris
Sudoku Solver

Development

3D Graphics:

3D Graphics Articles
WebGL Examples
OpenGL Examples
Flash 3D Engine
Java 3D Engine

Development:

Programming Articles
Game Development Examples

Work

Portfolio
Clients
Startups & Projects
Expertise

Links

CubeLogix Studios
PHP Charts & Graphs
Local Legends Football