-
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix hopf fibration pov file missing bug
- Loading branch information
1 parent
9379bc0
commit ebed3f4
Showing
6 changed files
with
70 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# A Tour in the Wonderland of Math with Python | ||
|
||
[![CI](https://github.com/neozhaoliang/pywonderland/actions/workflows/test.yaml/badge.svg)](https://github.com/neozhaoliang/pywonderland/actions/workflows/test.yaml) | ||
[![CI](https://github.com/neozhaoliang/pywonderland/actions/workflows/test.yaml/badge.svg)](https://github.com/neozhaoliang/pywonderland/actions/workflows/test.yaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#version 3.7; | ||
|
||
global_settings { | ||
assumed_gamma 2.2 | ||
max_trace_level 10 | ||
} | ||
|
||
#declare TubeThickness = 0.05; | ||
|
||
#macro Torus(center, rad, mat, col) | ||
torus { | ||
rad, TubeThickness | ||
texture { | ||
pigment { | ||
color col | ||
} | ||
finish { | ||
ambient 0.4 | ||
diffuse 0.5 | ||
specular 0.6 | ||
roughness 0.1 | ||
reflection 0 | ||
} | ||
} | ||
matrix <mat[0].x, mat[0].y, mat[0].z, | ||
mat[1].x, mat[1].y, mat[1].z, | ||
mat[2].x, mat[2].y, mat[2].z, | ||
0, 0, 0> | ||
translate center | ||
} | ||
#end | ||
|
||
union { | ||
#include "torus-data.inc" | ||
} | ||
|
||
camera { | ||
location <0, 0, 1> * 9 | ||
look_at <0, 0, 0> | ||
right x*image_width/image_height | ||
up y | ||
sky y | ||
} | ||
|
||
light_source { | ||
<0, 1, 1> * 100 | ||
color rgb 1 | ||
area_light | ||
x*32, z*32, 5, 5 | ||
adaptive 1 | ||
jitter | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters