Question about the GLViewer

Hello,

I have a question about the GLViewer and the TGeo classes. I am working at a macro which reads an input file with definitions of electrodes. These are defined as wires and rectangles. The wires aren’t a problem. I just used a tube for them. But how should I handle the rectangles? At the moment I use a very flat box. But they are not drawn always. They appear sometimes and look correct, but after a small camera movement they disappear again. I believe ROOT does not draw them because it thinks they are too flat and are minor details. Could that be true? Do you have any better idea how to handle them?

Thanks,
Sebastian

Could you send us your geometry file such that we can investigate?

Simply do
gGeoManager->Export(“mygeom.root”);

and post the mygeom.root file.

Rene

Sure. Here is the geometry file.

Sebastian
geometry.root (263 KB)