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
Hello,

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?

Thanks!
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)

Regards
Pawel
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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