[Gate-users] Visualization problem

Hermann Fuchs hermann.fuchs at meduniwien.ac.at
Fri Feb 24 08:36:49 CET 2012


Hello

During Geant4 installation, have you selected OpenGL support?

Cheers,
Hermann
On Thu, 2012-02-23 at 21:29 -0800, Ismet Isnaini wrote:
> 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
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> 

-- 
-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien

Tel.  + 43 / 1 / 40 400 7271
Mail. hermann.fuchs at meduniwien.ac.at



More information about the Gate-users mailing list