FRED Knowledge Base

Determining Scatter Importance Sampling

Scatter Direction Regions of Interest are an integral part of an efficient scatter calculation, as they serve to direct scattered rays only towards areas of interest. In generating scattered rays, FRED evaluates the solid angle subtended by the Scatter Direction Region of Interest and handles...

Read More

Imaginary refractive index to absorption converter

The attached FRED script file will retrieve the imaginary refractive index value for a sampled material type, create corresponding wavelength and absorption coefficient pairs for that material, and set the absorption flag active.  In this implementation the conversion between imaginary refractive index and absorption coefficient...

Read More

FRED Network Key Setup Guide

This Guide explains how to set up a FRED network key server, how to update the authorization codes on the key server’s USB dongle and how to prepare the client computers to use the network key. [pdf-embedder url="https://photonengr.com/wp-content/uploads/2018/04/FREDNetworkKeySetupGuide.pdf"]...

Read More

Rotating Prisms by Scripting

This knowledge base article will describe how to set up an embedded script that rotates two prisms, traces a source at each rotation position, and calculates and displays the sum total irradiance for all rotation positions.  The number of rotation positions is controlled through a...

Read More

Parenting by Script

This knowledge base article will describe how to use FRED’s scripting language to move selected surfaces from one object tree node to another.  The destination node is chosen from a dialog populated by valid nodes on the object tree, where valid nodes are defined to...

Read More

Video and OpenGL Problems

Although FRED adheres strictly to the OpenGL standards, the quality of rendering modes can be variable depending on the driver being used.  If you are encountering any video related problems we suggest the following solutions (in this order): Set the pixel format to “Safe” Open...

Read More

Rippled Surface

Creating a rippled surface can best be implemented through FRED’s scripted surface type. In this surface type the user defines a functional form for the surface as F(x,y,z) and provides the x-derivative, y-derivative and z-derivative. The example presented here will also use FRED’s global script...

Read More

Positioning with CAD Surfaces

This knowledge base article will describe how to place an entity in the local coordinate system of an imported CAD surface. By default, imported CAD surfaces are defined in the global coordinate system. The result of this definition is that you cannot position an entity...

Read More