Closed lobis closed 3 years ago
The problem with transparency and increased detail is that it greatly impacts the performance on complex scene-graphs. But I agree that it should be an option. There are also two actual places, where one can increase the detail: during gdml to VF conversion and during the rendering. I think we can tweak both.
I've increased the default level for spheres and cones and now it looks much better: It still could be adjusted in the converter (need to add some configuration options for that).
When representing cylinders (tubes) there is a rendering issue where a "spike" or bump appears at one end, often clipping out of the adjacent volumes.
The default number of faces is IMHO too low in order to correctly render circles, I think it should be increased. Also a simple option to increase this value globally should be available to the user. Additionally I suggest doing the same for a global transparency value which IMHO should be less than 1 by default.
How it looks like in ROOT, after exporting to GDML (note: you will have to replace "cm" by "mm" in the .gdml in order to view it like this).
How it looks like on jupyter
Jupyter Notebook code for this geometry: