-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Question
Hi!
I played a bit with ImageOverlayPlugin and I have a few "issues" I would like to discuss with you (let's call them "questions" for now and based on your answers I can provide a repro if needed):
- I was using the
TextureOverlayPluginavailable in the examples to texture my quantized mesh terrain (with a quick WMTS url replace for x,y,z tiles idx). What is the added value ofImageOverlayPluginin your opinion? I see the architecture is more scalable; you can add a lot of differentImageOverlays, but why not just improve the existingTextureOverlayPlugin? - Because I am experiencing a big performance degradation after migrating
TextureOverlayPlugin->ImageOverlayPlugin(see the diffs here). It is really slower to load the overlay tiles. Is the new plugin still WIP and you expect to fix known performance issues or is there something wrong on my side? - Trying to overlay this 3d buildings tileset with
ImageOverlayPlugin, I noticed only the root tile is loaded (note that this doesn't happen with other tilesets such as quantized mesh terrain I also use). Digging into the issue, I noticed that in the 3d buildings tileset,tile.__hasRenderableContentis set tofalseeven though there are child tiles. This impliestile.__depthFromRenderedParentnot being set properly and thus_calculateLevelFromOverlayreturning a wrong value which stops the plugin from loading child tiles. It might be linked to you not being able to properly test functionality with "ADD" tilesets, as you wrote in TilesRenderer: "ADD" seems to always load all child tiles #1209. I don't know if this is the correct way to fix it, but currently I am usingreturn tile.__depth - 1;instead ofreturn tile.__depthFromRenderedParent - 1;(here) as a quick personal patch. Let me know how we can coordinate the fix, because this one I am pretty sure this is a bug of the tiles renderer. - I know this is currently not possible to share the same plugin among multiple tilesets. Imagine however the following use case. I have a quantized mesh terrain I overlay with aerial imagery using the ImageOverlayPlugin. I also overlay the same aerial imagery over another tileset of 3d buildings (to have real roof textures). Currently the aerial imagery is loaded twice and I haven't been able to find a way to synchronize both overlays so that they are not processed twice for nothing. Any hints?
Supplemental Data
No response
Library Version
v0.4.14 (latest)
Three.js Version
r179.1 (latest)
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested