www.schorsch.com

Rayfront 1.0 User Manual

Contact | Sitemap | Search

Image Pattern Modifier

The picture based pattern types influence the reflectance of a material according to a image file, which is mapped by a defined function.

Colorpict

A colorpict is a procedurally defined color pattern, that takes its values from an image file. 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.

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:
Select the variables here that the function file uses to index into the picture. 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 pattern modifies.

Navigation:

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

Previous: Colordata, Brightdata
Next:
Colortext, Brighttext
http://www.schorsch.com/en/software/rayfront/manual/colorpictdef.html
Copyright © 2004-2020 schorsch.com