Rex terrain engine and updating custom tile source images with requiresUpdateCall
I have a custom tile source which returns tile images derived from osg::Image with overridden requiresUpdateCall to notify when an image should be updated. This worked well with the old mp engine, but with the rex engine I haven't been able to find a way to notify the terrain engine that it should check for images which need to be updated (so in short, requiresUpdateCall is never called). Any pointers how to achieve this? Note that mMapNode->getTerrainEngine()->dirtyTerrain() works in refreshing the terrain, but it appears to rebuilt it completely, not just updating the images which need to be updated.
Re: Rex terrain engine and updating custom tile source images with requiresUpdateCall
Thanks for your reply.
I'm on 2.10.x, but not using earth files, rather directly setting up the globe in C++.
I realize though that my description wasn't very clear. My issue is that I have some external trigger which causes the tile-source to rerender the tiles. I suppose I then need to notify osg that something has changed, which would then trigger . But as far as I can see, just requesting a new frame with osgViewer->requestRedraw(); does not trigger this.