Image

GTImageGeneratorComponent

A virtual camera that enerates RGB images. A lot of camera specific paramters like exposure, ISO, shutterspeed, bloom, fov (focal-length) can be configured. These parameters can be found in the Image, PostProcessVolume and Projection Categories.
For maximum compatibility the generated images are encoded in a standardized format currently BMP and PNG are supported.
It is also possible to randomize resolution and gamma, which can bes useful for traning data, more ranomizable properties will be added in the future.

Properties

Image

bool bUseRandomGamma

If enabled will choose a random gamma between TargetGamma and TargetGammaMax for each captured image. This is useful for generating Training data.

FIntPoint Resolution

The resolution the generated images will have.

bool bRandomResolution

If enabled will choose a random resolution between Resolution and ResolutionMax for each captured image. This is useful for generating Training data.

FIntPoint ResolutionMax

The maximum Resolution to use if bRandomResolution is enabled.

float TargetGammaMax

The maximum gamma to use if bRandomResolution is enabled.

bool bAntiAliasing

Perform anti aliasing when an image is rendered. Highly recommended for basic images, but might cause issues if used with segmentation or depth generators. Temporal Anti-Aliasing might cause “jittering” if the generator is not moving.

bool bUseDisplayGamma

Use the display gamma for generated images usually around 2.4

float TargetGamma

Specify a custom gama value for images.

EGTImageFileFormat ImageFormat

The format the image will have, currently only .bmp and .png are supported.

PostProcessVolume

FPostProcessSettings PostProcessSettings

Post-process settings to use FPostProcessSettings

Projection

float FOVAngle

Camera field of view (in degrees).

TEnumAsByte<ECameraProjectionMode::Type> ProjectionType

Camera projection type.

float OrthoWidth

The desired width (in world units) of the orthographic view (ignored in Perspective mode)

SceneCapture

bool bEnableClipPlane

Enables a clip plane while rendering the scene capture which is useful for portals. The global clip plane must be enabled in the renderer project settings for this to work.

FVector ClipPlaneBase

Base position for the clip plane, can be any position on the plane.

FVector ClipPlaneNormal

Normal for the plane.