Skip to content

Please add function for custom shape #51

Description

@Mafhoom

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

Activity

  1. ProbableTrain commented on Jul 21, 2020

    @ProbableTrain
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions