-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore update engine line(finished) #2130
Conversation
* feat: 切换fillImage到G引擎 * feat: 补充上体提交代码 * feat: radar和fillImage支持G引擎(有bug) * fix: 调整radar中uniform块中对象的顺序(遍历时一般按照unicode排序) * fix: 修改radar shader中的拼写错误 --------- Co-authored-by: huyang <[email protected]>
chore: 升级线图层到G-Device引擎 # Conflicts: # dev-demos/features/point/pointFillImage.md # packages/layers/src/core/CommonStyleAttribute.ts # packages/layers/src/point/models/fillImage.ts # packages/layers/src/point/models/radar.ts # packages/layers/src/point/shaders/image/fillImage_frag.glsl # packages/layers/src/point/shaders/image/fillImage_vert.glsl # packages/renderer/src/regl/ReglModel.ts
todo:greateCircle和flow有uniformBlock长度错乱的问题 |
arc_3d.ts功能貌似完全覆盖了earthArc_3d.ts,后者没有升级 |
原因是 Shader 中 UniformBlock 少了一个空格,导致解析时没匹配上正则(稍后我会在底层修改下兼容): // before
layout(std140) uniform commonUniforms{
// after
layout(std140) uniform commonUniforms { 另外在 Buffer 上新增了 label 便于 debug: this.commonUnifoms = this.rendererService.createBuffer({
data: new Float32Array(
MultipleOfFourNumber(commonUniforms.uniformsLength),
).fill(0),
isUBO: true,
label: 'commonUniforms', // 添加一个标签
}); 这样在使用 Spector.js 时可以查看 metadata: |
更新到 |
…into chore_updateEngine_line # Conflicts: # packages/layers/src/line/shaders/line_arc_great_circle_frag.glsl # packages/layers/src/line/shaders/line_arc_great_circle_vert.glsl
目前基本完成所有线的迁移 |
这个应该是渲染流程的问题,估计之前绘制的被清除了 |
* chore: 环境变量设置 renderer * chore: 设置 环境变量
[English Template / 英文模板]
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
☑️ 请求合并前的自查清单