Skip navigation

Photopia Library Accuracy

Reliable data backed by over 30 years of experience.

An important issue to consider when using any optical design tool is accuracy. As a designer, you need to trust that your design tool is accurately predicting the distribution of light within your model. Time and money is lost when software tools fail to produce accurate results. We at LTI Optics understand this issue first-hand. We use Photopia on a daily basis to design products for our clients.

Garbage In

Garbage Out

The most crucial piece of the raytracing process is an accurate light source model and accurate material reaction properties. Without these, even the easiest to use, fastest raytracing engine still lives true to the Garbage In, Garbage Out mantra.

At LTI Optics, we've had over 30 years of experience in modeling and measuring light sources and materials for use in raytracing software. Each of the 1500 items in the Photopia Library have been created and verified by our engineers, with a level of precision and care that is unmatched in other source and material libraries.

Producing accurate simulations of optical systems requires accurate source models. There are several ways that sources can be modeled and these various methods are discussed in some detail in this SPIE Lamp Modeling Paper. Some modeling methods have trade-offs in accuracy and can therefore only be used in designs where the decreased accuracy is acceptable. For most secondary LED optics however, there is little tolerance for compromises in source model accuracy. This is why Photopia's LED source library uses the most accurate type of model possible. These are referred to as Type 3 source models, using the terminology in the paper referenced above.

Type 3 source models are essentially the same as luminaire models that contain lamp, reflective, transmissive and/or refractive surfaces. The proper distribution of light is created only after all of these components interact with each other. Type 3 models are required when the interaction of the components is crucial to replicating the physical lamp's behavior in your optical system and in cases where the Type 1 and 2 models lack the required accuracy in some aspect of the behavior.

CREE XHP Lamp Model

To the left is a CREE XHP LED modeled as a Type 3 lamp in Photopia.

In the LED, light is initially emanated from the side or flat surfaces of the LED chip embedded inside a bulb. Reflective surfaces are also embedded within the bulb underneath. The final distribution of light emitted from the LED package is a function of the following:

  • How the light is initially emitted from the LED die.
  • The shape of the optical components (reflectors and lenses).
  • The relative position of the die with respect to the rest of the components.
  • The materials of the various components.

In order to produce both the proper angular distribution of light leaving the LED as well as the proper spatial distribution of emanation points, it is necessary to model the bulb as a refractor. This means having light start on the LED chip and then interact with both the reflector and refractor surfaces.

CREE XHP Lamp Model No Dome

Since Type 2 lamp models in Photopia do not support refraction and reflection of light upon initial emanation, a Type 3 LED model is needed. The reason why Type 2 models don't support refraction and reflection of light within the source model is because the effects of any refraction and reflection are already taken into account in the measured distribution assigned to the model. The main purpose of taking these interactions into account in a Type 3 model is to generate more accurate ray emanation points. See the image to the left for an example of how the internal structure was modeled for the XHP.

CREE XHP Lamp Model Animated Image

The Refractor Module in Photopia is capable of handling the various requirements of LED lamp models. This includes having light start within the bulb material and having reflective surfaces within the bulb.

The image to the left illustrates how the proper angular and spatial distribution of the rays is achieved. Rays emanate from the LED chip and some reflect off of the reflective surfaces while most go toward the bulb/air interface directly. Some light then exits the bulb and is refracted appropriately and some light reflects back into the bulb due to Fresnel's reflections. Depending on the relative size of the chip and shape of the bulb, some light will also get redirected back into the LED via TIR.

CREE XHP Lamp Model Section Illuminance

The image to the left shows the light emitted from the chips on a shaded plot with the bulb layer turned off. The bulb was on during the raytrace and turned off only for this image. You can see how the light initially emits only from the luminous chip. You'll also see how the color over angle and color over source area are fully characterized. We gave a CORM presentation on color lamp modeling.

Citizen COB Lamp Model Color Over Angle

We also take care to measure the varying color emission with respect to emission area and emission angle. To the left is a COB LED which shows how the color over emission area and angle change. To the right is a plot of the measured SPD over emission angle, data we measure ourselves while constructing a lamp model.

5mm LED

5MM LED Complete Image

5mm LED, bulb removed

5mm LED Bulb Removed

Complex LED lens

Complex LED Lens

Complex LED lens

Complex LED lens, rotated

What are raysets?

Raysets have become a convenient way to model light source behavior, and are commonly provided by LED vendors. A rayset is simply a collection of rays (vectors) that describe the initial emanation of light from a source. Each ray consists of a start point, direction, and magnitude (in lumens). Rayset files are ususally provided in multiple formats for compatability with most optical simulation software.

3D Rayset Illustration

What are raysets missing?


Raysets are missing one key component of a lamp model, geometry. Raysets only describe the exiting light and do not contain any geometric data about the light source. Since there is no geometric information, there is nothing for the light to interact with if it comes back towards the light source. Some vendors provide 3D cad models as a supplement to their raysets, but this relies on the users to assign appropriate materials to each part of the LED. Additionally, many of these CAD models don't contain enough detail but only describe the bounding volume of the package. This lack of geometry also causes an issue with accurate ray emanation points. Since there is no geometry, the ray emanation points are not coming from geometric locations, but just points in space. The process of combining the 2D images to create raysets does not seem to provide an accurate way to determine correct ray emanation points.

The images to the right show a cross section of the CREE XR-E LED. The image on the left shows the light field for a rayset based model. The geometry is included only as a reference since the rayset based model doesn't contain any geometric information. The image on the right shows a Photopia lamp model, with the associated geometry. The light field for the Photopia model looks more coherent and seems to match the geometry better than the rayset based model, which seems to indicate light coming directly behind the LED, through the package, which is a physical impossibility.

Emanation Points from Rayset Lamp Model

Are raysets accurate?

it depends!

Raysets seem to have a good potential of capturing near field photometric data, however, they do have some significant limitations. Their lack of CAD geometry puts the responsibility on the user of the software to import and assign materials in order to achieve an accurate result. Additionally, because the data is sometimes compiled from a series of 2D images, raysets often don't contain accurate 3D emanation points. Of the two aspects of lamp modeling, where is the light going and where is it coming from, raysets only accurately address where the light is going. Without proper material assignments to the 3D geometry as well as the proper emanation points, photometric simulations can be very inaccurate.

In conjunction with Ruud Lighting, we've also done a series of studies that compared simulations with raysets and simulations with Photopia lamp models to measured photometry. We consistently saw very strong correlation between the Photopia lamp models and measured photometry. The match between raysets based models and measured photometry was less consistent. In any application where secondary optics will be placed close to an LED, the Photopia lamp model provides the best correlation. Since these raysets are typically generated from 2D images, they have no way to accurately determine the 3D ray emanation points, which are critical when an optic is placed close to or directly on the LED. Additionally, if an index matching gel is used to join the LED and the optic, raysets provide no way to account for this surface interaction. Case studies are included below as well as in the following papers:

These case studies use data collected by BetaLEDTM during the development of their NanoOpticTM LED outdoor area lighting lens optics. The data includes measured luminous intensity distributions along with simulations using both Type 1 and Type 3 source models in Photopia. The optics were measured at Independent Testing Laboratories, Inc. (ITL) in Boulder, Colorado, USA. The simulations used lens geometry that was scanned from the physical as-built parts. This is important since the as-built parts did not always perfectly match the intended design, which removes a potential source of difference between measured and simulated performance.

Case 1: Roadway Type 5 Lens with Index Matching Gel between LED and Lens

The image on the left shows the measured (blue) versus rayset predicted (red) candela plot. The image on the right shows the measured (blue) versus Photopia model predicted (red) candela plot. The rayset based models are called Type 1, the Photopia models are called Type 3 based on the terminology in this paper on lamp modeling.

Wide Beam Candela Comparison For Rayset Based Lamp Model

The Photopia (Type 3) model on the right predicts the beam more closely than the rayset (Type 1) model on the left. The image on the right shows that the predicted and measured candela plots trace each other more closely, especially at the higher vertical angles, which are critical in a roadway application. If the simulations are underpredicting these values, then the optimization of the optic will be misdirected. The rayset model on the left shows very significant deviations between the high angle light, the angle at which the peak intensity occurs, and the nadir intensity, all of which are main design criteria in a roadway optic.

Case 2: Roadway Type 5 Lens without Index Matching Gel

The differences between the rayset and Photopia model performance are not as great as in Case 1, but the left images below do show an upward shift in the beam angle and significantly more light directly below the luminaire. Accurately predicting the peak vertical angle in the intensity distribution is another critical issue in this type of lens. The right images below show a more accurate overall beam shape and peak beam angles.

Candela Comparison for Rayset Based Lamp Model with Index Gel Candela Comparison for Rayset based lamp model with index gel - narrow beam

Case 3: Medium Beam Lens with Index Matching Gel

This case illustrates how the differences between the 2 model types remains significant when a gel is used between the LED and lens even in a much narrower beam distribution. The higher intensities seen in the central part of the beam using the Type 1 model on the left result from the extra lumens that were not directed to the higher angles in the distribution where they belonged. The Type 3 model results shown on the right reveal a much closer beam shape at the full range of angles in this distribution.

Medium beam with index gel candela comparison


The 3 cases presented illustrate that there are significant differences in simulated results depending on the source modeling method used. These results show that a Type 3 model more closely matches the measured performance than the Type 1 model for both wide and medium beam lenses. The differences are greatest when an index matching gel is used between the LED and lens. The main reasons for this are that in addition to the challenge Type 1 models have in creating accurate 3D ray emanation points, all of their digital images showing the luminous view of the source are measured in air. When a gel is used between the LED and the lens, light never exits from the LED primary lens into air so the measurements are inappropriate. Since Type 3 models include the lens geometry, the material can simply be changed to account for the glass / gel interface instead of glass / air.

