forked from google/filament
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Color::absorptionAtDistance() to compute absorption for refractio…
…n. (google#1964) Specifying the transmittance color at a specific distance is more user-friendly than specifying absorption coefficients directly.
- Loading branch information
Showing
7 changed files
with
79 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Blender MTL File: 'None' | ||
# Material Count: 1 | ||
|
||
newmtl None | ||
Ns 500 | ||
Ka 0.8 0.8 0.8 | ||
Kd 0.8 0.8 0.8 | ||
Ks 0.8 0.8 0.8 | ||
d 1 | ||
illum 2 |
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,34 @@ | ||
# Blender v2.81 (sub 16) OBJ File: '' | ||
# www.blender.org | ||
mtllib prism.mtl | ||
o Cube_Cube.001 | ||
v 0.500000 0.000000 0.325000 | ||
v 0.500000 1.000000 -0.000000 | ||
v -0.500000 0.000000 0.325000 | ||
v -0.500000 1.000000 0.000000 | ||
v 0.500000 0.000000 -0.325000 | ||
v -0.500000 0.000000 -0.325000 | ||
vt 0.375000 0.000000 | ||
vt 0.625000 0.000000 | ||
vt 0.625000 0.250000 | ||
vt 0.375000 0.250000 | ||
vt 0.375000 0.500000 | ||
vt 0.375000 0.750000 | ||
vt 0.625000 1.000000 | ||
vt 0.375000 1.000000 | ||
vt 0.125000 0.500000 | ||
vt 0.125000 0.750000 | ||
vt 0.875000 0.500000 | ||
vt 0.875000 0.750000 | ||
vn 0.0000 0.3091 0.9510 | ||
vn -1.0000 0.0000 0.0000 | ||
vn 1.0000 0.0000 0.0000 | ||
vn 0.0000 -1.0000 0.0000 | ||
vn -0.0000 0.3091 -0.9510 | ||
usemtl None | ||
s off | ||
f 1/1/1 2/2/1 4/3/1 3/4/1 | ||
f 3/4/2 4/3/2 6/5/2 | ||
f 5/6/3 2/7/3 1/8/3 | ||
f 3/9/4 6/5/4 5/6/4 1/10/4 | ||
f 4/11/5 2/12/5 5/6/5 6/5/5 |
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
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