By: Baran Kahyaoglu
With the new 32bit vertex indexing in Unity 2017.3, it’s now possible to fit all buildings in the San Francisco peninsula into one GameObject using the Maps SDK for Unity. We already had MergeModifierStack class which merged buildings into one GameObject up to 65k vertices. 32bit vertex indexing removed that hard limit so with some changes, I was able to merge all buildings in all tiles into one object.
Here is what a few hundred thousand buildings with~9,784,100 vertices look like: (Protip: Don’t forget to set Mesh.indexFormat = IndexFormat.UInt32)
Read more about what you can do with the Maps SDK for Unity or get started with these tutorials.
32bit vertex indexing Unity Maps SDK was originally published in Points of interest on Medium, where people are continuing the conversation by highlighting and responding to this story.