feat: wire vertical exaggeration through the shell #13
+9
-7
@@ -4,9 +4,10 @@ use clap::{Args, Parser, Subcommand, ValueEnum};
|
||||
use image::ImageError;
|
||||
|
||||
use crate::render::{
|
||||
RenderQualityPreset, demo_camera_for, render_perspective_to_path, render_top_down_to_path,
|
||||
RenderQualityPreset, demo_camera_for, render_perspective_with_quality,
|
||||
render_top_down_with_quality,
|
||||
};
|
||||
use crate::scene::Scene;
|
||||
|
||||
use crate::scene_file::{self, SceneFileError};
|
||||
use crate::script_exec::{self, ScriptError};
|
||||
use crate::terrain::{HeightGrid, TerrainError};
|
||||
@@ -164,10 +165,6 @@ pub fn supported_presets() -> &'static [&'static str] {
|
||||
&["plane", "hill"]
|
||||
}
|
||||
|
||||
pub fn supported_quality_presets() -> &'static [&'static str] {
|
||||
&["preview", "balanced", "final"]
|
||||
}
|
||||
|
||||
pub fn supported_importers() -> &'static [&'static str] {
|
||||
#[cfg(all(
|
||||
feature = "hgt",
|
||||
@@ -241,7 +238,12 @@ pub fn info_text() -> String {
|
||||
let mut text = String::new();
|
||||
writeln!(&mut text, "openvistapro {}", env!("CARGO_PKG_VERSION")).unwrap();
|
||||
writeln!(&mut text, "presets: {}", supported_presets().join(", ")).unwrap();
|
||||
writeln!(&mut text, "quality: {}", supported_quality_presets().join(", ")).unwrap();
|
||||
writeln!(
|
||||
&mut text,
|
||||
"quality: {}",
|
||||
supported_quality_presets().join(", ")
|
||||
)
|
||||
.unwrap();
|
||||
let importers = supported_importers();
|
||||
if importers.is_empty() {
|
||||
writeln!(&mut text, "importers: (none)").unwrap();
|
||||
|
||||
Reference in New Issue
Block a user