Title:
OpenGL-three-teapot-three-light Download
Description: he 1 draw with light effects
2 scene contains 3 teapot, through the keyboard 123 can be respectively selected three teapot, then using the mouse to rotate each teapot separately
3 using a point light source, light source is white, with white sphere representation
4 using 3 different point light source
I light source 1 coordinate setting in the world coordinate system, and around three teapot center circular motion
II light source 2 coordinate setting during the observation coordinate system, not to change
III light source 3 coordinate setting in the teapot 1 object coordinate system, when the teapot 1 was selected rotates, light source 3 to follow the teapot 1 do the same rotation
To Search:
File list (Check if you may need any files):
OpenGL三茶壶三光源(光源绕着茶壶旋转)\GLUT32.DLL
......................................\OpenGL_App\OpenGL_App.cpp
......................................\..........\OpenGL_App.vcproj
......................................\..........\OpenGL_App.vcproj.LEI-EBC55AA8CD0.Administrator.user
......................................\..........\stdafx.cpp
......................................\..........\stdafx.h
......................................\OpenGL_App.sln
......................................\OpenGL_App.suo
......................................\Teapot_Release.exe
......................................\操作说明_ReadMe.txt
......................................\OpenGL_App
OpenGL三茶壶三光源(光源绕着茶壶旋转)