| Previous Topic | Next Topic | Contents | Features |
Before the geometry in the MCNP input can be visualized, some Sabrina settings must be made. All cells defined in the MCNP input file are marked by Sabrina as transparent. An image is more useful when there are some opaque cells. All cells containing a real (nonzero) material may be set opaque with
QTRANS M -1 Opaque
If no cells are explicitly declared opaque, Sabrina will itself set all cells with a nonzero material opaque. Such an assignment usually results in a boring picture, such as the outside of walls enclosing a room. It may be desirable to set some selected cells to transparent.
Sabrina should be told about the spatial extent of the model with the WINDOW command. If it is not, the default bounding box of 9000 in each direction may be inappropriate.
The minimum commands for creating a color image from an MCNP input file are
MCNP foo
QT M -1 1
WINDOW m xmin xmax ymin ymax zmin zmax
COLOR
The WINDOW command defines the mth spatial window to be the rectangular volume bounded by the Cartesian limits given. The default viewpoint is (4500, 5500, 5000). The default color is green. Colors may be quickly introduced by selecting Auto. by Cell or Auto. by Material under the Set Colors submenu of the Graphics menu. ETCH may be used instead of COLOR.