I am developing a visualization tool with PyROOT and OpenGL.
I succeed in creating the geometry i want but when i clip it in OpenGL, volumes are empty.
For example when i clip a TGeoBBox with a perpendicular plane, instead of displaying another box with 6 planes, OpenGL display a volume with 5 planes and the sixth one ( included in the clipping plane ) is not displayed. OpenGL displays an extruded volume.
In others words when I use
Volume.SetLineColors(int) surfaces are displayed in solid mode but volumes (defined by surfaces intersection) are not.
How should i proceed to make sure “volumes” (and not surfaces, i already got this) are displayed in solid mode when i use clipping tool of OpenGL ?