Synopsis
combine three scalars into an RGB image
Input Ports
in_field1 |
Mesh_Unif+Dim2+Byte+Space2+Node_Data |
in_field2 |
Mesh_Unif+Dim2+Byte+Space2+Node_Data |
in_field3 |
Mesh_Unif+Dim2+Byte+Space2+Node_Data |
Output Ports
out_fld |
image |
out_obj |
output renderable object |
Description
combine_rgb combines three scalar 2D, 2-space byte input fields into an RGB image. This macro is similar to combine_vect except it only works on exactly three 2D 2-space uniform byte fields, and it sets the resulting node data ID to tell the renderer that it is an RGB image.
Input Ports
in_field1
Mesh_Unif+Dim2+Byte+Space2+Node_Data. This field represents the red channel of the image.
in_field2
Mesh_Unif+Dim2+Byte+Space2+Node_Data. This field represents the green channel of the image.
in_field3
Mesh_Unif+Dim2+Byte+Space2+Node_Data. This field represents the blue channel of the image.
Parameters
none
Output Ports
out_fld
RGB image field.
out_obj
Renderable object corresponding to out_fld.
Example
Not available.
File
v/modules.v
See also