Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

meshing should have a --max-faces parameter #4

Open
cleeus opened this issue Sep 13, 2018 · 4 comments
Open

meshing should have a --max-faces parameter #4

cleeus opened this issue Sep 13, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@cleeus
Copy link
Contributor

cleeus commented Sep 13, 2018

Renderers are facing practical limitations for the number of triangles they can render per scene. Instead of tuning the --max-error parameter until that limit is met, we should add a --max-faces parameter that guarantees a maximum number of faces per tile/dem.

Both terra and zemlya can trivially be extended to stop increasing the number of faces when a certain number is reached.

@cleeus cleeus added the enhancement New feature or request label Sep 13, 2018
@walkingpendulum
Copy link

is there any chance to make this feature happens?

@walkingpendulum
Copy link

hey everyone! we implemented similar feature for dem2tin subcommand for our inner purposes and now we'd like to share code with community. kindly asking for feedback here.
thank you in advance

@yesitsme007
Copy link

yesitsme007 commented Mar 6, 2020

Sounds like a useful feature, would be great to have this. In my use case I would like to model an area from a "central" point and then have decreasing resolution proportional to the distance. E.g. you are on the summit of a mountain and want to model the view. You would like to have many faces in the closer areas and only a few in far away zones. Any thoughts? Is this a very special use case or of more general use? I could think of some kind of -gradient flag.

@walkingpendulum
Copy link

PR with or implementation: #66

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants