GemRay: Ray-Tracing Software for Faceted Gemstone Design
GemRay: Ray-Tracing Software for Faceted Gemstone Design
A computational tool for predicting and optimising the optical performance of faceted stones
GemRay is a ray-tracing software application used by precision faceters and gemstone designers to simulate and evaluate the optical behaviour of a faceted stone before any cutting begins. By modelling how light rays enter a virtual gemstone, interact with its internal facets, and ultimately exit toward the viewer, GemRay allows the user to predict brilliance, dispersion, and extinction patterns with a degree of rigour that visual intuition alone cannot provide. The software occupies a specialised but important niche within the broader discipline of faceting, sitting alongside design tools such as GemCad as part of a computational workflow for serious amateur and professional cutters.
How Ray-Tracing Is Applied to Gemstones
Ray-tracing in the gemmological context applies the same fundamental physics used in optical engineering and computer graphics: a defined number of light rays are projected at a virtual stone, and the software tracks each ray through successive reflections and refractions according to Snell's Law and the Fresnel equations. The refractive index of the modelled material is a primary input; since different gem species bend light at different angles, a pavilion geometry optimised for quartz will perform quite differently in corundum or zircon. GemRay accepts the refractive index as a variable, allowing the user to model the same cutting design across multiple materials and compare predicted outputs.
The key optical qualities assessed are:
- Brilliance — the proportion of incident light returned through the crown toward the observer, governed principally by pavilion angle and the critical angle of total internal reflection for the given material.
- Dispersion — the separation of white light into spectral colours, influenced by facet arrangement and the material's dispersion coefficient.
- Extinction — dark areas visible in the stone when light is not returned to the eye, often caused by pavilion angles that fall below the critical angle or by poorly proportioned facet geometry.
Practical Use in Cutting Design
A faceter working with GemRay typically begins with a cutting design file — often created or imported from GemCad, the widely used facet-design programme — and then subjects that design to ray-trace analysis. The software renders a visual representation of the stone's face-up appearance under simulated lighting conditions, highlighting which facets return light and which produce extinction. The user can then adjust pavilion angles, crown angles, table percentage, or the number and arrangement of facet rows, re-running the simulation iteratively until the design achieves the desired balance of brilliance and fire.
This iterative, pre-cutting analysis has a direct practical benefit: it reduces the risk of committing an expensive or irreplaceable piece of rough to a design that will underperform optically. For custom cuts — where no established cutting prescription exists — the ability to test geometry computationally before touching the lap represents a meaningful reduction in material waste and recutting risk.
Limitations and Context
Ray-tracing software models an idealised stone: perfectly flat facets, exact angles, and a homogeneous, inclusion-free material. Real gemstones deviate from these assumptions in ways that affect actual optical performance. Inclusions, colour zoning, surface irregularities introduced by the lap, and the inevitable small angular errors of hand-cutting all modify the final result. GemRay's output is therefore best understood as a predictive guide rather than a guaranteed outcome. Experienced faceters use it to identify gross problems — a pavilion angle that will produce widespread extinction, for instance — while accepting that fine-tuning remains a craft skill exercised at the machine.
GemRay is also limited to the optical variables it models; it does not account for colour saturation, pleochroism, or the visual effects of strong birefringence in stones such as zircon or calcite, all of which materially affect a finished gem's appearance. These factors must be assessed separately by the cutter.
Place Within the Precision Faceting Community
Within the precision faceting community — a discipline that prizes measurable angular accuracy and repeatable optical results over purely decorative cutting — GemRay has become a standard part of the design toolkit. It is used alongside GemCad by designers who publish cutting diagrams, and by competition faceters who seek to extract maximum optical performance from a given outline and depth. The software reflects a broader shift in amateur and artisan lapidary practice toward quantitative, engineering-influenced methods that complement traditional craft knowledge.