| Summary: | OpenGL driver fails to show orbs, tubes and spheres with radius below 1 nm | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Václav Štěpán <vaclav.stepan> |
| Component: | visualization/OpenGL | Assignee: | John.Allison |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Václav Štěpán
2013-03-01 17:36:08 CET
- HepPolyhedron.cc:
o Introduced const G4double spatialTolerance = 0.01*nm;
o Used in RotateAroundZ and in HepPolyhedronSphere and HepPolyhedronTorus
constructors.
o Allows creation of nm-sized objects.
Note: This now allows the creation of polyhedral representations of nm-sized volumes for visualisation, but one may still have issues at very high zoom. For example, if one wishes to see a nm-sized volume in a normal-sized geometry one might wish to zoom in by factors of 1e9 or more. This stretches the capability of systems that convert to 32-bit floats for internal representation, for example, OpenGL. If you get a problem, e.g., not drawn at high zoom, try splitting the zoom between "zoom" and "scale". For example, to achieve a magnification of 1e10, try:
/vis/viewer/zoomTo 1e5
/vis/viewer/scaleTo 1e5 1e5 1e5
At high zooms, it is often not easy to find things. If you know where they are try using "/vis/viewer/set/targetPoint".
Thank you very much, John. |