omchiii / model_viewer_plus.dart

A Flutter widget for rendering interactive 3D models in the glTF and GLB formats.
https://pub.dev/packages/model_viewer_plus
Apache License 2.0
94 stars 51 forks source link

Orthographic projection #51

Open shaun-man opened 2 years ago

shaun-man commented 2 years ago

Is your feature request related to a problem? Please describe. Engineers and others prefer an orthographic projection to a perspective projection, but only the perspective projection seems to be available.

Describe the solution you'd like I would like to see a parameter that gives the option to present an orthographic projection or a perspective projection of a CAD model.

Describe alternatives you've considered Setting the radius value to a large value (in cameraOrbit) should produce a projection very close to an orthographic projection, but it does not.

Foldblade commented 1 year ago

Because this package is based on <model-viewer> and I'm not professional in different projection methods, so I suggest you ask this question under <model-viewer> official repository's discussion area: https://github.com/google/model-viewer/discussions