PySurfer icon indicating copy to clipboard operation
PySurfer copied to clipboard

Set force_opaque when adding annotations to Brain

Open wmvanvliet opened this issue 4 years ago • 0 comments

Similarly to #286, there is a render bug when adding atlas annotations on some chipsets. The solution is the same: set the force_opaque=True flag on the surface actor. Despite its name, this doesn't seem to interfere with setting the alpha for the annotation overlay.

Before this PR: fig1

After this PR: fig2

Playing with transparency: brain.add.annotation('aparc', alpha=0.3) fig3

wmvanvliet avatar Nov 05 '21 08:11 wmvanvliet