I use the code below to import a STL file and to show that on view. But actually there is a difference between reel stl file and imported stl file. Generally same but looks different and imported like bad quality. So is there an opinion to get better my visualization?
TCollection_AsciiString theFileName = toAsciiString(inp);
auto polyTriangulation = RWStl::ReadFile(theFileName.ToCString());
auto aShape = TopoDS_Face();
auto aBuilder = BRep_Builder();
Handle(AIS_Shape) shape = new AIS_Shape(aShape);
importedStl() = shape;
myAISContext()->Display(importedStl(), AIS_Shaded, 0, true);