www.schorsch.com

Rayfront 1.0 User Manual

Contact | Sitemap | Search

Data Texture Type

Texdata

A texdata is a procedurally defined perturbation of the surface normal, controlled by the values in a data file. The values of the X, Y, and Z perturbation expressions are added to the X, Y, and Z components of the original normal vector.

[Texdata Parameters 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.

Perturbation Vector:
The values that shift the surface normal vector in each coordinate direction. Those can be selected from the variables in the function file as selected above.

X/Y/Z 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 X 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.

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 texture modifies.

Navigation:

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

Previous: Texfunc
http://www.schorsch.com/en/software/rayfront/manual/texdatadef.html
Copyright © 2004-2020 schorsch.com