diff --git a/public/test.view b/public/test.view index 56934fe..86d308b 100644 Binary files a/public/test.view and b/public/test.view differ diff --git a/src/hook/wave-view/render-utils.js b/src/hook/wave-view/render-utils.js index 0232451..1262179 100644 --- a/src/hook/wave-view/render-utils.js +++ b/src/hook/wave-view/render-utils.js @@ -140,7 +140,7 @@ const ladderAnalog_GL_WidthShifts = new Float32Array([ ]); -const lineAnalog_WidthShift = 0.0015; +const lineAnalog_WidthShift = 0.002; const lineAnlog_GL_WidthShifts = new Float32Array([ 0, lineAnalog_WidthShift, // 0 - lineAnalog_WidthShift, lineAnalog_WidthShift, // 1 diff --git a/src/hook/wave-view/render-wave.js b/src/hook/wave-view/render-wave.js index e1651cb..77cb4e1 100644 --- a/src/hook/wave-view/render-wave.js +++ b/src/hook/wave-view/render-wave.js @@ -35,7 +35,7 @@ class WebGL2WaveRender { const gl = canvas.getContext('webgl2', { premultipliedAlpha: false, alpha: true, - antialias: false, + antialias: true, depth: false }); this.webglLocation = this.initProgram(gl); @@ -507,7 +507,7 @@ class WebGL2WaveRender { // 如果是 vec,根据设定的渲染模式和进行设置 const vecRenderModal = _this.getVecRenderModal(globalLookup, signal.link); if (vecRenderModal === 0) { - // 普通数字渲染模式、 + // 普通数字渲染模式 gl.uniform2fv(webglLocation.widthShifts, gl_WidthShifts); gl.uniform2fv(webglLocation.shifts, gl_Shifts_for_bar); gl.bindVertexArray(signalItem.lineVao);