Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Performance / Fuse Shapes

Performance / Fuse Shapes
Linden 2012/12/05 13:42

is there a way to display a lot of shapes in e.g. different colors without loosing a lot of performance?
If I create an AIS_Shape for every shape it gets quite slow at rotating and panning, but when I fuse
the shapes into one compound to speed it up I can't see a way to give them different colors.

Is this just a limitation of Opencascade or do I miss something?

Pawel 2013/01/04 15:22
Hello Linden,

I would try the following tricks:
- when displaying your AIS_Shapes make sure you do not refresh every time you call the Display method from AIS_InteractiveContext (pass Standard_False as parameter)
- if the above doesn't help try implementing your own AIS_InteractiveObject (search the forum for examples)

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map