More seriously, there are a lot of books on the subjects of game engines and physics. If you really want to "roll-your-own" I would suggest picking some up. Do a search on Amazon.
This is not an easy programming task, however. So if you are not an expert on C++, you should pick up some books on that first...
here is the source code ( and some resources and demo) of a 3D engine that is aprox 20 years old. Written for DOS on 386+ better machine in C++. if cannot figure out the basics of this engine you will have a harder time at a more modern engine.
Re: Does anyone know how to...
[Re: ventilator]
#31243 07/31/0404:2207/31/0404:22
Quote: ...to create a 3d engine or a physics engine you need very good programming / maths / physics skills!
Most of the time, especially nowadays, you need maybe three or more excellent programmers with exceptional math skills and EVEN then it might take a couple years of 9 to 5 programming to get it done.
It depends on the scope or definition of "engine". To make an engine as developed as acknex is one thing, to render a few polygons on the screen is another thing altogether.