feat: wire vertical exaggeration through the shell #13
@@ -66,9 +66,9 @@ model.
|
||||
Scene files use the project-owned `.ovp.toml` format. Version 1 stores a
|
||||
top-level `schema = "openvistapro.scene"`, `version = 1`, and a serialized
|
||||
`Scene` payload containing camera position/target, camera heading-pitch-bank,
|
||||
lens/FOV/clip ranges, light, water, tree-line, snow-line, haze, and the
|
||||
color-map thresholds/bands. The format is intentionally human-readable while
|
||||
the data model is still evolving.
|
||||
lens/FOV/clip ranges, light, water, tree-line, snow-line, haze, and hydrology
|
||||
overlays/settings. The format is intentionally human-readable while the data
|
||||
model is still evolving.
|
||||
|
||||
## Script language (MVP)
|
||||
|
||||
|
||||
+17
@@ -127,6 +127,22 @@ impl OpenVistaProApp {
|
||||
if renderer_mode != self.data.renderer_mode {
|
||||
self.data.apply(AppAction::SetRendererMode(renderer_mode));
|
||||
}
|
||||
|
||||
ui.separator();
|
||||
ui.label("Render quality");
|
||||
let mut quality = self.data.render_quality;
|
||||
changed |= ui
|
||||
.radio_value(&mut quality, RenderQuality::Preview, "Preview")
|
||||
.changed();
|
||||
changed |= ui
|
||||
.radio_value(&mut quality, RenderQuality::Balanced, "Balanced")
|
||||
.changed();
|
||||
changed |= ui
|
||||
.radio_value(&mut quality, RenderQuality::Final, "Final")
|
||||
.changed();
|
||||
if quality != self.data.render_quality {
|
||||
self.data.apply(AppAction::SetRenderQuality(quality));
|
||||
}
|
||||
changed
|
||||
}
|
||||
|
||||
@@ -445,6 +461,7 @@ impl OpenVistaProApp {
|
||||
ui.separator();
|
||||
ui.label(format!("Terrain: {:?}", self.data.terrain_preset));
|
||||
ui.label(format!("Renderer: {:?}", self.data.renderer_mode));
|
||||
ui.label(format!("Quality: {:?}", self.data.render_quality));
|
||||
let (width, height) = self.data.preview_size;
|
||||
ui.label(format!("Preview: {width} x {height}"));
|
||||
ui.label(format!("Water level: {:.2}", self.data.scene.water_level));
|
||||
|
||||
Reference in New Issue
Block a user