Spot
====
contact: Keenan Crane (keenan@cs.caltech.edu)
Files
--------------------------------------------
This archive contains a description of the surface "Spot," including:
1. the original Catmull-Clark control mesh [spot_control_mesh.obj]
2. the original texture map as a vector image [spot_texture.svg]
3. triangular and quadrilateral tessellations [spot_triangulated.obj, spot_quadrangulated.obj]
4. the texture map as a raster image [spot_texture.png]
Note that (3) and (4) can be generated from (1) and (2), and are provided only
for convenience. Meshes are stored in the Wavefront OBJ format. All meshes
are manifold, genus-0 embeddings. The texture map should be interpreted as a
unit square in the positive quadrant [0,1]x[0,1].
License
--------------------------------------------
As the sole author of this data, I hereby release it into the public domain.
没有合适的资源?快使用搜索试试~ 我知道了~
GAMES101-现代计算机图形学学习笔记(作业03)
共112个文件
json:19个
tlog:15个
obj:10个
需积分: 48 33 下载量 80 浏览量
2020-06-28
15:57:44
上传
评论 2
收藏 47.21MB ZIP 举报
温馨提示
在这次编程任务中,我们会进一步模拟现代图形技术。我们在代码中添加了 Object Loader(用于加载三维模型), Vertex Shader 与 Fragment Shader,并且支持 了纹理映射。 而在本次实验中,你需要完成的任务是: 1. 修改函数 rasterize_triangle(const Triangle& t) in rasterizer.cpp: 在此 处实现与作业 2 类似的插值算法,实现法向量、颜色、纹理颜色的插值。 2. 修改函数 get_projection_matrix() in main.cpp: 将你自己在之前的实验中 实现的投影矩阵填到此处,此时你可以运行 ./Rasterizer output.png normal 来观察法向量实现结果。 3. 修改函数 phong_fragment_shader() in main.cpp: 实现 Blinn-Phong 模型计 算 Fragment Color. 4. 修改函数 texture_fragment_shader() in main.cpp: 在实现 Blinn-Phong 的基础上,将纹理颜色视为公式中的 kd,实现 Texture Shading Fragment Shader. 5. 修改函数 bump_fragment_shader() in main.cpp: 在实现 Blinn-Phong 的 基础上,仔细阅读该函数中的注释,实现 Bump mapping. 6. 修改函数 displacement_fragment_shader() in main.cpp: 在实现 Bump mapping 的基础上,实现 displacement mapping.
资源推荐
资源详情
资源评论
收起资源包目录
GAMES101-现代计算机图形学学习笔记(作业03) (112个子文件)
Crate1.3ds 800B
CMakeDetermineCompilerABI_C.bin 48KB
CMakeDetermineCompilerABI_CXX.bin 48KB
Crate1.blend 473KB
CMakeCCompilerId.c 20KB
cmake.check_cache 86B
CMakeCXXCompiler.cmake 5KB
CMakeCCompiler.cmake 2KB
cmake_install.cmake 1KB
CMakeSystem.cmake 395B
CMakeRCCompiler.cmake 276B
CMakeCXXCompilerId.cpp 20KB
main.cpp 16KB
rasterizer.cpp 11KB
Triangle.cpp 2KB
Texture.cpp 40B
generate.stamp.depend 2KB
opencv_world430d.dll 107.53MB
opencv_world430.dll 56.78MB
CompilerIdCXX.exe 15KB
CompilerIdC.exe 15KB
Rasterizer.vcxproj.filters 2KB
ZERO_CHECK.vcxproj.filters 538B
ALL_BUILD.vcxproj.filters 295B
OBJ_Loader.h 38KB
rasterizer.hpp 3KB
Texture.hpp 2KB
Triangle.hpp 1KB
Shader.hpp 685B
global.hpp 207B
hmap.jpg 202KB
crate_1.jpg 29KB
CrateImage1.JPG 25KB
CrateImage2.JPG 20KB
cache-v2-e41312598d9804a988c8.json 21KB
codemodel-v2-15fe4a183841298a39fe.json 5KB
target-Rasterizer-RelWithDebInfo-0a3d1581d802c6b0c437.json 4KB
target-Rasterizer-Debug-225ac5a1340f66539ff8.json 4KB
target-Rasterizer-MinSizeRel-ef57b506cbbeec363e82.json 4KB
target-Rasterizer-Release-c7533aa282c42cb938e8.json 4KB
settings.json 2KB
index-2020-06-28T07-52-16-0571.json 1KB
launch.json 677B
target-ZERO_CHECK-Release-bdb59cb76cea053e3f54.json 659B
target-ZERO_CHECK-MinSizeRel-bdb59cb76cea053e3f54.json 659B
target-ZERO_CHECK-Debug-bdb59cb76cea053e3f54.json 659B
target-ZERO_CHECK-RelWithDebInfo-bdb59cb76cea053e3f54.json 659B
target-ALL_BUILD-MinSizeRel-7a0f8eb9b399f5290e2a.json 516B
target-ALL_BUILD-Release-7a0f8eb9b399f5290e2a.json 516B
target-ALL_BUILD-Debug-7a0f8eb9b399f5290e2a.json 516B
target-ALL_BUILD-RelWithDebInfo-7a0f8eb9b399f5290e2a.json 516B
tasks.json 400B
query.json 76B
CompilerIdCXX.lastbuildstate 212B
CompilerIdC.lastbuildstate 210B
VCTargetsPath.lastbuildstate 198B
ALL_BUILD.lastbuildstate 176B
generate.stamp.list 74B
CMakeOutput.log 10KB
Rasterizer.Build.CppClean.log 2KB
ZERO_CHECK.Build.CppClean.log 405B
Crate1.mtl 272B
rock.mtl 239B
cube.mtl 227B
spot_triangulated_good.obj 512KB
spot_triangulated.obj 323KB
spot_quadrangulated.obj 264KB
bunny.obj 194KB
spot_control_mesh.obj 16KB
rock.obj 15KB
CMakeCXXCompilerId.obj 2KB
CMakeCCompilerId.obj 2KB
cube.obj 1KB
Crate1.obj 557B
Assignment3.pdf 655KB
rock.png 629KB
output.png 109KB
spot_texture.png 77KB
spot_texture_512px.png 41KB
generate.stamp.rule 24B
Rasterizer.sln 3KB
spot_texture.svg 5KB
wall1.tif 176KB
wall.tif 160KB
link.read.1.tlog 3KB
link.read.1.tlog 3KB
CustomBuild.read.1.tlog 2KB
link.command.1.tlog 1KB
link.command.1.tlog 1KB
CL.command.1.tlog 778B
CL.command.1.tlog 754B
CL.read.1.tlog 620B
CL.read.1.tlog 608B
CustomBuild.command.1.tlog 465B
CL.write.1.tlog 444B
link.write.1.tlog 434B
CL.write.1.tlog 424B
link.write.1.tlog 418B
CustomBuild.write.1.tlog 132B
CMakeCache.txt 14KB
共 112 条
- 1
- 2
资源评论
Top续雨
- 粉丝: 37
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python-leetcode面试题解之第157题用Read4读取N个字符-题解.zip
- python-leetcode面试题解之第156题上下翻转二叉树-题解.zip
- python-leetcode面试题解之第155题最小栈-题解.zip
- python-leetcode面试题解之第153题寻找旋转排序数组中的最小值-题解.zip
- python-leetcode面试题解之第152题乘积最大子数组-题解.zip
- python-leetcode面试题解之第151题反转字符串中的单词-题解.zip
- python-leetcode面试题解之第150题逆波兰表达式求值-题解.zip
- python-leetcode面试题解之第149题直线上最多的点数-题解.zip
- python-leetcode面试题解之第148题排序链表-题解.zip
- python-leetcode面试题解之第147题对链表进行插入排序-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功