Creation of TGeoXtru

Dear ROOTers,
I’m trying to create some “cross-like” object in root geometry (yellow). I think I set correctly points but when I draw object I see some "additional lines (marked by red arrows).


Does it mean that my geometry is wrong? or this is only some drawing issue? I define points in the anticlockwise order from the center of the cross. I see those lines in TGLViewer but not in Event Display.

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


I think @agheata can help.

No, this should be fine, The TGeoXtru polygons are decomposed in triangles for visualisation purpose only. To check if the shape is defined correctly, you should get a correctly ray-traced image of the corresponding volume: gGeoManager->GetVolume(“vol_name”)->Raytrace()

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