Rendering Environments

FxCore supports two types of rendering environments: 2D and 3D.

When a new composition is created, it defaults to a 2D enviroment. Click on an empty section of the graph, and then on the Options button to view and change the current environment:

Environment
Environment

In a 2D environment, the only supported renderer is a Billboard, which draws its input image to the output frame, ignoring any 3D transformations. The 2D environment is a faster, less resource-intensive option if your composition is mostly designed to use Core Image filters, Vision or CoreML nodes whose output does not need to be rendered in true 3D. It is still possible to simulate 3D transformations using Core Image filters.

The 3D environment is designed to create a simple 3D scene that supports the concept of a 3D camera and uses a depth buffer to guarantee that objects rendered closer to the viewer hide objects further away from the viewer.

If your composition is destined to work mainly or exclusively with 2D images, and produces output in 2D, you should select the 2D environment.

Core Image Options

Because of its close ties to Core Image, FxCore allows you to control certain aspects of the context in which image processing filters are executed.

Core Image Options
Core Image Options

You can customize the working color space, pixel format and caching behavior of the underling Core Image context associated with your composition. Please refer to the Core Image documentation for more info.

When using FxCore to create visual effects for FxFactory, some of these settings may be overridden and/or customized by other means. For example, FxFactory may turn Cache Intermediates off by default, as it is counter-productive to aggressively cache any intermediate results when the composition is processing an ever-changing stream of video frames.