Open ggalgoczi opened 1 week ago
I was looking for exactly that functionality but also could not find it in the code using OptiX7. What makes you think that it is still relevant? I don't understand what your posted image represents or how you constructed it.
In #26 I posted the proof that analytic geometry is uploaded into the GPU. I tracked the pfRICH geom conversion until CSG/CSGFoundry, still need to check the GPU structure. Also the render I created for pfRICH is not triangulated (issue #55).
The plot I shared here is from a presentation on Opticks.
Following up on this:
I called CSGFoundry::descGAS() on esi-g4ox/geom/pfrich_opticks.gdml
It returned:
num_total 1 num_solid 1 num_prim 912 num_node 1326 num_plan 0 num_tran 1118 num_itra 1118 num_inst 1 gas 1 meshname 105 mmlabel 1 mtime 1731428601 mtimestamp 20241112_162321 sim Y
Since there are ~150 physical volumes in the GDML if you triangulate all you can not end up with 921 primitives IMO.
This is what is passed to the Shader Biding Table and gets pushed to the GPU.
There should be a code somewhere in the repo, I could not find it. Do you happen to find it @plexoos ?
Should get a result similar to this: