|
@@ -180,25 +180,25 @@ class ModelContext {
|
|
|
const curveTunnelMajor = this.generateSmokePath(['dian21', 'dian22']);
|
|
|
|
|
|
const group1 = new THREE.Group();
|
|
|
- const smokeFan1Right = new Smoke('/model/img/texture-smoke.png', '#ffffff', 10, 0.75, 0.5, 400);
|
|
|
+ const smokeFan1Right = new Smoke('/model/img/texture-smoke.png', '#ffffff', 1, 0.75, 0.5, 600);
|
|
|
smokeFan1Right.setPath(curveFan1Right);
|
|
|
this.elements.push(smokeFan1Right);
|
|
|
const smokeFan2Right = new Smoke('/model/img/texture-smoke.png', '#ffffff', 10, 0.75, 0.5, 400);
|
|
|
smokeFan2Right.setPath(curveFan2Right);
|
|
|
this.elements.push(smokeFan2Right);
|
|
|
- const smokeFan1Left = new Smoke('/model/img/texture-smoke.png', '#ffffff', 10, 0.75, 0.5, 400);
|
|
|
+ const smokeFan1Left = new Smoke('/model/img/texture-smoke.png', '#ffffff', 10, 0.75, 0.5, 600);
|
|
|
smokeFan1Left.setPath(curveFan1Left);
|
|
|
this.elements.push(smokeFan1Left);
|
|
|
const smokeFan2Left = new Smoke('/model/img/texture-smoke.png', '#ffffff', 10, 0.75, 0.5, 400);
|
|
|
smokeFan2Left.setPath(curveFan2Left);
|
|
|
this.elements.push(smokeFan2Left);
|
|
|
- const smokeTunnelRight = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 200);
|
|
|
+ const smokeTunnelRight = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 150);
|
|
|
smokeTunnelRight.setPath(curveTunnelRight);
|
|
|
this.elements.push(smokeTunnelRight);
|
|
|
- const smokeTunnelLeft = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 200);
|
|
|
+ const smokeTunnelLeft = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 150);
|
|
|
smokeTunnelLeft.setPath(curveTunnelLeft);
|
|
|
this.elements.push(smokeTunnelLeft);
|
|
|
- const smokeTunnelMajor = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 200);
|
|
|
+ const smokeTunnelMajor = new Smoke('/model/img/texture-smoke.png', '#ffffff', 0, 0.35, 1.5, 150);
|
|
|
smokeTunnelMajor.setPath(curveTunnelMajor);
|
|
|
this.elements.push(smokeTunnelMajor);
|
|
|
|
|
@@ -399,16 +399,16 @@ class ModelContext {
|
|
|
if (airIn) {
|
|
|
// 首个线段需要扩散,由大变小
|
|
|
path.isSpread = index === 1;
|
|
|
- path.spreadDirection = -1;
|
|
|
+ path.spreadDirection = 0;
|
|
|
}
|
|
|
if (airOut) {
|
|
|
// 首个线段需要扩散,由小变大
|
|
|
path.isSpread = index === points.length - 1;
|
|
|
- path.spreadDirection = 1;
|
|
|
+ path.spreadDirection = 0;
|
|
|
}
|
|
|
if (!airIn && !airOut) {
|
|
|
path.isSpread = false;
|
|
|
- path.spreadDirection = 1;
|
|
|
+ path.spreadDirection = 2;
|
|
|
}
|
|
|
result.push(path);
|
|
|
}
|