Can you upload your file somewhere to see what do you mean?
From: owner-roottalk_at_pcroot.cern.ch on behalf of Stephen Liu
Sent: Sat 1/6/2007 7:12 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Problem with the 3D image resolution in ROOT
Dear all,
I'm trying to draw a 3D image of several detectors via the following codes, the geormetry of the detectors is stored in geom_mdc.root file. The program works correctly, but I find the resolution of the image rather unsatifactory. I'm wondering if there is any way I can set a higher resolution in the Draw() method, or something else. Thanks a lot for your help.
liuk
void readVol()
{
gSystem->Load("libGeom");
TGeoManager *geom = new TGeoManager("simple1", "Simple geometry");
geom->SetVisLevel(6);
TFile *f=new TFile("geom_mdc.root");
TGeoVolume *volBes = (TGeoVolume*)(f->Get("volBes"));
gGeoManager->SetTopVolume(volBes);
gGeoManager->CloseGeometry();
volBes->Draw();
}
Received on Sat Jan 06 2007 - 14:38:41 CET
This archive was generated by hypermail 2.2.0 : Sun Jan 07 2007 - 05:50:00 CET