With graphs, images can be processed in many different ways. Images can be loaded and analysed, blurred and blended, copied, tiled and transformed. The most versatile node, though creates the image of an ocean statistical spectrum, similar to one you know from Hybrido and RealWave. The information for this image can be used to create force fields and displace surfaces. RealFlow's "Image" nodes support all colour depths from 1 bit to 32 bit per channel.
Name | Description |
---|---|
ArrayImageConcat | This node concatenates the inputs 'array0' and 'array1' into a single 'out' array. |
ArrayImageConstant | This node returns a constant array. |
ArrayImageFilterByMask | This node returns the elements of the input 'array' at positions specified by the 'mask' parameter. |
ArrayImageFindAllElementIndices | This node returns all positions in the input 'array', which fit to the input 'element' values. |
ArrayImageFindElement | This node returns the first position of appearance of the input 'element' within the input 'array'. If the array does not contain the element, -1 is returned. |
ArrayImageInsertElement | This node inserts all elements from the 'element' input into the input 'array' at the position specified by 'position'. If 'position' is equal or lower than 0 then the elements are inserted at the beginning of the array. If 'position' is greater or equal than the inputs 'array' size, elements are appended at the end. |
ArrayImageMix | This node creates an output array based on the two inputs 'array0' and 'array1' and the input mask. If the mask value equals 0 then the value of 'array0' is used, if the mask value is 1 the value of 'array1' is used. |
ArrayImagePushElement | This node appends all the elements from the 'element' at the end of the input 'array'. |
ArrayImageRemoveElement | This node removes all elements of the 'by_value' from the input 'array'. The returned mask has the same size as the input 'array' and is set to 0 at removed positions. |
ArrayImageRemoveIndex | This node removes all input array positions by the 'index' input. |
ArrayImageRemoveRepeatedElements | This node removes all repetitions of elements from the input 'array'. The 'new_to_old' array can be used as an 'index' input for a GetArrayElement-Node to restore the original array. The returned mask has the same size as the input 'array' and is set to 0 at removed positions. |
ArrayImageResize | This node resizes the input 'array'. If the result is bigger than the input array, the last value is repeated accordingly. |
ArrayImageReverse | This node reverses the order of the input 'array'. |
ArrayImageSlice | This node returns an array containing the range of the input 'array' from the 'first' position with the given input 'size'.Thus, the output array is a subarray or slice of the input. |
GetArrayImageElement | This node returns the elements of the input 'array' at positions specified by the 'index' parameter. |
GetImageChannel | Returns a greyscale image, containing the selected channel. This node creates a new image. |
GetImageGlobalVariable | This node returns a reference to previously stored variables in global memory (using the SetGlobalVariable-Nodes). |
GetImageInfo | This node returns information about the input 'image'. |
GetImagePixel | This node returns the color of the image at the specified pixel. |
GetImagePixels | This node returns an array containing all the colors of the image. |
ImageBlend | Blend two images with the given factor. 0 result in image 0 and 1 result in image 1. Values in between interpolate the colors of both images. The alpha channel is not touched within this operation and remains the original alpha channel of image 0. |
ImageCanvasResize | Resizes the canvas of the actual image to the provided sizes. The canvas background is filled with the given color & alpha value. |
ImageColorClamp | Clamp color-range of image to 0..1. RealFlow allows colors to be negative and above 1. Thus, this function might be used, to clamp to a normalized color range. |
ImageComposeWithVectorMap | Creates an image, whereas each pixel is accessed by the velocity map (including negative values!). The vectors are encoded into the r & b color values. Can be used for velocity mapping or deforming an image by vectors and velocities. |
ImageComposition | Composition of two input images. Operation is fulfilled on a per pixel-basis. Output size corresponds to input image bottom! The compositions are defined similar to the Adobe Standards (e.g., Photoshop). |
ImageConvert | Converts image to image with given color depth and number of channels. The alpha value is used for 4 channel output images - only if the input image contains no alpha channel. Finally, using the mapping option, a color space transformation can be succeded. Thus, negative values can be encoded into the image. |
ImageCopy | This node duplicates the input value to the output. If you remove this node the output copy will not exist in the graph anymore. |
ImageCreate | Creates empty image with the given size, color depth, number of channels and given background color. In thecase of 4 channels, the alpha value is taken into account. |
ImageCreateTiles | Creates a tiled image with the given number of tiles in both directions. The size of the resulting image scales accordingly. |
ImageDrawCircle | This node draws a circle with the provided position and color into the image. |
ImageDrawQuad | This node draws a quad with the provided position and color into the image. |
ImageGaussianBlur | This node returns a blurred version of the input 'image'. |
ImageInvert | Inverts the colors of the input image. Each color (r, g, b, a) is tranformed according to the set invertion type to either (1-r, 1-g, 1-b, a) or (-r, -g, -b, a). Take note, that the data structure of images within realflow allows negative values. For example, the 'ImageStatisticalSpectrum'-Node creates an image containing negative values. In those cases, use the invertion type '-1*color' to get the expected results. |
ImageMirror | Mirrors image along chosen axis. |
ImageOceanStatisticalSpectrum | Creates an image containing a statistical spectrum similiar to the RealWave statistical spectrum.The input values are defined exactly as described there.The resulting image is 32Bit with 3 Channels. Keep note that the image may contains negative values in the area of -1..1. Thus,to use the result as an image, you may use the mapping function or the 'ImageConvert'-Node using the mapping functionality to map the color range to the area of 0..1. |
ImageRotate | Rotates image according to chosen angle. Note: This node always perform a copy of the image, to tread non-quadratic images correctly. |
ImageRotateFree | Rotates image freely according to chosen angle (in degrees). 'Keep Size' defines, if the original resolution of the image is kept (the image is cropped) or if the image size is increased to the minimum size, which may contain all possible angles, thus, the whole image is kept. Finally, 'color' and 'alpha' describesthe values, which are used for empty areas in the final image. Note: This node always perform a copy of the image. |
ImageScale | Scales image bilinearly to given height and width. Take Note: For downscaling it may be beneficial, to apply a Gaussian filter before scaling. |
ImageSubImage | Returns a subimage of the input image. The subimage is define by the offset and the width. If the subimage exceeds the proportions of the image, the given color & alpha values are set. |
ImageWaveEquation | This node executes the wave equation for the given input image. Thus, propagating waves can be simulated. For stability reasons, the simulation parameters must fulfill the following condition: v < h/dt, whereas h=1/imageResolution. An error is triggered, if the condition is breached. But in some cases, the simulation might explode even in cases, where the condition is fulfilled. In these cases, decrease the timestep and increase the number of steps per timestep. |
SetArrayImageElement | This node returns the elements of the input 'array' at positions specified by the 'index' parameter. |
SetImageChannel | Replaces the chosen channel of the input image with a given greyscale image. |
SetImageGlobalVariable | This node allows the user to create a reference or a copy of the input pin in global memory to be used within other RealFlow graph through the GetGlobalVariable nodes. |
SetImagePixel | This node set the color of the image at the specified pixel. |
SetImagePixels | This node sets the Image given by the input color array. |
This node concatenates the inputs 'array0' and 'array1' into a single 'out' array.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array0 | Image |
| The array0 | |
array1 | Image |
| The array1 |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node returns a constant array.
Name | Types | PassThrough | Description |
---|---|---|---|
constant | Image | The constant | |
size | Integer (1) | The size |
Name | Types | PassThrough | Description |
---|---|---|---|
out array | Image | The out array |
This node returns the elements of the input 'array' at positions specified by the 'mask' parameter.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
mask | Bit | The mask |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
result | Image |
| The result |
This node returns all positions in the input 'array', which fit to the input 'element' values. .
Name | Types | PassThrough | Description |
---|---|---|---|
array | Image | The array | |
element | Image | The value to find in the input array |
Name | Types | PassThrough | Description |
---|---|---|---|
index | Integer | The index | |
mask | Bit | The mask |
This node is executed in parallel according to its input pins size.
This node returns the first position of appearance of the input 'element' within the input 'array'. If the array does not contain the element, -1 is returned.
Name | Types | PassThrough | Description |
---|---|---|---|
array | Image | The array | |
element | Image | The value to find in the input array | |
start index | Integer | The first index to search the element from |
Name | Types | PassThrough | Description |
---|---|---|---|
index | Integer | The index |
This node inserts all elements from the 'element' input into the input 'array' at the position specified by 'position'. If 'position' is equal or lower than 0 then the elements are inserted at the beginning of the array. If 'position' is greater or equal than the inputs 'array' size, elements are appended at the end.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
element | Image | The value to insert | ||
index | Integer (1) | The position to insert the input element on |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node creates an output array based on the two inputs 'array0' and 'array1' and the input mask. If the mask value equals 0 then the value of 'array0' is used, if the mask value is 1 the value of 'array1' is used.
The size of the output is the same as mask's size.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array0 | Image |
| The array0 | |
array1 | Image |
| The array1 | |
mask | Bit | The mask |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node appends all the elements from the 'element' at the end of the input 'array'.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
element | Image | The value to append at the end |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node removes all elements of the 'by_value' from the input 'array'. The returned mask has the same size as the input 'array' and is set to 0 at removed positions.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
element | Image | The value to remove all its instances from the input array |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array | |
mask | Bit | The mask |
This node removes all input array positions by the 'index' input. .
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
index | Integer | The positions of the input array to remove |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node removes all repetitions of elements from the input 'array'. The 'new_to_old' array can be used as an 'index' input for a GetArrayElement-Node to restore the original array. The returned mask has the same size as the input 'array' and is set to 0 at removed positions.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
new to old | Integer | The new to old | ||
mask | Bit | The mask | ||
out array | Image |
| The out array |
This node resizes the input 'array'. If the result is bigger than the input array, the last value is repeated accordingly.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
size | Integer (1) | The size |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node reverses the order of the input 'array'.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node returns an array containing the range of the input 'array' from the 'first' position with the given input 'size'.Thus, the output array is a subarray or slice of the input.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
first | Integer (1) | The position of the element that will be the first of the output array | ||
size | Integer (1) | The total number of elements to copy from the input array. If value is negative, all the elements from 'first' are copied to the output array |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
out array | Image |
| The out array |
This node returns the elements of the input 'array' at positions specified by the 'index' parameter.
Name | Types | PassThrough | Description |
---|---|---|---|
array | Image | The array | |
index | Integer | The index |
Name | Types | PassThrough | Description |
---|---|---|---|
element | Image | The element |
The algorithm to perform the operation of this node is multithreaded.
Returns a greyscale image, containing the selected channel. This node creates a new image.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
channel |
| The channel |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
This node returns a reference to previously stored variables in global memory (using the SetGlobalVariable-Nodes).
Name | Types | PassThrough | Description |
---|---|---|---|
name | String (1) | The name |
Name | Types | PassThrough | Description |
---|---|---|---|
out | Image | The out |
This node returns information about the input 'image'.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image |
Name | Types | PassThrough | Description |
---|---|---|---|
width | Integer | The width | |
height | Integer | The height | |
pix depth | Integer | The pix depth | |
bit depth | Integer | The bit depth | |
color planes | Integer | The number of channels of the image | |
gamma | Real | The gamma |
This node returns the color of the image at the specified pixel.
The pixel must be inside the range of the image height and with. Otherwise the output 'color' is set to black.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image (1) | The image | |
x | Integer | The x coordinate of the pixel. Starting from the left | |
y | Integer | The y coordinate of the pixel. Starting from the bottom |
Name | Types | PassThrough | Description |
---|---|---|---|
color | Color4 | The color |
This node returns an array containing all the colors of the image.
Pixel colors are sorted by rows. First pixel in the array is the bottom left pixel.
The output 'colors' array is a copy of the input data.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image |
Name | Types | PassThrough | Description |
---|---|---|---|
colors | Color4 | The colors |
The algorithm to perform the operation of this node is multithreaded.
Blend two images with the given factor. 0 result in image 0 and 1 result in image 1. Values in between interpolate the colors of both images. The alpha channel is not touched within this operation and remains the original alpha channel of image 0.
Name | Types | PassThrough | Description |
---|---|---|---|
image 0 | Image | out image | The image 0 |
image 1 | Image | The image 1 | |
blend factor | Real (1) | The blend factor |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | image 0 | The out image |
The algorithm to perform the operation of this node is multithreaded.
Resizes the canvas of the actual image to the provided sizes. The canvas background is filled with the given color & alpha value.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
width | Integer (1) | The width | ||
height | Integer (1) | The height | ||
position |
| The position | ||
color | Color4 (1) | The color | ||
alpha | Real (1) | The alpha |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Clamp color-range of image to 0..1. RealFlow allows colors to be negative and above 1. Thus, this function might be used, to clamp to a normalized color range.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Creates an image, whereas each pixel is accessed by the velocity map (including negative values!). The vectors are encoded into the r & b color values. Can be used for velocity mapping or deforming an image by vectors and velocities.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
vector map | Image | out image | The vector map |
scale factor | Real (1) | The scale factor |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | vector map | The out image |
The algorithm to perform the operation of this node is multithreaded.
Composition of two input images. Operation is fulfilled on a per pixel-basis. Output size corresponds to input image bottom! The compositions are defined similar to the Adobe Standards (e.g., Photoshop).
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image top | Image | The image top | ||
image bottom | Image | image | The image bottom | |
operation |
| The operation |
Name | Types | PassThrough | Description |
---|---|---|---|
image | PassThrough | image bottom | The image |
The algorithm to perform the operation of this node is multithreaded.
Converts image to image with given color depth and number of channels. The alpha value is used for 4 channel output images - only if the input image contains no alpha channel. Finally, using the mapping option, a color space transformation can be succeded. Thus, negative values can be encoded into the image.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
color depth |
| The color depth | ||
channels |
| The channels | ||
alpha value | Real (1) | The alpha value | ||
mapping |
| The mapping |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
This node duplicates the input value to the output. If you remove this node the output copy will not exist in the graph anymore.
Name | Types | PassThrough | Description |
---|---|---|---|
in | Image | The value to duplicate |
Name | Types | PassThrough | Description |
---|---|---|---|
copy | Image | A copy of the input |
The algorithm to perform the operation of this node is multithreaded.
Creates empty image with the given size, color depth, number of channels and given background color. In thecase of 4 channels, the alpha value is taken into account.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
size x | Integer (1) | The size x | ||
size y | Integer (1) | The size y | ||
color depth |
| The color depth | ||
channels |
| The channels | ||
background color | Color4 (1) | The background color | ||
background alpha | Real (1) | The background alpha |
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image |
The algorithm to perform the operation of this node is multithreaded.
Creates a tiled image with the given number of tiles in both directions. The size of the resulting image scales accordingly.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
tiles x | Integer (1) | The tiles x | |
tiles y | Integer (1) | The tiles y |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
This node draws a circle with the provided position and color into the image.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image (1) | The image | |
x | Integer | The x coordinate of the center of the circle. Starting from the left | |
y | Integer | The y coordinate of the center of the circle. Starting from the bottom | |
radius | Integer | The radius of the circle in pixel | |
color | Color4 | The color |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
This node draws a quad with the provided position and color into the image.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image (1) | The image | |
x | Integer | The x coordinate of the center of quad. Starting from the left | |
y | Integer | The y coordinate of the center of quad. Starting from the bottom | |
size | Integer | The side length of the quad in pixel | |
color | Color4 | The color |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
This node returns a blurred version of the input 'image'.
The original 'image' remains the same after the node action, since 'out image' copies original data before performing the filter.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
radius | Integer | The radius |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Inverts the colors of the input image. Each color (r, g, b, a) is tranformed according to the set invertion type to either (1-r, 1-g, 1-b, a) or (-r, -g, -b, a). Take note, that the data structure of images within realflow allows negative values. For example, the 'ImageStatisticalSpectrum'-Node creates an image containing negative values. In those cases, use the invertion type '-1*color' to get the expected results.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
invert type |
| The invert type |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Mirrors image along chosen axis.
A vertical axis means that pixels from the left side are transposed to the right, using a vertical symmetry axis.
A horizontal axis means that pixels from the top side are transposed to the bottom, using a horizontal symmetry axis.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
axis |
| The axis for mirroring the image |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Creates an image containing a statistical spectrum similiar to the RealWave statistical spectrum.The input values are defined exactly as described there.The resulting image is 32Bit with 3 Channels. Keep note that the image may contains negative values in the area of -1..1. Thus,to use the result as an image, you may use the mapping function or the 'ImageConvert'-Node using the mapping functionality to map the color range to the area of 0..1.
The normalize switch enables normalization of the map according to the first frame (time=0) - thus, the map results in exactly the same height values like e.g. in the hybrido displacement.
The white caps are define dy the jacobian of the spectrum. The resulting image is 32Bit with 1 channel. The intensity of the iwhite caps can be defined with the provided scale factor.
scale shouldn be greater than one for images. .
Name | Types | PassThrough | Description | |
---|---|---|---|---|
absolute time | Real | The absolute time | ||
time factor | Real (1) | The time factor | ||
scale | Vector3 (1) | The scale | ||
normalize | Bit (1) | The normalize | ||
map to 0-1 | Bit (1) | The map to 0-1 | ||
resolution |
| The resolution | ||
depth | Real (1) | The depth | ||
dimension | Real (1) | The dimension | ||
wind speed | Real (1) | The wind speed | ||
wind direction | Real (1) | The wind direction | ||
wind alignment | Real (1) | The wind alignment | ||
min wave length | Real (1) | The min wave length | ||
weight against wind | Real (1) | The weight against wind | ||
choppiness | Real (1) | The choppiness | ||
seed | Integer (1) | The seed | ||
white caps scale | Real (1) | The white caps scale | ||
repeat u | Real (1) | The repeat u | ||
repeat v | Real (1) | The repeat v |
Name | Types | PassThrough | Description |
---|---|---|---|
image spectrum | Image | The image spectrum | |
image white caps | Image | The image white caps |
The algorithm to perform the operation of this node is multithreaded.
Rotates image according to chosen angle. Note: This node always perform a copy of the image, to tread non-quadratic images correctly.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image | The image | ||
degree |
| The degree |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Rotates image freely according to chosen angle (in degrees). 'Keep Size' defines, if the original resolution of the image is kept (the image is cropped) or if the image size is increased to the minimum size, which may contain all possible angles, thus, the whole image is kept. Finally, 'color' and 'alpha' describesthe values, which are used for empty areas in the final image. Note: This node always perform a copy of the image.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
degree | Real (1) | The degree | |
keep image size | Bit (1) | The keep image size | |
color | Color4 (1) | The color | |
alpha | Real (1) | The alpha |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Scales image bilinearly to given height and width. Take Note: For downscaling it may be beneficial, to apply a Gaussian filter before scaling.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
width | Integer (1) | The width | |
height | Integer (1) | The height | |
smooth | Bit | The smooth |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
Returns a subimage of the input image. The subimage is define by the offset and the width. If the subimage exceeds the proportions of the image, the given color & alpha values are set.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image | The image | |
offs x | Integer (1) | The offs x | |
offs y | Integer (1) | The offs y | |
width | Integer (1) | The width | |
height | Integer (1) | The height | |
color | Color4 (1) | The color | |
alpha | Real (1) | The alpha |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
This node executes the wave equation for the given input image. Thus, propagating waves can be simulated. For stability reasons, the simulation parameters must fulfill the following condition: v < h/dt, whereas h=1/imageResolution. An error is triggered, if the condition is breached. But in some cases, the simulation might explode even in cases, where the condition is fulfilled. In these cases, decrease the timestep and increase the number of steps per timestep.
A flat surface is defined as RGB=(0.5f, 0, 0) - for a flat surface, you might start with an initial image filled up with that color. The height of the waves is stored after the propagation step in the green channel!To create waves, only paint into the green or red channel! For values below 0.5 negative waves are created and for values above 0.5 positive waves are created. To create reflective objects, paint them into the red channel with a value of 0.5.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image | Image (1) | Input Image, with 32Bit color depth and at least 3 channels! Otherwise, an error is triggered | ||
dt | Real (1) | Simulation Timestep | ||
velocity | Real (1) | Wave Velocity | ||
damping | Real (1) | Damping of wave height. Values from 0 (no Damping) to 1 (total Damping). Recommended are values between 0 and 0.1 | ||
boundaries |
| Simulation Boundaries: Closed (negative) - Waves are reflected negatively at the borders, Closed (positive) - Waves are reflected positively at the borders, Open (fade out) - Waves are not reflected at the borders, but faded out at the border, Tiled - Waves continue on the opposite side of the grid | ||
no of steps | Integer (1) | Number of simulation steps per execution (can be used to increase propagation speed) |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
This node returns the elements of the input 'array' at positions specified by the 'index' parameter.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
array | Image |
| The array | |
index | Integer | The index | ||
element | Image | The element |
Name | Types | PassThrough | Description | |
---|---|---|---|---|
result | Image |
| The result |
The algorithm to perform the operation of this node is multithreaded.
Replaces the chosen channel of the input image with a given greyscale image.
Name | Types | PassThrough | Description | |
---|---|---|---|---|
image input | Image | image | The image input | |
image channel | Image | The image channel | ||
channel |
| The channel |
Name | Types | PassThrough | Description |
---|---|---|---|
image | PassThrough | image input | The image |
This node allows the user to create a reference or a copy of the input pin in global memory to be used within other RealFlow graph through the GetGlobalVariable nodes.
Name | Types | PassThrough | Description |
---|---|---|---|
name | String (1) | The name | |
in | Image | through | The in |
store copy | Bit (1) | The store copy |
Name | Types | PassThrough | Description |
---|---|---|---|
through | PassThrough | in | The value connected to the input |
out copy | Image | The value copied in memory in case a copy has been performed. The same input value otherwise |
This node set the color of the image at the specified pixel.
The pixel must be inside the range of the image height and with.
Name | Types | PassThrough | Description |
---|---|---|---|
image | Image (1) | The image | |
x | Integer | The x coordinate of the pixel. Starting from the left | |
y | Integer | The y coordinate of the pixel. Starting from the bottom | |
color | Color4 | The color |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |
The algorithm to perform the operation of this node is multithreaded.
This node sets the Image given by the input color array.
Name | Types | PassThrough | Description |
---|---|---|---|
colors | Color4 | The colors | |
image | Image | The image |
Name | Types | PassThrough | Description |
---|---|---|---|
out image | Image | The out image |