Description: 此代码向你展示OPENGL的强大功能,一个完美的茶壶-This code to your OPENGL display the power of a perfect teapot Platform: |
Size: 404480 |
Author:lanjinhe |
Hits:
Description: 使用OpenGL結合MFC做3維立體顯示一茶壺,並可以利用滑鼠右鍵選擇做平移、縮放及旋轉的基本操作功能。-The use of OpenGL with MFC to do three-dimensional stereoscopic display a teapot, and can choose to use right pan, zoom and rotate the basic operating functions. Platform: |
Size: 377856 |
Author:王曉銘 |
Hits:
Description: 在OpenGL中可以绕任意轴旋转的茶壶,也可以用鼠标操作!-In OpenGL, you can rotate the teapot around an arbitrary axis, you can also use the mouse! Platform: |
Size: 436224 |
Author:randy |
Hits:
Description: 1. 绘制带有光照效果的场景;
2. 场景包含 3 个茶壶,通过键盘 123 可以分别选中三个茶壶,然后用鼠标对每个茶壶 进行分别的旋转;
3. 使用点光源,点光源为白色,以白色的球体表示;
4. 使用 3 个不同的点光源
i. 光源 1 的坐标设置在世界坐标系中,并围绕着三个茶壶的中心进行圆周运动;
ii. 光源 2 的坐标 设置在观察坐标系,不发生变化;
iii. 光源 3 的坐标设置在茶壶 1 的物体坐标系中,当茶壶 1 被选中进行旋转时,光 源 3 要跟随茶壶 1 做相同的旋转;-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 Platform: |
Size: 69632 |
Author:雷勇 |
Hits: