ascii3d:ASCII艺术中的3D渲染

时间:2024-05-04 10:51:09
【文件属性】:

文件名称:ascii3d:ASCII艺术中的3D渲染

文件大小:1.13MB

文件格式:ZIP

更新时间:2024-05-04 10:51:09

C++

ASCII艺术 图像到ASCII艺术转换的C ++实现。 主要功能在ascii_art中的ascii_art.h 。 对于常规输入,我使用stb_image_resize.h调整输入大小。 否则,唯一的依赖关系就是标准库。 共有三个可执行的演示对此进行了公开: image2ascii 将输入图像转换为ASCII艺术 例如,如果您发出: ./image2ascii ../max-schmeling.jpg 你会看到的: ______ __qMMMMMMMMMMp___ _qMMMMMMMMMMMMMMMQQp_ _QMMMMMMMMMMQMMMMMMMQMQ_ _QMMMMMMMMMM


【文件预览】:
ascii3d-master
----.gitmodules(146B)
----cmake()
--------FindLIBIGL.cmake(962B)
----terminal_size.h(2KB)
----include()
--------Material.h(266B)
--------reflect.h(341B)
--------write_ppm.h(658B)
--------Plane.h(644B)
--------Light.h(645B)
--------dirname.h(2KB)
--------raycolor.h(881B)
--------TriangleSoup.h(810B)
--------PointLight.h(536B)
--------Ray.h(300B)
--------Object.h(831B)
--------Triangle.h(692B)
--------first_hit.h(895B)
--------json.hpp(624KB)
--------DirectionalLight.h(599B)
--------blinn_phong_shading.h(965B)
--------Camera.h(347B)
--------read_json.h(6KB)
--------Sphere.h(647B)
--------readSTL.h(10KB)
--------viewing_ray.h(666B)
----src()
--------write_ppm.cpp(973B)
--------DirectionalLight.cpp(259B)
--------PointLight.cpp(155B)
--------TriangleSoup.cpp(635B)
--------Plane.cpp(408B)
--------Sphere.cpp(802B)
--------Triangle.cpp(2KB)
--------viewing_ray.cpp(416B)
--------first_hit.cpp(517B)
--------raycolor.cpp(560B)
--------blinn_phong_shading.cpp(1KB)
--------reflect.cpp(600B)
----ascii_art.cpp(3KB)
----ascii_art.h(1KB)
----spy.cpp(2KB)
----.gitignore(279B)
----stb()
----image2ascii.cpp(2KB)
----CMakeLists.txt(741B)
----CourierNewB.h(24KB)
----ascii3d.cpp(7KB)
----max-schmeling.jpg(109KB)
----README.md(13KB)
----suzanne.obj(399KB)
----libigl()
----suzanne-ascii3d.gif(799KB)

网友评论