Skip to content

Commit c07e34c

Browse files
committed
fine tuning for proper match and epsilon
1 parent 303fa71 commit c07e34c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traces/streamtubes/convert.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ function calculateMesh(inputX, inputY, inputZ, scalingFactor) {
830830
x: inputX,
831831
y: inputY,
832832
z: inputZ,
833-
r: inputX.map(function(d) {return 1}),
833+
r: inputX.map(function(d) {return 0.05}),
834834
c: inputX.map(function(d) {return 1})
835835
}
836836

@@ -901,7 +901,7 @@ function calculateMesh(inputX, inputY, inputZ, scalingFactor) {
901901
}
902902

903903
for(n = 0; n < p.x.length; n++) {
904-
index = addPointMarker(unitSphere, p.x[n], p.y[n], p.z[n], 'rgb(64,64,255)', 1, index, X, Y, Z, I, J, K, F);
904+
index = addPointMarker(unitSphere, p.x[n], p.y[n], p.z[n], 'rgb(64,64,255)', 0.1, index, X, Y, Z, I, J, K, F);
905905
}
906906

907907
return {
@@ -919,7 +919,7 @@ function calculateMesh(inputX, inputY, inputZ, scalingFactor) {
919919
specular: 0.3,
920920
roughness: 0.1,
921921
fresnel: 0,
922-
vertexNormalsEpsilon: 1e-12
922+
vertexNormalsEpsilon: 1e-15
923923
}
924924

925925
return {

0 commit comments

Comments
 (0)