Navigation: Scatterers > Scatter Types > Extended Scripted > Test Dialog

 

Test Dialog

 

Contact Us: fredsupport@photonengr.com

 

 

 

Description


This feature allows the user to test their implementation of a Extended Scripted BSDF scatter model by entering custom parameters for the incident, specular and scatter rays and evaluating the scripted model's BSDF or TIS for a given wavelength.

 

 

Navigation


This feature can be accessed by pressing the "Test" button in the upper left corner of the  Scripted BSDF dialog box.

 

 

Controls


Control

Inputs / Description

Defaults

Input Parameters

Ray Position

X, Y, Z position vector of the incident ray intersection with the scattering surface.  Values are given in the local coordinate system of the scattering surface.

0, 0, 0

Surface Normal Vec

X, Y, Z direction vector of the surface normal at the intersection position of the incident ray.  Values are given in the local coordinate system of the scattering surface.

0, 0, 1

Incident Ray Dir Vec

X, Y, Z direction vector of the incident ray.  Values are given in the local coordinate system of the scattering surface.

0, 0, 1

Incident Ray S-Pol Vec

X, Y, Z direction of the incident ray's s-polarization vector.  Values are given in the local coordinate system of the scattering surface.

0, 0, 0

Specular Ray Dir Vec

X, Y, Z direction vector of the specular ray.  Values are given in the local coordinate system of the scattering surface.

0, 0, -1

Specular Ray S-Pol Vec

X, Y, Z direction of the specular ray's s-polarization vector.  Values are given in the local coordinate system of the scattering surface.

0, 0, 0

Scatter Ray Dir Vec

X, Y, Z direction vector of the scatter ray.  Values are given in the local coordinate system of the scattering surface.

0, 0, -1

Scatter Ray S-Pol Vec

X, Y, Z direction of the scattered ray's s-polarization vector.  Values are given in the local coordinate system of the scattering surface.

0, 0, 0

S-Pol Jones Coefficient

Complex amplitude coefficients of the incident ray's s-polarization.

0, 0

P-Pol Jones Coefficient

Complex amplitude coefficients of the incident ray's p-polarization.

0, 0

Refractive Index

Complex refractive index of the material that the incident ray is immersed in.

1, 0

Refractive Index

Complex refractive index of the material that the specularly transmitted ray is immersed in.

1, 0

Wavelength (micron)

Wavelength in microns for the test ray.

Default system wavelength

New Random

Generates a new set of random numbers to be used when calculating the BSDF value.

Random

Send TIS Request

When toggled, a request to calculate the TIS is made.  No BSDF value will be determined.  The Summary output will indicate whether the TIS request was a success or failure.

Unchecked

Output Parameters (Results)

Ray Position

X, Y, Z position vector of the scattered ray's position on the scattering surface.  Values are given in the local coordinate system of the scattering surface.

 

Surface Normal Vec

X, Y, Z direction vector of the surface normal at the position of the scattered ray.  Values are given in the local coordinate system of the scattering surface.

 

Incident Ray Dir Vec

X, Y, Z direction vector of the incident ray after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

Incident Ray S-Pol Vec

X, Y, Z direction of the incident ray's s-polarization vector after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

Specular Ray Dir Vec

X, Y, Z direction vector of the specular ray after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

Specular Ray S-Pol Vec

X, Y, Z direction of the specular ray's s-polarization vector after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

Scatter Ray Dir Vec

X, Y, Z direction vector of the scatter ray after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

Scatter Ray S-Pol Vec

X, Y, Z direction of the scattered ray's s-polarization vector after the test calculation is performed.  Values are given in the local coordinate system of the scattering surface.

 

S-Pol Jones Coefficient

Complex amplitude coefficients of the scattered ray's s-polarization component.

 

P-Pol Jones Coefficient

Complex amplitude coefficients of the scattered ray's p-polarization component.

 

BSDF

BSDF value calculated for the conditions supplied in the Input section of the dialog.  When the "Send TIS Request" option is toggled, no BSDF value is computed.

0

Fraction TIS

Reports the TIS as a fraction of that calculated at x,y,z = 0,0,0.

0

Wavelength (micron)

Reports the wavelength of the scattered ray after undergoing the scatter event.

0

 

Perform Test

Executes the scatter evaluation for the conditions in Input

 

Cancel

Discard settings and close dialog box.

 

Help

Access this Help page.

 

 

 

Related Topics


Extended Scripted BSDF

 

 

 

 

 

 

Copyright © Photon Engineering, LLC