However, if I do it in SWAN, the session crashes. The root file is only ~30K.
TGeoManager::Import("/eos/atlas/user/l/lezhang/Teaching/geometryfile/spaceStation.root");
gGeoManager->GetTopVolume()->Draw(“ogl”);
I also tried with other inputs which show the same problem.
At your conveience, can you tell me how to solve this problem?
Hi Lei,
Your code also crashes on me. Why do you do Draw(“ogl”) instead of just Draw() like in the Gallery example?
Maybe someone from ROOT could help here (@etejedor).
Diogo
sorry for coming back to this thread after so long.
I reallized that the “ogl” option is relevant actually.
In the standalone ROOT, if I use Draw(“ogl”), it will show a widget.
With it, I can do some options which is useful.
But, if I do “ogl” in SWAN, it will crash.
Do you have an idea how to get the widget in SWAN?