CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - stop light
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - stop light - List
[
OpenGL program
]
Teapot
DL : 0
功程序中已预设了多种颜色,通过单击键盘C键可以不断地改变茶壶的颜色;通过键盘的方向键可以调整光源的位置,左移光源,右移光源,上移光源,下移光源,从而改变茶壶的光影显示效果;单击键盘R键可使茶壶自动旋转,再次单击则停止旋转;在茶壶旋转过程中,可通 过X键,Y键,Z键来改变茶壶的旋转轴;按着鼠标左键不放,移动鼠标可以像Google Earth似的手动的地旋转茶壶;按着鼠标右键不放,向上移动鼠标可以使茶壶缩小,向下可以是茶壶变大;但茶壶不会变得过大或过小。-Power program has been pre-set a variety of colors, by clicking on the keyboard C key to continuously change the color of tea through the keyboard arrow keys to adjust the light source position, left light, shifted to the right light source, the shift light source, the next shift light source, thus changing the light and shadow teapot display click the R button allows the keyboard auto-rotating teapot, then click again to stop rotating in pot rotation process, available through X button, Y button, Z key to the rotation axis to change the teapot by pressing the left mouse button and hold, move the mouse can be like a Google Earth like manually rotating the teapot by pressing the right mouse button and hold the mouse can move up teapot narrowed down can be a bigger pot but pot does not become too large or too small.
Date
: 2025-12-27
Size
: 129kb
User
:
卢成彪
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.