[Gate-users] Visualization problem

Ismet Isnaini ismeth74 at yahoo.com
Fri Feb 24 06:29:59 CET 2012


Hi everyone, 




I am trying to visualize my macro file using the following command on Gate 6.1


#/vis/disable

/vis/open                           OGLSX
/vis/viewer/zoom                    1.2
/vis/viewer/set/viewpointThetaPhi   60 30
/vis/drawVolume
/tracking/storeTrajectory           1
/vis/scene/add/trajectories
#/vis/scene/endOfEventAction        
 accumulate
/control/execute                    Verbose.mac



but, I always got this following error

ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.

or in detail.. 


Idle> #V I S U A L I S A T I O N
#V I S U A L I S A T I O N
Idle> #
#
Idle> 
Idle> #/vis/disable
#/vis/disable
Idle> 
Idle> /vis/open                           OGLSX
Idle> /vis/viewer/zoom                    1.2
ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.
Idle>
 /vis/viewer/set/viewpointThetaPhi   60 30
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
Idle> /vis/drawVolume
ERROR: Current scene handler not defined.  Please select or create one.
Idle> /tracking/storeTrajectory           1
Idle> /vis/scene/add/trajectories
/tracking/storeTrajectory 1
WARNING: Trajectory storing has been requested.  This action may be
  reversed with "/tracking/storeTrajectory 0".
Idle> #/vis/scene/endOfEventAction         accumulate
#/vis/scene/endOfEventAction         accumulate
Idle> /control/execute                    Verbose.mac
Idle> 



I read somewhere that it is a matter of java installation.... Any body can help???? 



regards


Ismet


More information about the Gate-users mailing list