www.schorsch.com

Rayfront 1.0 User Manual

Contact | Sitemap | Search

Data Mixture Types

Mixdata

A mixdata is a mixture defined by data from a file. The foreground and background modifiers are blended into each other according to the value of the mixing function. If the value is one, then only the foreground modifier will take effect, if it is zero, only the background modifier.

The foreground and background mofidiers are assigned per object in the object list of the material assignment dialog.

[Mixdata 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.

Mixing Function:
The function that defines the relative weight of the foreground and background modifier. This can be selected from the functions in the function file as selected above.

Data File:
The data file where the function reads its values from.
Import...
This button invokes a file open dialog, and the selected data file will then be imported into the project.

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

Mixpict

A mixpict is a mixture defined by data from a radiance format picture file. The foreground and background modifiers are blended into each other according to the value of the mixing function. If the value is one, then only the foreground modifier will take effect, if it is zero, only the background modifier.

The foreground and background mofidiers are assigned per object in the object list of the material assignment dialog.

[Mixpict Parameters Dialog]

Function File:
This pop-up list offers all function files known to the system for selection. If a file is active, then a variable in that file can be selected for the mixing coefficient. Otherwise, the coefficient must be entered as expression.
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.

Mixing Function:
The function that defines the relative weight of the foreground and background modifier. This can be selected from the functions in the function file as selected above.

Picture File:
The picture file where the function reads its values from.
Import...
This button invokes a file open dialog, and the selected picture file will then be imported into the project.
y:### / x:### =" #.##
The text string to the right of the import button indicates the pixel dimensions and the aspect ratio of the selected image. The standard "picture.cal" function file for image mapping requires the latter value as it's first real argument, when tiling index variables are selected, so that it can arrange the tiles correctly.

U Index:
V Index:
Two variable to index into the pixels of the picture file. U is in hozizontal direction of the image, V in vertical direction.

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

Navigation:

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

Previous: Mixfunc
Next: Mixtext
http://www.schorsch.com/en/software/rayfront/manual/mixdatadef.html
Copyright © 2004-2020 schorsch.com