Anti Aliasing using openGL polycone TGeomanager

Hi all,
I would like to use TGeomanger to plot a polycone with high precision. Is there an option to make it? In other words, the cross section of the polycone is not a circle but a polygon. Is it possible to make the cross section a circle?

I tried void SetSmoothPoints(Bool_t s); and
void SetSmoothLines(Bool_t s);
But it does not improve.
Thanks.

Please provide the following information:


ROOT Version (e.g. 6.12/02): 6.10/02
Platform, compiler (e.g. CentOS 7.3, gcc6.2): Mac OS


Hi, before you draw the polycone, you can do:

gGeoManager->SetNsegments(360);

It is still polygonal representation, but you can increase the number of segments the polygons are decomposed into to a more convenient number than the default.

1 Like

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