I have a rather large billboard which gets updated roughly ever 6 seconds. The billboard conforms to a customer standard (which contains a symbol, heading, speed, vehicle identifier, ...).
After some time I receive an error message stating "Error loading image for billboard: DeveloperError: Width must be less than or equal to the maximum texture size".
I believe I am running into the TextureAtlas problem documented in issue #2319 https://github.com/AnalyticalGraphicsInc/cesium/issues/2319
where every time I update the image on the billboard a new image is added to the TextureAtlas. Currently it does not seem that unused images are ever being reclaimed by the TextureAtlas.
I am trying to circumvent the problem from happening. I was thinking about creating a billboardCollection per image and rather than updating the billboard image attribute I would destroy the billboard collection which in turn would destroy the TextureAtlas. I then would recreate the billboardCollection and billboard with the new updated image.
I was wanting to know if anybody else has run into this problem past? And how did they get around it?
Thanks in advance