immersive-web / model-element

Repository for the <model> tag. Feature leads: Marcos Cáceres and Laszlo Gombos
https://immersive-web.github.io/model-element/
Other
63 stars 11 forks source link

Constrains on rotation #52

Closed marcoscaceres closed 18 hours ago

marcoscaceres commented 2 years ago

With photogrammetry it's not always possible to capture every angle of an object. This means that a model can be missing details, such as in the situation below:

Underside of a pie

Wondering if it might make sense to constrain the angle(s) in which a user can spin a model when interactive is enabled? This could be done with JS and the camera control API, but it might end up being really jerky as the JS code would be fighting the user trying to spin the model.

Also noting that it may not make sense in an AR context, because a user could simply crouch to look underneath... but that might be ok.

DR-xR commented 2 years ago

The UX should not limit the user's view. The content author might choose to limit the view, but not the underlying system. If the model is incomplete, that is a defect (intentional or not) in the model. There is nothing wrong in not having data - think of ground-based observations of Moon.

zachernuk commented 18 hours ago

I feel like this addresses the best approach - JS-based controls could apply additional constraints, but a basic set of controls should provide the most general ability (and for anything more sophisticated, there's Javascript)