Hello, i hope someone can help me…
I’m creating a 3D structure on my geometry, made by G4Tubs, like a tree structure. I provided overlays and my need is to add each solid into one, for creating one logical volume.
Following the prescription provided here at paragraph 184.108.40.206. Unified Solids, i used the MULTI UNION approach:
munion_solid->AddNode(*tubs[s], transform); // for cicle with multiple tubs in an array munion_solid->Voxelize(); then G4LogicalVolume* logic_munion_solid = new G4LogicalVolume(... G4VPhysicalVolume* physical_munion_solid = new G4PVPlacement(...
It works, and the geometry is like expected, but the problem is that
visualisation is too slow. OpenGL in Qt takes about 30-60seconds to show me the visualisation, making difficult working on it.
More precisely, the working thread works on 100% until it opens the visualisation.
Maybe the problem derived from the Voxelize() method and something should be semplificated, but for now i use only 10 solids…!
Thank you in advance!