OpenGL and GDML

Hello, I get a glitch when I try to open a GDML file with OpenGL.


X3D is fine, but less interesting (No GUI as good as OpenGL)

TGeoManager::Import("my.gdml");
gGeoManager->Draw("ogl");
Info in <TGeoManager::Import>: Reading geometry from file: /media/psf/Home/Work/Analysis/escalade-workspace/share/gdml-compass2015/TargetAbsorber.gdml
Info in <TGeoManager::TGeoManager>: Geometry GDMLImport, Geometry imported from GDML created
Info in <TGeoManager::SetTopVolume>: Top volume is tgeant_world. Master volume is tgeant_world
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CountLevels>: max level = 4, max placements = 25
Info in <TGeoManager::CloseGeometry>: 86 nodes/ 51 volume UID's in Geometry imported from GDML
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1

Am I doing something wrong ?
Thank you !


_ROOT Version:v6.16.00/v6.14.00
_Platform: CentOS7
_Compiler: gcc 4.8.5


Hi, nothing to do with the geometry, but with the installation of the graphics drivers on your machine. Try fixing this by fixing the gl support and then recompile root to autodetect and link against the new libraries. Should work after.

Unfortunately I couldn’t find the solution.
But thank you very much for the clarification!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.