EtienneCmb / visbrain

A multi-purpose GPU-accelerated open-source suite for brain data visualization
http://visbrain.org
Other
241 stars 64 forks source link

Scene with multiple objects - Record Animation ERROR #75

Open franciscaabsr opened 4 years ago

franciscaabsr commented 4 years ago

I was trying to obtain a scene with several animations, with the brain activated parcellates according to the Desikan atlas for several time points. For this, I created a Brain Object for each time point, included the selected regions of parcellation, animate it and added to the scene (20 objects per row for example). But then, after doing this for all time points, when the code reaches the last line with scene.record_animation(name, n_pic=50) it gives this error:

RuntimeError: FrameBuffer attachments are incomplete

Can someone help me understand why this happens? I selected the size of the Scene Object so as to be big enough to include all the animations. Am I missing something? Thank you

franciscaabsr commented 4 years ago

Screenshot_2020-05-01_15-15-06 Screenshot_2020-05-01_15-15-24

Screenshot_2020-05-01_15-15-51

Here is the code I did

franciscaabsr commented 4 years ago

1 3 4 5 6 7

and the error traceback

EtienneCmb commented 4 years ago

Hi @franciscaabsr ,

From your screenshots, I think you're running visbrain inside Jupyter. However, this is not supported for the moment. Can you please try to run your code from a script and see if it works?