计算机图形学实验(基于shader)

上传者: 50982418 | 上传时间: 2024-06-26 11:21:39 | 文件大小: 414.87MB | 文件类型: RAR
实验一 基于着色器的二维图形绘制 1.在 VC++ 环境下 ,练习利用 OpenGL 绘制三角形的程序。 2.编程实现绘制多个不同效果的五角星。 实验二 基于着色器的二维图形几何变换 1. 五角星实现以任意角度在矩形框内部滚动,与边界碰撞时发生的反弹参考台球在桌案上的滚动效果。 2. 实现矩形框内一个五角星的连续放缩(大小变化)。 3. 两个五角星不能互相穿越,发生碰撞时能够实现反弹,反弹参考台球在桌案上的滚动效果。 实验三 简单三维虚拟场景漫游 1. 以所提供代码范例为基础,丰富三维场景。 2. 三维交互漫游 实验四 光照模型及设置 1.为三维场景添加光照功能,光源用同颜色的小球体表示。 2.通过键盘按键交互实现光源的移动。移动光源时,能看到物体表面颜色的变化。 3.实现物体表面具有纹理和颜色两种模式下的光照效果。 以上效果实现大差不差。

文件下载

资源详情

[{"title":"( 1416 个子文件 414.87MB ) 计算机图形学实验(基于shader)","children":[{"title":"fish.bmp <span style='color:#111;'> 4.69MB </span>","children":null,"spread":false},{"title":"water1.bmp <span style='color:#111;'> 3.00MB </span>","children":null,"spread":false},{"title":"timg.bmp <span style='color:#111;'> 768.05KB </span>","children":null,"spread":false},{"title":"desert.bmp <span style='color:#111;'> 192.05KB </span>","children":null,"spread":false},{"title":"1.bmp <span style='color:#111;'> 48.05KB </span>","children":null,"spread":false},{"title":"4.BMP <span style='color:#111;'> 38.38KB </span>","children":null,"spread":false},{"title":"2.BMP <span style='color:#111;'> 18.03KB </span>","children":null,"spread":false},{"title":"3.BMP <span style='color:#111;'> 9.90KB </span>","children":null,"spread":false},{"title":"OpenGLOld.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"ProjectOne.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"OpenGLOld.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"ProjectOne.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"ProjectOne.cpp <span style='color:#111;'> 15.92KB </span>","children":null,"spread":false},{"title":"cgProgram.cpp <span style='color:#111;'> 14.26KB </span>","children":null,"spread":false},{"title":"cgProgram.cpp <span style='color:#111;'> 14.26KB </span>","children":null,"spread":false},{"title":"cgProgram.cpp <span style='color:#111;'> 14.26KB </span>","children":null,"spread":false},{"title":"ProjectOne.cpp <span style='color:#111;'> 10.02KB </span>","children":null,"spread":false},{"title":"Project4.cpp <span style='color:#111;'> 7.27KB </span>","children":null,"spread":false},{"title":"cgSphere.cpp <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"cgcube.cpp <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"cgcylinder.cpp <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"dummy.cpp <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"dummy.cpp <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"dummy.cpp <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"OpenGLOld.cpp <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"OpenGLOld.cpp <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"cgTriangle.cpp <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"cgPoint3D.cpp <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 46.04MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 44.22MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 41.84MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 41.67MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 41.56MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 34.30MB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 23.94MB </span>","children":null,"spread":false},{"title":"Solution.VC.db <span style='color:#111;'> 1.45MB </span>","children":null,"spread":false},{"title":"Solution.VC.db <span style='color:#111;'> 752.00KB </span>","children":null,"spread":false},{"title":"glut64d.dll <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"glut64d.dll <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"glut32d.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"glut32d.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"glew64d.dll <span style='color:#111;'> 578.50KB </span>","children":null,"spread":false},{"title":"glew64d.dll <span style='color:#111;'> 578.50KB </span>","children":null,"spread":false},{"title":"glew32d.dll <span style='color:#111;'> 564.00KB </span>","children":null,"spread":false},{"title":"glew32d.dll <span style='color:#111;'> 564.00KB </span>","children":null,"spread":false},{"title":"glew32d.dll <span style='color:#111;'> 549.00KB </span>","children":null,"spread":false},{"title":"glut64.dll <span style='color:#111;'> 546.50KB </span>","children":null,"spread":false},{"title":"glut64.dll <span style='color:#111;'> 546.50KB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 439.00KB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 439.00KB </span>","children":null,"spread":false},{"title":"glew64.dll <span style='color:#111;'> 416.50KB </span>","children":null,"spread":false},{"title":"glew64.dll <span style='color:#111;'> 416.50KB </span>","children":null,"spread":false},{"title":"glew32.dll <span style='color:#111;'> 381.00KB </span>","children":null,"spread":false},{"title":"glew32.dll <span style='color:#111;'> 381.00KB </span>","children":null,"spread":false},{"title":"glew32.dll <span style='color:#111;'> 381.00KB </span>","children":null,"spread":false},{"title":"glew32.dll <span style='color:#111;'> 381.00KB </span>","children":null,"spread":false},{"title":"glew32.dll <span style='color:#111;'> 381.00KB </span>","children":null,"spread":false},{"title":"简要说明.docx <span style='color:#111;'> 271.97KB </span>","children":null,"spread":false},{"title":"简要说明.docx <span style='color:#111;'> 271.97KB </span>","children":null,"spread":false},{"title":"glewinfod.exe <span style='color:#111;'> 822.50KB </span>","children":null,"spread":false},{"title":"glewinfod.exe <span style='color:#111;'> 822.50KB </span>","children":null,"spread":false},{"title":"visualinfod.exe <span style='color:#111;'> 463.00KB </span>","children":null,"spread":false},{"title":"visualinfod.exe <span style='color:#111;'> 463.00KB </span>","children":null,"spread":false},{"title":"Project4.exe <span style='color:#111;'> 387.50KB </span>","children":null,"spread":false},{"title":"ProjectOne.exe <span style='color:#111;'> 230.00KB </span>","children":null,"spread":false},{"title":"ProjectOne.exe <span style='color:#111;'> 217.50KB </span>","children":null,"spread":false},{"title":"OpenGLOld.exe <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"OpenGLOld.exe <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"Project4.vcxproj.filters <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"ProjectOne.vcxproj.filters <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"ProjectOne.vcxproj.filters <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"OpenGLOld.vcxproj.filters <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"OpenGLOld.vcxproj.filters <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"tplight.fs <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"plight.fs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"texture.fs <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"glight.fs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"basic.fs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"3D.fs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"basic.fs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"basic.fs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"glew.h <span style='color:#111;'> 1.15MB </span>","children":null,"spread":false},{"title":"glew.h <span style='color:#111;'> 1.15MB </span>","children":null,"spread":false},{"title":"glew.h <span style='color:#111;'> 1.15MB </span>","children":null,"spread":false},{"title":"freetype.h <span style='color:#111;'> 291.28KB </span>","children":null,"spread":false},{"title":"freetype.h <span style='color:#111;'> 291.28KB </span>","children":null,"spread":false},{"title":"freetype.h <span style='color:#111;'> 291.28KB </span>","children":null,"spread":false},{"title":"eglew.h <span style='color:#111;'> 103.72KB </span>","children":null,"spread":false},{"title":"eglew.h <span style='color:#111;'> 103.72KB </span>","children":null,"spread":false},{"title":"eglew.h <span style='color:#111;'> 103.72KB </span>","children":null,"spread":false},{"title":"tttypes.h <span style='color:#111;'> 94.92KB </span>","children":null,"spread":false},{"title":"tttypes.h <span style='color:#111;'> 94.92KB </span>","children":null,"spread":false},{"title":"tttypes.h <span style='color:#111;'> 94.92KB </span>","children":null,"spread":false},{"title":"ftobjs.h <span style='color:#111;'> 82.50KB </span>","children":null,"spread":false},{"title":"ftobjs.h <span style='color:#111;'> 82.50KB </span>","children":null,"spread":false},{"title":"ftobjs.h <span style='color:#111;'> 82.50KB </span>","children":null,"spread":false},{"title":"ftimage.h <span style='color:#111;'> 75.08KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明