User Tools

Site Tools


software:geometry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:geometry [2019/02/13 09:20] himusersoftware:geometry [2022/01/14 18:44] (current) – external edit 127.0.0.1
Line 9: Line 9:
 <code> <code>
 cd primasoft/geant4/geometry cd primasoft/geant4/geometry
-camke .+cmake .
 make make
 </code> </code>
Line 33: Line 33:
   -  Modify your CmakeLists.txt   -  Modify your CmakeLists.txt
   -  Make and execute your new executable → a new .root file is created   -  Make and execute your new executable → a new .root file is created
 +    - Use  cmake --build.  and ./"your executable here"
 +
 +Useful links:
 +  * [[https://root.cern.ch/how/how-draw-objects|how-to-draw-objects]]
 +  * [[https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#the-geometry-package|geometry-package]]
 +  * [[https://cmake.org/cmake/help/latest/guide/tutorial/index.html]]
 +  * [[https://root.cern.ch/root/htmldoc/guides/users-guide/Geometry.html]]
  
-Usefull links: 
-  * [[https://root.cern.ch/how/how-draw-objects]] 
-  * [[https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#the-geometry-package]] 
  
 ==== Have a look at the geometry ==== ==== Have a look at the geometry ====
Line 47: Line 51:
 Now open the folders until you can see the different Volume folders.\\ Now open the folders until you can see the different Volume folders.\\
 With a right-click on for example Master Volume you can select Draw and a new window will be opened.  With a right-click on for example Master Volume you can select Draw and a new window will be opened. 
-Enter "ogl" as option and press "OK". Now your geometry is displayed by the OpenGL viewer.+Enter "ogl" as option and press "OK". Now your geometry is displayed by the GL viewer. 
 + 
 +== Scene interaction with GL viewer: ==
  
 +  * Left mouse button: ROTATE (ORBIT) the scene by holding the mouse button and moving the mouse
 +  * w: wireframe mode
 +  * e: switch between dark/light color-set
 +  * r: filled polygons mode
 +  * t: outline mode
 +  
 +More interaction modes are explained in the help menu.
software/geometry.1550049620.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki