[Gate-users] problem with /vis/open OGL
Sarah Blind
sarah.blind at univ-lorraine.fr
Mon Nov 29 15:13:21 CET 2021
Okey, so I understood that my available viewer is DAWNFILE.
I want now for a start to view a very very simple code describing a world with a cylindrical PET with one daughter.
My file environnement.mac :
> # WORLD
> /gate/world/geometry/setXLength 40. cm
> /gate/world/geometry/setYLength 40. cm
> /gate/world/geometry/setZLength 40. cm
> # SYSTEM
> /gate/world/daughters/name cylindricalPET
> /gate/world/daughters/insert cylinder
> /gate/cylindricalPET/setMaterial Water
> /gate/cylindricalPET/geometry/setRmax 100 mm
> /gate/cylindricalPET/geometry/setRmin 86 mm
> /gate/cylindricalPET/geometry/setHeight 18 mm
> /gate/cylindricalPET/vis/forceWireframe
> /vis/viewer/zoom 3
> # ONE DAUGHTER
> /gate/cylindricalPET/daughters/name box1
> /gate/cylindricalPET/daughters/insert box
> /gate/box1/placement/setTranslation 91. 0 0 mm
> /gate/box1/geometry/setXLength 10. mm
> /gate/box1/geometry/setYLength 17.75 mm
> /gate/box1/geometry/setZLength 17.75 mm
> /gate/box1/setMaterial Water
> /gate/box1/vis/setColor yellow
> /gate/box1/vis/forceWireframe
My main file looks the following :
> /gate/physics/addPhysicsList QGSP_BERT_EMV
> /gate/geometry/setMaterialDatabase ../data/GateMaterials.db
> /vis/open DAWNFILE
> /control/execute environnement.mac
> /vis/drawVolume
> /vis/viewer/refresh
I don't understand the output; this code outputs a file .prim which I cannot open.
Does someone sees why I can't obtain any view simulation?
I'm discovering Gate... thank you for your help!
Sarah
----- Le 29 Nov 21, à 11:03, Sarah Blind <sarah.blind at univ-lorraine.fr> a écrit :
> Dear Gate users,
> I'm new to Gate and I encounter the following problem while executing a very
> simple code:
> when I write
>> /vis/open OGL
> in my main.mac I get the following error message:
>> "OGLSQt" is not compatible with your chosen session, and no fallback system
>> found
> Yet OpenGL is installed. Has someone an idea what the problem can be?
> I'm working on a virtualbox with Ubuntu 20.04.3 LTS.
> I installed Gate 9.1 throught the ubuntu software center.
> Many thanks for your help,
> Sarah
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
Sarah Blind
Ingénieure de recherche - CNRS
Centre de Recherche en Automatique de Nancy (CRAN)
Département Biologie, Signaux et Systèmes en Cancérologie et Neurosciences (BioSiS)
Site de la faculté de médecine
9, Avenue de la Forêt de Haye
54505 Vandoeuvre les Nancy
Tél : 03.72.74.61.13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211129/e9598fe3/attachment.html>
More information about the Gate-users
mailing list