skgrush / CavernSeer

An iPadOS and iOS application for scanning 3D spaces
MIT License
32 stars 9 forks source link

Cross sections #7

Open skgrush opened 3 years ago

skgrush commented 3 years ago

There's a high value of creating cross-sectional orthographic views.

Mechanisms

I'd like to start with a simple implementation and then implement a more "proper" version.

This could just be a modification of the current orthographic view with a toggle of shallow vs "infinite" depth of field. How shallow is shallow enough, can it be too shallow and hide the mesh?

I'd like to draw a slice on the plan view, which generates the cross-section line. We'll calculate the intersection of a vertical plan formed by this cross-section line, and turn it into a 2D set of points formed by the plane intersection with the mesh. Ideally this could be exported to a vector format.