Section OpenGL:
Authoritative official website: www.opengl.org From here you can connect to all OpenGL learning is better. You can also get the latest header file.
Http://nehe.gamedev.net Why take it out. Because it is too good.
Book: Domestic can buy is two books: OpenGL Redbook and Super Collection. Not much introduction. After reading your OpenGL is almost. Of course, your graphics foundation should be solid.
There are many additional information on section Direct3DHttp: //msdn.mircosoft.com. Microsoft DirectX SDK is undoubtedly the most authoritative learning information; if you don't understand, you can see
The other is the e-book. There are many on the web .dvanced.3D.Game.Programming.with.DirectX.9.0Advanced An Animation With DirectxIntroduction to 3D Game Programming with DirectX 9.0Real-time Rendering Tricks and Techniques in DirectX.
This is what I think can be seen. Don't ask where I am. I won't tell you. Go it yourself.