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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Performance / Fuse Shapes

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
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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