[Feature]: Parallel (orthographic) 3D view for terrain and block diagrams
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- computer-graphics, data-visualization
Research direction
This is a design proposal, not a scoped edit: start by locating where the map camera is defined and consumed, since the proposal hinges on a map.camera projection setting that map.goToXY, snapshot, the scale bar, PNG/PDF export and map.exportOrbit must all share. Read the existing perspective camera and projection matrix code first, then trace each of those call sites to see how much already routes through one camera object. Done means a parallel option selectable per map view, defaulting to perspective, with the scale bar reporting scale along the picture's horizontal axis and a test block rendering with parallel edges.
Written by the indexing model from the issue text.
Description
The tilted map is always drawn in perspective. Textbook block diagrams are drawn in parallel (orthographic) projection:
- the block's edges stay parallel;
- both visible walls keep one scale;
- a scale bar "along the south edge" holds everywhere on that edge.
Perspective shrinks the far side. On a 70 km block, the back ridges look lower and smaller than the front ones, and no scale bar can be honest.
Choices in this proposal
map.camera {"projection": "parallel" | "perspective"}, saved with the map view.map.goToXY'spitchandbearingwork as they do now. In parallel mode,pitchis the elevation of the view direction.- In parallel mode,
snapshotand the scale bar report the scale along the picture's horizontal axis. - Exports (PNG, PDF,
map.exportOrbit) and layout map frames with pitch use the same camera. - Default stays
perspective, so nothing changes for existing projects.
Use case
Block diagrams for teaching geomorphology (a depression, an escarpment, a plateau and a range in one block), where the classic figure is a parallel view from a corner of the block.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 268
- Avg merge
- 11h 1m
- Merged PRs (30d)
- 942
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opengeos/RustGIS
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo stepPossibly taken @jgregoriorincon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opengeos/RustGIS#2621 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
opengeos/RustGIS#1446 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
All issues in opengeos/RustGIS
Similar issues
-
文件夹重大BUG:不支持重命名Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
postgresql-rules / queue-rules: implicit KEY SHARE before a parent key update, and job self-overlapOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jonathanong/no-mistakes#3879 ·
Maintainers usually reply within 1 day
-
area:index v0.35.0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pbakaus/impeccable#1653 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nautechsystems/nautilus_trader#5741 ·
Maintainers usually reply within 1 day