dfsp-spirit / fsbrain

R library for structural neuroimaging. Provides high-level functions to access (read and write) and visualize surface-based brain morphometry data for individuals and groups.
Other
64 stars 13 forks source link

Error in rgl::open3d() : OpenGL is not available in this build #55

Open xasapakos opened 2 months ago

xasapakos commented 2 months ago

Hi and thanks for the great package and the FAQ. I think that I have a similar issue to the one listed in FAQ.

When running vis.data.on.fsaverage(morph_data_lh = pvd_lh, morph_data_rh = pvd_rh, surface="pial", views = c("t4"))

I do not get a plot and get the `Error in rgl::open3d() : OpenGL is not available in this build.

Runningrglwidget()` solves the issue of plotting but is does not allow me to export (same error as above) and I cannot make changes in the layout.

Any ideas on how to solve it?

Many thanks K

dfsp-spirit commented 2 months ago

Hi xasapakos,

I would like to reproduce this and for that I would need to know the operating system you're using. I guess it's some Mac OS version?