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

Please add function for custom shape #51

Open
Mafhoom opened this issue Jul 21, 2020 · 1 comment
Open

Please add function for custom shape #51

Mafhoom opened this issue Jul 21, 2020 · 1 comment

Comments

@Mafhoom
Copy link

Mafhoom commented Jul 21, 2020

Please import transparent PNG and generate map, something like this:
https://www.pinterest.com/pin/266345765444848670/

@ProbableTrain
Copy link
Owner

If you don't want the input image to affect road direction, this is probably best done in post (i.e. photoshop).

Otherwise, you'd have to do something much more complex involving inferring the tensor field from the image, then clipping the generated city to the tensor field. The original paper (Chen et al, Interactive procedural street modeling) had a 'brush' tool to edit the tensor field manually - that could be a good starting point.

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