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
J. Stoy
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 J. Stoy -- You received this message because you are subscribed to the Google Groups "cesium-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/JzpfPUvBdEA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.