Skip to content
Snippets Groups Projects
Select Git revision
  • master-macos
  • master default
  • gmclash_invalidSolid_centerPoints
  • master-ric-globalcoords-test
  • master-fedora-ci
  • revert-53dc4a7d
  • master-cmake-update
  • dynamicConfig
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 2.0.1
  • 2.0.0
  • 0.0
  • 1.0
15 results

geomodelvisualization

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Riccardo Maria Bianchi's avatar
    Riccardo Maria Bianchi authored
    new mechanism to add texture to volumes based on material name. For the moment, volumes using a 'GeoModelDummyMaterial' is rendered with a yellow-striped 'under construction' texture. But the mechanism is now in place to add textures based on any material name. The new feature required changes to the basic shape SoGenericBox, inheriting from SoShape. In particular, it required the definition of texture coordinates for this custom shape and the ridefinition of the SoShape::GLRender method. One caveat: with this modification the VP1/Explorer 'show outlines' feature does not work anymore; but it works if I use the default SoShape::GLRender() method, so something needs to be changed in my new GLRender method.
    c061206f
    History

    GeoModelVisualization

    Visualization of GeoModel geometry. This project contains the code for the GeoModelExplorer, which is a super-lightweight version of VP1(Light), but without event display; i.e. it is a pure geometry visualizer.

    This package is still under ferocious development; we are not releasing pre-build code at this point. We estimate binary distribution kits for Macintosh and Ubuntu platforms by January 2020.

    Quick installation instructions (Ubuntu Bionic, Disco, or Eoan)

    sudo add-apt-repository ppa:kaktusjoe/geomodel

    sudo apt-get update

    sudo apt install geomodel-explorer

    Running GeoModelExplorer:

    You just have to execute the following command:

    gmex [-d myGeoFile.db]

    Database files can be downloaded from:

    https://gitlab.cern.ch/GeoModelDev/geometry-data

    Build from source (Ubuntu Bionic, Disco, or Eoan)

    These instructions will install to /usr/local

    sudo add-apt-repository ppa:kaktusjoe/geomodel

    sudo apt-get update

    sudo apt install geomodel-io-dev libsoqt-dev [on disco and eoan]

    sudo apt install libsoqt5-dev, geomodel-io-dev, qt5-default, qtbase5-dev, libqt5opengl5-dev [on bionic]

    Then, checkout the source code (git clone or download)

    cd geomodelvisualization

    mkdir build

    cd build

    cmake ..

    make -j

    sudo make install