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

Add parameter to configure mesh detail #3

Open
neopaf opened this issue Nov 25, 2016 · 4 comments
Open

Add parameter to configure mesh detail #3

neopaf opened this issue Nov 25, 2016 · 4 comments

Comments

@neopaf
Copy link
Contributor

neopaf commented Nov 25, 2016

No description provided.

@neopaf
Copy link
Contributor Author

neopaf commented Nov 25, 2016

Could be simple &skip=points, when we use only 1 point of every $points of mesh info.
Or it could be &size=pixels, when we try to show "optimal" for this size of screen.
Or?

@seene-club
Copy link
Contributor

What's easier to implement? I think the first solution without knowing the code very well.
What would it mean: &skip=2 use only every second point (50%) and &skip=4 use only every fourth point (25%) of mesh size?

@neopaf
Copy link
Contributor Author

neopaf commented Nov 25, 2016

first is easier to implement... but it will add to our client some complexity as it would need to figure out what to pass.
second let our client be simpler... but removes some of control from the client. in client we may decide to roughen mesh further than viewer wanted. and to pass fake screen size would not be very nice.

not sure about good name for parameter. "skip" does not match a bit as in 50% case it skips 1 point ;)
"use_every_nth_of_mesh" is a bit longish.

some idea?

@seene-club
Copy link
Contributor

first of all that parameter should be optional.
what about: reduce_mesh=50 (leaves out every second value)?
or divide_mesh=2 ???

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

No branches or pull requests

2 participants