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:
After this PR:
Playing with transparency: brain.add.annotation('aparc', alpha=0.3)
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 thealpha
for the annotation overlay.Before this PR:![fig1](https://user-images.githubusercontent.com/428273/140480515-c5c1ea33-f520-4c17-aae2-badcbfb4694b.png)
After this PR:![fig2](https://user-images.githubusercontent.com/428273/140480519-539b106d-34fd-4d2e-9b4a-d42f344e8ad1.png)
Playing with transparency:![fig3](https://user-images.githubusercontent.com/428273/140480521-7d03b878-511d-4ca1-b88f-df342ab91076.png)
brain.add.annotation('aparc', alpha=0.3)