Sunday, January 21, 2018

Brayns is rendering everything, everywhere!

Thanks to Docker, Brayns is now available on any platform (Windows, Mac and Linux), in a couple of clicks only:

First download and start the Brayns renderer:
docker pull bluebrain/brayns
docker run -ti --rm -p 8200:8200 bluebrain/brayns

Then download the corresponding web UI:
docker pull bluebrain/sauron
docker run -ti --rm -p 8080:8080 bluebrain/sauron

And connect to the UI using the following address:

That's it, you're done! Enjoy, and crontribute! :-)

Thursday, November 16, 2017

Visiting K Computer in Kobe

Many thanks to my good friend Syoyo for making it possible to visit the K Computer in Kobe. Great time, great people! Inspiring :)

Monday, September 25, 2017

Real-time raytracing of animated nD geometry

Let's face reality, 3D is dead, long live nD. Now that the Sol-R ray-tracer is more or less complete (for what it was initialy designed for anyway), it's time to move on to the next level. I added the Hypercube scene to the Sol-R viewer so that we can now play around with n dimensional hypercubes, thanks to the Delphi code, by cs_Forman (

Now that it's pretty clear that our world has more than 3 dimensions, I am hoping that Sol-R can now help understanding what n dimensional geometry looks like when it intersects our 3D world.

The code is there:

PS: The code was written while watching the inspiring Christopher Nolan Interstellar movie :-)

Saturday, July 8, 2017

Saturday, June 17, 2017

Deep learning and neuron visualization

Currently teaching my network to go from a simple representation of a neuron morphology to a more detailed and realistic representation. Here are the first (promising) results:

Tuesday, March 7, 2017

Global illumination / Volume rendering

Last night, I got inspired by the Exposure Render: An Interactive Photo-Realistic Volume Rendering Framework, and started adding global illumination to volume rendering in Brayns. The first results are the following ones, and the code is about to be merged :-)

Monday, February 20, 2017

When Virtual Drums meet Interactive Brain Visualization

Could not help it, had to synchronize my VDrums with Brayns, the large scale interactive brain visualizer I created at EPFL.

Components used for the demo:
- Mido: 
- Brayns:

Wednesday, January 25, 2017

In the insideHPC News!

 In this silent video from the Blue Brain Project at SC16, 865 segments from a rodent brain are simulated with isosurfaces generated from Allen Brain Atlas image stacks. The work is derived from the INCITE program’s project entitled: Biophysical Principles of Functional Synaptic Plasticity in the Neocortex.

I produced 2 sequences of that video using Brayns, the application I designed in the context of the Blue Brain Project.

Monday, January 9, 2017

Happy New Year!!!

Happy new year, best wishes to all, and ray-tracing forever!

Saturday, December 3, 2016

Brayns for neuro-robotics

Last tuesday, I presented how Brayns could be used to render high quality images for our colleagues from the neuro-robotics team. Brayns is hardware agnostic and it takes no more than one command line argument to switch between OSPRay (CPU) and OptiX (GPU) backends. The following video shows Brayns in action, on a 24MPixel display wall! Brayns is running on 1 machine powered by 2 Quadro K5000 NVIDIA GPUs.

Friday, October 28, 2016

SIMD accelerated voxelizer

SIMDVoxelizer is a CPU-based voxalizer taking advantage of vectorization units to speed up creation of 8bit raw volumes.

usage: SIMDVoxelizer <voxel_size> <cutoff_distance> <input_file> <output_file>

Input file is a binary array of floats: x, y, z, radius and value of elements. Each voxel of the final volume contains the sum of all elements with a weight that correspond to the value of the element divided by its squared distance to the voxel. Note that in the final volume, values are normalized.

This is currently a brute force implementation that produces accurate 8bit volumes.

The <output_file> is suffixed by the size of the volume.

SIMDVoxelizer makes use of the Intel ISPC compiler and requires ispc to be in the PATH.

To build SIMDVoxelizer, simply run make in the source folder.

Source code available on github.

Saturday, October 8, 2016

Volume Rendering coupled to Ray-Tracing: a win-win combination

I am currently working at adding Volume Rendering to the existing Brayns implementation. Using volumes clearly is the way to go to represent the activity that takes place outside of the geometry. Ray-tracing, on the other hand, concentrates on high quality surface rendering, processing shadows and other global illumination.

Many thanks to my colleagues  Raphael and Grigori without whom that development would have taken a few more days!

Currently in my volume branch, but soon to be merged into master!!

Saturday, September 24, 2016

Framework for efficient synthesis of spatially embedded morphologies

I was delighted to contribute to this paper:



Many problems in science and engineering require the ability to grow tubular or polymeric structures up to large volume fractions within a bounded region of three-dimensional space. Examples range from the construction of fibrous materials and biological cells such as neurons, to the creation of initial configurations for molecular simulations. A common feature of these problems is the need for the growing structures to wind throughout space without intersecting. At any time, the growth of a morphology depends on the current state of all the others, as well as the environment it is growing in, which makes the problem computationally intensive. Neuron synthesis has the additional constraint that the morphologies should reliably resemble biological cells, which possess nonlocal structural correlations, exhibit high packing fractions, and whose growth responds to anatomical boundaries in the synthesis volume. We present a spatial framework for simultaneous growth of an arbitrary number of nonintersecting morphologies that presents the growing structures with information on anisotropic and inhomogeneous properties of the space. The framework is computationally efficient because intersection detection is linear in the mass of growing elements up to high volume fractions and versatile because it provides functionality for environmental growth cues to be accessed by the growing morphologies. We demonstrate the framework by growing morphologies of various complexity.

Wednesday, July 13, 2016

In the news:

Brayns in the news, thanks to a amazing collaboration with the Intel team.

Using Intel’s Xeon Phi for Brain Research Visualisation

Sunday, June 26, 2016

Bringing interactive ray-tracing to neuroscience

Brayns, the application I've been working on for 6 months at EPFL, is now open-source!

To me, this application represents the first step to bringing interactive ray-tracing to neuroscience. Very exciting moments and millions of ideas are on their way. Stay tuned!

Saturday, June 25, 2016

ISC 2016 Tech Demo on Intel's new KNL architecture

Had a great time presenting Brayns at the Intel booth ISC2016.

Brayns is finally open-source, star it, fork it and contribute to introducing ray-tracing to the world of Neuro-Science. 

Brayns was presented running on 4 KNL nodes and was running amazingly fast! Up to 60fps in Full-HD on a 500 million geometries (spheres, cones and cylinders) model.

Monday, May 16, 2016

Stepping into the virtual brain


One of the keys towards understanding how the brain works as a whole is visualisation of how the individual cells function; photo-realistic rendering is therefore important.