source: trunk/environments/g4py/examples/education/lesson1/oglx.mac @ 1358

Last change on this file since 1358 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 559 bytes
Line 
1# vis.mac
2
3#OpenGL Stored mode to accumulate trajectories
4
5/vis/open OGLSX
6
7#VRML viewer is usable if you defined env variables
8#/vis/open VRML2FILE
9
10/vis/viewer/refresh
11
12/vis/scene/create
13/vis/scene/add/volume
14#/vis/scene/add/axes 0 0 0 2 m
15#/vis/drawVolume
16/vis/viewer/set/style s
17
18
19/vis/sceneHandler/attach
20
21/vis/viewer/set/viewpointThetaPhi 90. 0.
22/vis/viewer/zoom 1.5
23
24#/vis/scene/add/text 0 610 610 mm 20 -0 -0 Geant4Py
25/tracking/storeTrajectory 1
26/vis/scene/add/trajectories
27/vis/scene/endOfEventAction accumulate
28/vis/scene/endOfRunAction accumulate
29
Note: See TracBrowser for help on using the repository browser.