By: Baran Kahyaoglu
I’m working on feature collections, based on KdTree using building positions, which will enable high-performance feature querying with the Maps SDK for Unity. In the video below, there are 12,401 buildings, and I’m querying for all buildings in brush range on every frame. This isn’t a shader or post process effect, it really is searching and finding buildings and then changing their material colors individually.
This is powerful for use cases like rendering only the features in a certain range, finding the closest features to a player (i.e. restaurants or buildings taller than a threshold), or changing properties of features depending on their distance to a point (similar to this painting example).
Read more about what you can do with the Maps SDK for Unity. Get started with these tutorials.
Painting San Francisco with the Maps SDK for Unity was originally published in Points of interest on Medium, where people are continuing the conversation by highlighting and responding to this story.