Introduction - If you have any usage issues, please Google them yourself
This procedure is based on the basic framework of the game and is based on Direct3D to realize in a simple drawing of a cube scene and set up different types of light irradiation object, the method in shading Gouraud shading by using our method, the procedure is running We can use the keyboard keys to control the specific switching different light sources, as well as the cube movement.
Packet : 17869329cube.rar filelist
cube\cam+light.cpp
cube\cam+light.h
cube\cob_parser.cpp
cube\cob_parser.h
cube\cube.cob
cube\cube.dsp
cube\cube.dsw
cube\cube.exe
cube\cube.ncb
cube\cubedraw.cpp
cube\cubedraw.h
cube\cubemath.cpp
cube\cubemath.h
cube\cube_main.cpp
cube\d3ddraw.cpp
cube\d3ddraw.h
cube\Debug
cube