After the study of HeeksCAD and some other projects, I have detected in my program that:
The behavior of the transformation of TopoDS_Shape to the Graphic card is a little bit curious :
first way to show a TopoDS_Shape:
create TopoDS_Shape and aAISObject
leads to bad quality of the shown Shape. I have had to increase the quality factor of the AIS_Interactive context in order to increase the quality->very slow.
If you load the TopoDS_Shape / ASI_Shape AT FIRST in the Wireframe-mode and AFTER THAT switch it to the Shaded mode:
the quality is good and it happens more faster (not very slower than bei HeeksCAD). Of course OCC needs some time to switch the modes.->not very fast
What is the reason ? Is it is depend on the mode, how the Shape will be transformed to the GraphicCard ....?
Has somebody the same behavior ?