Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a Scale bar? #7

Closed
ekansa opened this issue Mar 29, 2018 · 1 comment
Closed

Generate a Scale bar? #7

ekansa opened this issue Mar 29, 2018 · 1 comment
Assignees

Comments

@ekansa
Copy link

ekansa commented Mar 29, 2018

First, I love 3DHOP it is amazing and congrats on a great approach to making 3D a part of the Web!

I'd like to request a useful feature. Often times, one would want to have a more immediate idea of scale when first viewing a model. It would be nice to have an option to add a scale bar (one that can be toggled on and off) that is automatically generated as a simple rectangular volume that appears near by the model(s) loaded from Nexus meshes.

This would be a good supplement to the measuring tool, since the measuring tool takes some more interaction effort and returns abstract numeric values. A scale bar provides similar information in a clear visualization.

@mcallieri
Copy link
Member

Hi there, thanks for reaching out.
It is certainly an interesting idea. However, it is difficult to implement it in an automatic way :(
It would be a mess to decide automatically which size should be the bar, which kind of subdivision (every 1-5-10-100 units), and where to place it into the scene such that it is useful/visible/unoccluding.
We have done it, case by case, creating custom geometries by hand, tailored to the specific scene.
For orthographic camera it might be easier, as we can superimpose a ruler on the canvas, and could easier to guess the correct parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants