www.schorsch.com

Rayfront 1.0 User Manual

Contact | Sitemap | Search

Data Pattern Types

The data driven pattern types influence the reflectance of a material according to a data from a file, which is mapped by a defined function. There is a colored and an achromatic version.

Colordata

A colordata is a procedurally defined color pattern, that takes its values from data files. The values of the red, green, and blue modifier functions are multiplied with the material color values.

[dialog]

Function File:
This pop-up list offers all function files known to the system for selection.
Edit...
Start the text editor that was configured in the project preferences to edit the function file.
New...
Create a new function file, and start the text editor to edit it.

Red/Green/Blue Function:
The functions that modify the color of the base material. Those can be selected from the functions in the function file as selected above.

Red/Green/Blue Data File:
The data files where the above functions read their values from. All three files should contain data of the same number of dimensions. The red data file is taken as reference and a warning is issued if a file of a different number of dimensions is selected for the green or blue data file. Note that although it is possible to use the same file several time, using only one file for all three as in the example screenshot is not useful. The brightdata pattern would be more efficient in this case.

Index Variables:
Select the variables here that the function file uses to index into each data file. Up to three variables are available, depending on the number of dimensions of the selected data files.

Real Arguments
Rayfront will check the selected function file to decide how many real arguments the material definition should supply. If this number is greater than the mandatory arguments specifying the basic properties, then the expected number of entry fields in the list is made available. Supplying those arguments is optional, but failing to do so may result in runtime errors when the selected function relies on a specific argument which is not set.

The Transformation page of the dialog can be used to transform the vector, possibly to bring it in alignment with the geometry of the surface the pattern modifies.

Brightdata

A brightdata is a procedurally defined monochromatic reflectance pattern, that takes its values from a data file. The value of the modifier function is multiplied with each of the material color values.

[dialog]

Function File:
This pop-up list offers all function files known to the system for selection. If a file is active, then the variables in that file can be selected for one or several of the vector coordinates. Otherwise, the coordinates must be entered as expressions.
Edit...
Start the text editor that was configured in the project preferences to edit the function file.
New...
Create a new function file, and start the text editor to edit it.

Reflectance Function
The function that modifies the reflectance of the base material. This function can be selected from the ones in the function file as selected above.

Data File:
The data file where the above function reads its values from.

Index Variables:
Select the variables here that the function file uses to index into each data file. Up to three variables are available, depending on the number of dimensions of the selected data file.

Real Arguments
Rayfront will check the selected function file to decide how many real arguments the material definition should supply. If this number is greater than the mandatory arguments specifying the basic properties, then the expected number of entry fields in the list is made available. Supplying those arguments is optional, but failing to do so may result in runtime errors when the selected function relies on a specific argument which is not set.

The Transformation page of the dialog can be used to transform the vector, possibly to bring it in alignment with the geometry of the surface the pattern modifies.

Navigation:

Up: User Manual Overview
     The Simulation Control Center
         Project Variation Settings
             Modifier Types
                 Pattern Types

Previous: Colorfunc, Brightfunc
Next:
Colorpict
http://www.schorsch.com/en/software/rayfront/manual/colordatadef.html
Copyright © 2004-2020 schorsch.com