Retexturing OSM Buildings

hi there, it seems the documentation doesn’t cover this so I was wondering if you could help me with retexturing the OSM Buildings properly please.

The goal here is to ‘wrap’ the terrain textures over the top of the OSM buildings for approximate colour information since photogrammetry scans of the UK are unavailable.

Could you point me in the right direction to achieve this please? Looking through the c++ I can’t really see where the terrain map data is being streamed and I’m unsure if the OSM buildings have any UV’s either.

could you please clarify?

Thank you in advance :slight_smile:

Hi @Anthony_Attwood ,

You can drape raster overlays on top of OSM buildings just like terrain. For example, you can copy the Bing Maps raster overlay component from the Cesium World Terrain actor and paste it onto the OSM buildings actor. That should let you drape the same satellite imagery from the terrain on top of the buildings!

-Nithin

Hi thank you for the tip that was exactly what I needed. I’m having another little issue with the quality now though. It seems as though some mips are not loading correctly:

As you can see, some buildings projects approximately well, but others are likely using the highest mipmap giving us a low resolution overlay. Any ideas about this? I’ve unticked ‘use mipmaps’ and it doesn’t seem to make a difference.

Hello @Anthony_Attwood,

This is caused by the way the OSM tiles are refined, and there is currently no workaround. For a more detailed explanation, please see this comment: Overlay Bing Imagery on Cesium World Terrain + OSM Buildings - #8 by Kevin_Ring