I want to know how to hide the edges (triangles) in 3D.
How can I do it ?
Also, is there any way to activate antialasing ?
This is what it looks like now
This is what I would like to get
To be viewed without the edges
I want to know how to hide the edges (triangles) in 3D.
How can I do it ?
Also, is there any way to activate antialasing ?
This is what it looks like now
This is what I would like to get
To be viewed without the edges
Hello @Javi-r
Use the vtkPolyDataNormals filter.
It doesn’t work I get the same result
const reader = vtkSTLReader.newInstance();
await reader.parseAsArrayBuffer(arrayBuffer);
const normalsFilter = vtkPolyDataNormals.newInstance();
normalsFilter.setInputData(reader.getOutputData());
const vertebraMapper = vtkMapper.newInstance({ scalarVisibility: false });
vertebraMapper.setInputData(normalsFilter.getOutputData());
const vertebraActor = vtkActor.newInstance();
vertebraActor.setMapper(vertebraMapper);
Result after applying vtkPolyDataNormals vtk.js 32.9.1
maybe you have duplicated points in your mesh.
What reader did you use ?