Created attachment 647 [details] Display with bug at -halfZ Dear Geant4 experts, I have reported this bug in the user forum (https://geant4-forum.web.cern.ch/t/the-visualization-of-g4hype-is-not-correct/3993). The problem is that the visualization of the inner vertex at -halfZ is not correct. Please see the the attachment. To fix the problem, I have modified the file source/graphics_reps/src/HepPolyhedron.cc and fixed it as following: $ diff source/graphics_reps/src/HepPolyhedron{.orig,}.cc 1730c1730 < for(G4int i = n+1; i < n+n; i++) --- > for(G4int i = n+1; i < n+n-1 ; i++) 1735,1736c1735,1736 < zz[n+n] = -halfZ; < rr[n+n] = rr[n]; --- > zz[n+n-1] = -halfZ; > rr[n+n-1] = rr[n]; Thank you! Tao Lin IHEP, Beijing
Fixed HepPolyhedronHype will be available in the upcoming release Geant4 10.07. Thank you for reporting the problem!