【文件属性】:
文件名称:luz:luz
文件大小:2.32MB
文件格式:ZIP
更新时间:2021-02-26 11:07:11
Python
鲁兹 :light_bulb:
一个简单的使用MPI的python3 raytracer呈现为ASCII,适合作为集群测试工具。
要求:
皮尔
麻木
大熊猫
py4mpi
argparse
实施:
硬阴影
思考
兰伯特阴影
Phong-Blinn底纹
领域
飞机
相机任意定位
json场景文件
用法:
mpirun -np 5 --oversubscribe python3 luz.py
usage: luz.py [-h] [--bounces BOUNCES] [--height HEIGHT] [--width WIDTH] [--cols COLS] [--sd SD] [--output OUTPUT] [--scene SCENE] [--stats] [--long] [--camera CAMERA [CAMERA ...]]
[--target TARG
【文件预览】:
luz-main
----.gitignore(13B)
----sphere.py(2KB)
----ray.py(1022B)
----render.png(1.04MB)
----object.py(2KB)
----triangle.py(2KB)
----point.py(479B)
----README.md(2KB)
----plane.py(1KB)
----scene.json(2KB)
----luz_ascii.png(1.29MB)
----luz.py(12KB)