I already made a very basic OpenGL driven application. Not what you would call a real engine but at least it displays some 3-dimensional shapes... with simulated physics...
A very amateuric program though, since it's my first program actually...
OpenGL code is easy accessable, there's a load of tutorials on it. I've also heard that DirectX is open-source, so that might also be interesting to you too...