I've tried to display many spheres or many points. First by creating my own AIS_InteractiveObject with a group that holds 9000 markers. The speed was very slow. So I tried just displaying 9000 little spheres and my computer crashed.
This is my compute method for my own AIS_InteractiveObject :
void User_Point::Compute(const Handle_PrsMgr_PresentationManager3d& aPresentationManager,const Handle_Prs3d_Presentation& aPresentation,
const Standard_Integer aMode )
Handle(Graphic3d_Structure) theStructure = Handle(Graphic3d_Structure)::DownCast(aPresentation);
Handle(Graphic3d_Group) theGroup= new Graphic3d_Group(theStructure);
asp = myDrawer->PointAspect()->Aspect();
for(i = points->Lower();iUpper();i++)
dble = attribute[i];
So before giving up OpenCascade, I'd like to know if some one has an idea for a way to improve the speed of the grapics.
Thank you very much for your answer!!!