登录
首页 » OpenGL图像 » 本程序实现以下功能: 1.绘制茶壶(T) 2.添加光照(T) 3.添加纹理(T) 4.鼠标左键控制茶壶旋转(T) 操作步骤:按鼠标左键茶壶...

本程序实现以下功能: 1.绘制茶壶(T) 2.添加光照(T) 3.添加纹理(T) 4.鼠标左键控制茶壶旋转(T) 操作步骤:按鼠标左键茶壶...

于 2022-04-23 发布 文件大小:2.38 kB
0 170
下载积分: 2 下载次数: 1

代码说明:

本程序实现以下功能: 1.绘制茶壶(T) 2.添加光照(T) 3.添加纹理(T) 4.鼠标左键控制茶壶旋转(T) 操作步骤:按鼠标左键茶壶旋转,按一次旋转30°。 5.鼠标右键控制茶壶平移(T) 操作步骤:按鼠标右键茶壶向右移动,每次移动0.5厘米 6.键盘控制茶壶纹理的变化(T) 操作步骤:按键盘的 w 和 s 键实现纹理的改变 7.键盘方向键控制camera的前进后退,左移和后移 (T) 操作步骤:按键盘的四个方向键实现茶壶四种方向的移动 8.实现水壶的退出-This procedure to achieve the following functions: 1. Drawing teapot (T) 2. Add light (T) 3. Add texture (T) 4. Teapot rotating the left mouse button to control (T) steps: Click the left mouse button rotate the pot by a rotation 30 °. 5. Teapot with the right mouse button to control translation (T) steps: Click the right mouse button to the right teapot mobile, each mobile 0.5 centimeters 6. Teapot keyboard to control the changes in texture (T) steps: click the " w " and" s" key changes to achieve texture 7. the keyboard arrow keys to control the forward camera back, the left and post-shift (T) steps: the four keyboard arrow keys to achieve the direction of movement of the four teapot 8. to achieve water out of the

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • OPENGL编程飞机三维仿真
    针对飞机三维模型的设计与实现,首先利用专业建模软件3DS MAX 来建立飞机模型。然后将飞机模型文件格式用软件3D Exploration进行转换并导入工程。虽然3DS MAX建模方便,效果逼真,但是用3DS MAX制作的动画没有交互性,无法实时控制,而OpenGL的实时控制功能强大,因此需要将3DS MAX建立的飞机模型文件进行转换,转换后将新模型文件添加到仿真程序工程中。最后利用OpenGL 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-01-28 14:46:19下载
    积分:1
  • OpenGL特效:透明物体并带光照,物体呈透明感且发出光芒
    OpenGL特效:透明物体并带光照,物体呈透明感且发出光芒-OpenGL effects : transparent objects and bring light, transparent objects flu but to shine
    2022-03-29 06:56:43下载
    积分:1
  • OpenGL编写的烟花屏保
    利用OpenGL编写的烟花屏幕保护,烟花升空时还有烟花燃放的声音和鞭炮声,程序里利用FMOD库实现了播放MP3等声音文件的功能。屏幕保护程序的关键是对以下两个入口函数的编写:1、屏幕保护处理程序入口函数LRESULT WINAPI ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)2、屏幕保护设置对话框BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
    2022-02-03 17:33:40下载
    积分:1
  • 基于C++环境的OPENGL编程源码.
    基于C++环境的OPENGL编程源码.-based on C programming environment OpenGL source.
    2022-06-12 09:23:59下载
    积分:1
  • 利用opengl绘制三次bezier曲线,B
    利用opengl绘制三次bezier曲线,B--绘制曲线 C--全部重绘 E--重绘曲线 Q--退出-Use opengl rendering three Bezier curves, B drawn curve C all redraw redraw E curve Q Quit
    2022-03-21 00:13:33下载
    积分:1
  • 使用鼠标动态绘制直线,以及将屏幕坐标转换为OpenGL坐标。
    使用鼠标动态绘制直线,以及将屏幕坐标转换为OpenGL坐标。-use a mouse linear dynamic mapping, and to coordinate conversion to the screen coordinates of OpenGL.
    2022-05-30 08:34:39下载
    积分:1
  • NeHe教程的源码
    NeHe教程的源码-NeHe course source code
    2022-07-04 14:37:01下载
    积分:1
  • 将三维变换立方体变形为球
    将立方体转化为球。使用opengl库创建的程序。在Visual Studio 2013上正确运行。
    2022-03-21 02:01:21下载
    积分:1
  • 处理程序,OpenGL编程OpenGChap02_MultiView.rar
    图像处理程序,OpenGL编程OpenGChap02_MultiView.rar-Image processing procedures, OpenGL Programming OpenGChap02_MultiView.rar
    2022-08-26 08:02:50下载
    积分:1
  • 一个3D Opengl的gear齿轮模拟程序。
    一个3D Opengl的gear齿轮模拟程序。-Opengl a 3D simulation of the gear gear procedures.
    2022-03-01 02:13:09下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载