McXtrace is a general Monte Carlo ray-tracing software for simulation X-ray beamlines and experiments.
The simulations can compute all aspects of the performance of instruments and can thus be used to optimize the use of existing equipment, design new instrumentation, and carry out virtual experiments for e.g. training, experimental planning or data analysis.
McXtrace is based is based on a unique design, inherited from its sister McStas, where an automatic compilation process translates high-level textual instrument descriptions into efficient ANSI-
C code. This design makes it simple to set up typical simulations and also gives essentially unlimited freedom to handle more unusual cases.
It is built upon the code base of the proven and successful neutron ray-tracing package McStas and today McXtrace and McStas share a central code repository.
This is free and open source software.
Website: www.mcxtrace.org
Support: Documentation, GitHub Code Repository
Developer: Technical University of Denmark, Kongens Lyngby, Denmark & Synchrotron SOLEIL, Paris-Saclay, France
License: GNU General Public License

McXtrace is written in C and Fortran. Learn C with our recommended free books and free tutorials. Learn Fortran with our recommended free books and free tutorials.
Related Software
| Ray Tracing Software | |
|---|---|
| POV-Ray | Full-featured ray tracer |
| Blender | 3D content creation suite with a huge range of uses |
| McXtrace | Monte Carlo Xray Tracing for simulation X-ray beamlines and experiments |
| McStas | Simulator for neutron scattering instruments and experiments |
| Embree | High-performance ray tracing library |
| LuxCoreRender | Rendering system for physically correct image synthesis |
| pbrt | Physically based ray tracing system |
| OSPRay | Scalable and portable ray tracing engine |
| BRL-CAD | Combinatorial Constructive Solid Geometry (CSG) solid modeling system |
| Visionaray | C++ ray tracing template library |
| MantaRay | Advanced renderer using modern rendering techniques |
| YafaRay | Montecarlo raytracing engine |
| Tachyon | Parallel / multiprocessor ray tracing system |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.