Earthshine and moonshine
This commit is contained in:
1 parent
768a4e9c53
commit
ff2ef10804
19 files changed
+1665
-138
No files matched your search
@@ -45,7 +45,8 @@ struct RenderArgs {
|
||||
/// An 8-bit sRGB PNG for viewing: bias subtracted, saturation as white.
|
||||
#[arg(long)]
|
||||
preview: Option<PathBuf>,
|
||||
/// Lighting fidelity tier: L0, or L1 (adds Earth's surface; needs Blue Marble data).
|
||||
/// Lighting fidelity tier: L0, or L1 (adds Earth's surface, shadows on targets and
|
||||
/// light from Earth and the Moon; needs Blue Marble data).
|
||||
#[arg(long, default_value = "L0")]
|
||||
lighting: LightingTier,
|
||||
/// Camera fidelity tier: C0.
|
||||
@@ -218,8 +219,9 @@ fn render(args: &RenderArgs) -> Result<(), String> {
|
||||
v[v.len() / 2]
|
||||
};
|
||||
println!(
|
||||
"gpu shadow {:.3} ms, bodies {:.3} ms, mesh {:.3} ms, sensor {:.3} ms, first to last {:.3} ms (medians)",
|
||||
"gpu shadow {:.3} ms, earthshine {:.3} ms, bodies {:.3} ms, mesh {:.3} ms, sensor {:.3} ms, first to last {:.3} ms (medians)",
|
||||
median(|t| t.shadow),
|
||||
median(|t| t.earthshine),
|
||||
median(|t| t.bodies),
|
||||
median(|t| t.mesh),
|
||||
median(|t| t.sensor),
|
||||
|
||||
Reference in new issue
Block a user