I have stumbled onto a problem that is causing a few headaches.
I am developing a plug-in that requires some computational control over the color of breps. I have found that when models are displayed as ghosted breps the edges of these breps flicker whenever the screen is redrawn and coincident edges exist.
This happens based on the orientation of a view / camera location. In some orientations redraws cause flickering while in other orientations the very same objects do not flicker.
The flickering only happens with:
- Brep objects with coincident edges (visible when different color edges touch).
- Ghosted views
- Regardless of display conduit use (ie. when Pre / Post draw is enabled or not).
- Regardless of an object being edited/altered between redraws.
Is there anything that I can do to prevent this from occurring?