cesiumlab / cesiumlab/XbsjEarthUI
自定义图元 的高和宽超过一定大小后就会变的很卡 怎么破
Open
documentation
question
- Dominant language
- JavaScript
- Stars
- 734
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Description
@vtxf 老哥 自定义图元 的高和宽超过一定大小后就会变的很卡 怎么破..
@辛未年宅 是width、height还是canvasWidth和canvasHeight?
@vtxf 是canvasWidth和canvasHeight
我这里设置6144 还正常的 设置成 7144 就很卡了
---
这两个参数决定纹理创建的大小,
如果设置比较大,会消耗很多资源,
另外建议设置成2的幂次,即 比如128、256、512等
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Reproduce the custom graphic with canvasWidth and canvasHeight set to 6144 and 7144, then trace the texture creation path to compare resource use and responsiveness. Done means the cause of the slowdown is established and the issue has a documented, verifiable mitigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100