The 2nd set of data shows that the Type 1 model fairs better when there is no gel, yet it does not outperform the Type 3 model. Wider beam optics are more sensitive than narrower beam optics to exactly how much light is directed onto each part of the lens. As the beam gets narrower, more light is directed to the same angles in the beam and differences in the amount of light sent to each part of the lens between the simulation and physical reality become less important. It should also be noted that other 3D ray emanation point geometry mapping options were tested such as mapping the points to a sphere and the results did not vary significantly from those presented here.

Given a choice between Type 1 and Type 3 source models for the same LED, a Type 3 model will likely produce more accurate results, especially as the beam gets wider. If gels are used between the LED and lens, then Type 1 models should not be used since the measurements on which they are based is not appropriate for this situation.

The simulation data in these case studies was provided by Kurt Wilcox and Chris Strom at Ruud Lighting. ITL in Boulder, Colorado provided the physical measured data for comparison.

LTI Optics uses a custom-built BRDF/BTDF measurement device to accurately characterize the real reflecting/transmitting properties of various materials such as semi-specular aluminum, hammertone, prismatic lenses, perforated diffusers, and many others. The measurements are collected for a wide range of light incidence angles to capture the true scattering nature of real materials (see image below). Photopia uses the measured data in lookup table format and therefore does not attempt to “curve fit” the data into standardized equations that do not model the wide range of scattering effects observed in real materials. The library of measured data also eliminates the need for the user to “guess” at the scattering properties of materials. Customers can also submit proprietary materials for measurement, ensuring the most accurate data possible for their analyses. To create an accurate material model we perform two types of measurements: integrated reflectance/transmittance, and material scattering.

Alanod 1165 BSDF Scattering Distribution

Both integrated reflectance, transmittance and absorptance, as well as material scattering are measured over a wide range of incidence angles at tight angular interval in order to ensure that precise data is available during the raytrace.

Other material measurements may have data only every 15° and the data may stop at 75°. Our measurements are at least every 5°, and go all the way from nearly 0° up to 85° and beyond depending on the material.

BSDF Ray Scatter

Comparison of BSDF Properties of diffusing materials

What We Need:

  • 1 sample of lamp (2-3 if an LED)
  • any necessary control gear
  • complete data sheet
  • bare lamp photometry (IES/LDT file)
  • CAD model if available

What It Costs:

$900 depending on lamp

What We Do:

We'll measure and generate a 3D CAD model for the light source. We'll measure the luminance of the various parts of the light source and assign those to geometry in the CAD model. We'll measure color properties and assign those to the model. If you don't have bare lamp photometry we can get that for you. We'll create Photopia Library files and distribute to customers.

What You Get:

  • lamp listed on our website
  • lamp sent out in next monthly newsletter to xx subscribers
  • lamp added to Photopia library for our users

Let's Get Started:

Our queue time is typically 1-2 weeks to complete a model.

  PDF Order Form

What We Need:

  • 1 sample of material
  • 4" x 4" sample size
  • complete data sheet

What It Costs:

$100-1000 depending on material

What We Do:

We'll measure the total integrated reflectance and transmittance in our integrating sphere. We'll measure the reflected and transmitted scatter in our custom developed BRDF/BTDF goniophotometer. We'll create Photopia Library files for your material and distribute to our users.

What You Get:

  • material listed on our website
  • material sent out in next monthly newsletter to xx subscribers
  • material added to Photopia library for our users

Let's Get Started:

Our queue time is typically 1-2 weeks to complete a model.

  PDF Order Form

Custom Lamps and Materials

Do you have custom lamps or materials for individual OEMs? Perhaps materials only used within your company, or custom LEDs setup with a certain die or phosphor configuration. We can make a model for these and just provide them to you or a specific client, not our general public library.

Product Under Development

You may have lamps or materials that are under development or only in engineering sampling. We can measure these products and add them to a private library, providing access only to people within your company or selected customers. Once you have a general release we can provide the product to everyone. Because this requires a little more management on our end, there is a small fee, but this allows you to get Photopia models for product under development into the hands of optical engineers that will be specifying your product in their projects.

We trust the accuracy of Photopia everyday doing work for our optical design clients and we know that you will as well.

For more information about pricing, purchases, or trials, please visit our pages for Photopia and Photopia for SOLIDWORKS.

Back to top

Copyright 2015 by LTI Optics, LLC, all rights reserved.

SOLIDWORKS® is a registered trademark of Dassault Systémes SOLIDWORKS Corporation.

LTI Optics provides Photopia, the industries leading optical design software and optical analysis software for designing and analyzing illumination optical systems. Photopia optical design software works alone or is an add-in to SOLIDWORKS, allowing full opto-mechanical integration.