For my final year project of my BSc course at Hull University I created a 3D editing application and physics library for the simulation and modelling of clothing/cloth.
The physics library was written in using C++ and compiled into a dll.
The main application for the 3D modelling was written using C++, Win32 and OpenGL.
No middle ware packages where used, the physics and application where all written from scratch.