My work while following along the book "The Ray Tracer Challenge"
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
JD Cantrell 50c3c2d90e
Add triangles and obj files
2 年前
pictures Fix acne bug, add watchers and preview page 3 年前
raytracer Add triangles and obj files 2 年前
tests Add triangles and obj files 2 年前
.flake8 Start chapter 4 4 年前
.gitignore Fix acne bug, add watchers and preview page 3 年前
README.md Work from chapters 1-3 4 年前
cannon.py Update vector and matrix to use numpy, still lots of broken things to fix 2 年前
clock.py Replace previous hard coded math with numpy 2 年前
cones.py Add groups 2 年前
cube.py Add Cubes, add some mp helpers 2 年前
cylinders.py Add cylinders 2 年前
floor.py Replace previous hard coded math with numpy 2 年前
plane_patterns.py Replace previous hard coded math with numpy 2 年前
poetry.lock Reflections and Refraction (#2) 2 年前
polygons.py Add a group render test 2 年前
preview.html.j2 Clean up project 3 年前
preview.py Reflections and Refraction (#2) 2 年前
pyproject.toml Reflections and Refraction (#2) 2 年前
reflections.py Replace previous hard coded math with numpy 2 年前
rr_test.py Add Cubes, add some mp helpers 2 年前
sphere_shaded.py Replace previous hard coded math with numpy 2 年前
sphere_shaded_animated.py Replace previous hard coded math with numpy 2 年前
sphere_shadow.py Replace previous hard coded math with numpy 2 年前
teapot-high.obj Add triangles and obj files 2 年前
teapot-low.obj Add triangles and obj files 2 年前
teapot-lowpoly.obj Add triangles and obj files 2 年前
teapot.obj Add triangles and obj files 2 年前
teapots.py Add triangles and obj files 2 年前
test.sh Fix acne bug, add watchers and preview page 3 年前
tetra.obj Add triangles and obj files 2 年前
wallpapered.py Replace previous hard coded math with numpy 2 年前
world.py Replace previous hard coded math with numpy 2 年前

README.md

Run poetry init to get started and then:

poetry shell
pytest
python cannon.py