pyROOT - geometry again

From: Michal Dwuznik <Michal.Dwuznik_at_cern.ch>
Date: Thu, 27 Mar 2008 15:20:29 +0100


Hi Rooters and Pythonians,

I do observe a different behaviour of the 3D opengl viewer under plain ROOT and pyROOT.
Could someone have a look at the geometry provided here: http://zeus32.cyf-kr.edu.pl/~mdwuznik/SCTandPIX_L123.root and Import it into ROOT and pyROOT sessions in ROOT:

new TGeoManager()
gGeoManager->Import("SCTandPIX_L123.root") gGeoManager->GetTopVolume()->Draw("ogl")

works as intended, though in python

import ROOT
ROOT.TGeoManager()
ROOT.gGeoManager.Import("SCTandPIX_L123.root") top = ROOT.gGeoManager.GetTopVolume()
top.Draw("ogl")

yields hordes of
 TGLLogicalShape::Draw:0: RuntimeWarning: display-list registration failed.

ROOT version 5.19/01, python 2.5.2 on ubuntu.

Regards
Michal

PS:(yes, all the overlaps and volumes inside each other are intentional, just in case someone digs inside the geom presented). Received on Thu Mar 27 2008 - 15:20:46 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 27 2008 - 17:50:01 CET