I manually created a mesh for a cylinder, just vertical strips made of two triangles going in a circle around the circumference. If I set opacity<1
and lighting.diffuse>0
I see a seam in the cylinder between the fist and last strip, visible below on the left side.
It goes away if either of those aren’t set like that. You can also see it has to do with transparency because its only visible where the foreground surface intersects the background surface. Its also present independent of flatlighting
and does not go away increasing the resolution of my mesh.
Is this a well-known 3d modeling thing that has some solution, or is this a bug in plotly somehow?
Plotly code below, I’m on 2.35.2:
Plotly.newPlot("plotlyx-ixskdlxhxn",[{"x":[1.0,1.0,0.8090169943749475,0.8090169943749475,0.30901699437494745,0.30901699437494745,-0.30901699437494734,-0.30901699437494734,-0.8090169943749473,-0.8090169943749473,-1.0,-1.0,-0.8090169943749475,-0.8090169943749475,-0.30901699437494756,-0.30901699437494756,0.30901699437494723,0.30901699437494723,0.8090169943749473,0.8090169943749473,0.0,0.0],"y":[0.0,0.0,0.5877852522924731,0.5877852522924731,0.9510565162951535,0.9510565162951535,0.9510565162951536,0.9510565162951536,0.5877852522924732,0.5877852522924732,1.2246467991473532e-16,1.2246467991473532e-16,-0.587785252292473,-0.587785252292473,-0.9510565162951535,-0.9510565162951535,-0.9510565162951536,-0.9510565162951536,-0.5877852522924734,-0.5877852522924734,0.0,0.0],"z":[0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,1.0],"i":[0,3,2,5,4,7,6,9,8,11,10,13,12,15,14,17,16,19,18,1],"j":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0],"k":[2,1,4,3,6,5,8,7,10,9,12,11,14,13,16,15,18,17,0,19],"type":"mesh3d","color":"lightgray","lighting":{"diffuse":1},"flatshading":false,"opacity":0.5}],{},{"responsive":true,"displaylogo":false})