maptalks / maptalks.three

A maptalks layer to render with three.js.
https://deyihu.github.io/maptalks.three.website/
MIT License
567 stars 129 forks source link

关于模型渲染性能的问题 #624

Open howchain opened 12 months ago

howchain commented 12 months ago

当使用maptalks/gl生成groupLayer 载入threeLayer,并在threeLayer内添加模型 相比起仅销毁模型并重新载入新模型的方式 ,每次都销毁threeLayer图层 并重新生成模型 帧数更高 对此感到十分疑惑

deyihu commented 12 months ago

@howchain 可以给个复现代码,你说的有道理具体的原因我也不知道得有代码进行来排查