Hi! I am trying to display 8000 generated points. I am using simplegui, on mac, with x11, and the generation of vertices from points and the rendering incredibly slow. This is how I create the vertices from points:
def make_vertex(pnt): vertex = BRepBuilderAPI_MakeVertex( pnt ) vertex.Build() return vertex.Shape() And this is how I add them to the simplegui: for p in l.data: display.DisplayShape(make_vertex(p)) On my macbook it takes about 50-60 sec to add the vertices to the display, and the rendering runs at 1-2fps :( My questions are: 1. is there any faster way to display points (no point to vertex conversion)? 2. would the rendering be faster if I used a native rendering (cocoa binding)? I red somewhere that you are planning to support native cocoa bindings for pyocc, aren't you?
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users