Brayns  0.6.1
Hardware Agnostic Ray-Tracer
Brayns
Brayns.jpg
Brayns

One of the keys towards understanding how the brain works as a whole is visualisation of how the individual cells function. In particular, the more morphologically accurate the visualisation can be, the easier it is for experts in the biological field to validate cell structures; photo-realistic rendering is therefore important.

The Blue Brain Project has made major efforts to create morphologically accurate neurons to simulate sub-cellular and electrical activities, e.g. molecular simulations of neuron biochemistry or multi-scale simulations of neuronal function. Ray-tracing can help to highlight areas of the circuits where cells touch each other and where synapses are being created. In combination with ‘global illumination’, which uses light, shadow, and depth of field effects to simulate photo-realistic images, this technique makes it easier to visualise how the neurons function.

Brayns is a minimalistic visualiser that can perform ray-traced rendering of neurons. It provides an abstraction of the underlying rendering engines, so that the best possible acceleration libraries can be used for the relevant hardware. (https://github.com/BlueBrain/Brayns.git).

To keep track of the changes between releases check the changelog.

Contact: bbp-o.nosp@m.pen-.nosp@m.sourc.nosp@m.e@go.nosp@m.ogleg.nosp@m.roup.nosp@m.s.com

Architecture

Architecture.png
Architecture

User guide

Command line arguments are documented in the User Guide.

About

The following platforms and build environments are tested:

  • Linux: Ubuntu 16.04, Debian 9, RHEL 6.8 (Makefile, x64)

The API documentation can be found on bluebrain.github.io.

Using Docker images

Start Brayns as a service

1 docker run -ti --rm -p 8200:8200 bluebrain/brayns

More documentation is available on DockerHub: https://hub.docker.com/r/bluebrain/brayns/

Start the Brayns web UI

1 docker run -ti --rm -p 8080:8080 bluebrain/brayns-ui

More documentation is available on DockerHub: https://hub.docker.com/r/bluebrain/brayns-ui/

Building from Source

Prerequisites

In order to ease the application compilation process, we recommend using the following tree structure:

1 - src
2  +- ispc-v1.9.2-linux
3  +- OSPRay
4  +- Brayns

Intel ISPC compiler

Download and extract ISPC compiler 1.9.2 archive.

Embree

Clone embree in the same folder level as ISPC compiler

1 git clone https://github.com/embree/embree.git
2 mkdir embree/Build
3 cd embree/Build
4 git checkout v2.17.4
5 cmake .. -DCMAKE_INSTALL_PREFIX=<Brayns_installation_folder>
6 make install

OSPRay

Clone OSPRay in the same folder level as ISPC compiler

1 git clone https://github.com/ospray/OSPRay.git
2 mkdir OSPRay/Build
3 cd OSPRay/Build
4 git checkout v1.5.0
5 export CMAKE_PREFIX_PATH=<Brayns_installation_folder>
6 cmake .. -DCMAKE_INSTALL_PREFIX=<Brayns_installation_folder>
7 make install

Brayns

1 git clone --recursive https://github.com/BlueBrain/Brayns.git
2 mkdir Brayns/Build
3 cd Brayns/Build
4 cmake .. -DCLONE_SUBPROJECTS=ON -DCMAKE_INSTALL_PREFIX=<Brayns_installation_folder>
5 make install

A number of dependencies are optional, and are related to some specific Brayns features:

#### Enable/Disable assimp supported mesh file loader (.obj, .ply, etc.)

1 cmake .. -DBRAYNS_ASSIMP_ENABLED=ON:OFF

#### Enable/Disable Brion supported morphology file loader (.h5, .swc, BlueConfig, CircuitConfig)

1 cmake .. -DBRAYNS_BRION_ENABLED=ON:OFF

#### Enable/Disable Deflect for streaming to Tide, the Tiled Interactive DisplayWall environment.

1 cmake .. -DBRAYNS_DEFLECT_ENABLED=ON:OFF

Enable/Disable HTTP/REST/Websockets interface.

LibJpegTurbo and Rockets. See documentation for REST API details.

1 cmake .. -DBRAYNS_NETWORKING_ENABLED=ON:OFF

Running Brayns viewer

1 export PATH=<Brayns_installation_folder>/bin:$PATH
2 export LD_LIBRARY_PATH=<Brayns_installation_folder>/lib:$LD_LIBRARY_PATH
3 braynsViewer

Running Brayns off-screen service

1 export PATH=<Brayns_installation_folder>/bin:$PATH
2 export LD_LIBRARY_PATH=<Brayns_installation_folder>/lib:$LD_LIBRARY_PATH
3 braynsService

Known Bugs

Please file a Bug Report if you find new issues which have not already been reported in Bug Report page. If you find an already reported problem, please update the corresponding issue with your inputs and outputs.