source: trunk/examples/novice/N03/visTutor/exN03Vis15.mac~ @ 1302

Last change on this file since 1302 was 1234, checked in by garnier, 14 years ago

correct pb of flicker at repaint

File size: 2.4 KB
RevLine 
[888]1#######################################################################
[1234]2#  MACRO FILE NAME: exN03Vis12.mac                                     #
[888]3#                                                                     #
4#  AUTHOR(S): Laurent Garnier                                         #
5#                                                                     #
6#  DATE: July 01, 2007                                                #
7#                                                                     #
8#  CONTENTS: A basic macro for demonstrating Inventor driver          #
9#                                                                     #
[1234]10#  USAGE:  % $G4BINDIR/exampleN03  visTutor/exN03Vis12.mac            #
[888]11#                                                                     #
[1234]12#  REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL ,Qt  #
[888]13#                                                                     #
14#  ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION:               #
15#  (See geant4/source/visualization/README for details.)              #
16#                                                                     #
[1234]17#    % setenv G4VIS_BUILD_OGLQT
[888]18#                                                                     #
19#  ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION:                #
20#  (See geant4/source/visualization/README for details.)              #
21#                                                                     #
[1234]22#    % setenv G4VIS_USE_OGLQT               1                          #
[888]23#                                                                     #
24#  ADDITIONAL NOTES:                                                  #
25#                                                                     #
26#######################################################################
27
28# Create "scene-0"
29/vis/scene/create
30
[1234]31# Invoke the Qt driver
32/vis/sceneHandler/create OGLSQt
[888]33/vis/viewer/create
34
35# Add the world volume to the current scene
36/vis/scene/add/volume
37#/vis/scene/add/volume Layer
38# Name of the absorbers = name of their material (Lead) !
39#/vis/scene/add/volume Lead
40# Name of the gaps = name of their material (liquidArgon) !
41#/vis/scene/add/volume liquidArgon
42#/vis/scene/add/trajectories
43/tracking/storeTrajectory 1
44
45# Bird-eye view of events
46/vis/viewer/reset
[1234]47/vis/viewer/set/viewpointThetaPhi 45 45
[888]48
49/vis/scene/notifyHandlers
50
51/control/verbose 2
52
53/vis/viewer/update
54
55/run/beamOn 1
56
Note: See TracBrowser for help on using the repository browser.