| Summary: | G4Hype is not displayed in VRML | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Koichi Murakami <Koichi.Murakami> |
| Component: | visualization/VRML | Assignee: | Satoshi Tanaka <stanaka> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | Gabriele.Cosmo, John.Allison |
| Priority: | P5 | ||
| Version: | 9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | VRML file of G4Hype object | ||
I can confirm that the shape is not correctly visualized.
The responsible for this I believe is this portion of code in G4Hype.cc:
G4Polyhedron* G4Hype::CreatePolyhedron() const
{
// Tube for now!!!
//
return new G4PolyhedronTube (endInnerRadius, endOuterRadius, halfLenZ);
}
:-)
and corresponding missing graphics primitive in HepPolyhedron ?
ehm... John, Satoshi ?
Correct graphical representation has been added to G4Hype and missing graphics primitive in HepPolyhedron included. Available in tags: "geom-specific-V09-01-08" and "greps-V09-01-04". Will be included in next release. |
Created attachment 6 [details] VRML file of G4Hype object G4Hype objects cannot be properly displayed on VRML. I attach a VRML file of a G4Hype object, which is created by G4Hype("hype", 20.*cm, 30.*cm, 0.7, 0.7, 50.*cm) . I'm not sure weather this is just a limitation of the (OpenGL) capability or a bug. For other solid objects, they looks fine. Please take a look.