Filters in the Open Reality
SDK are animation filters that can be applied on one or many different
function curves in the Animation manipulation pane Filters menu.
You can add new filtering functionality easily by writing a new
filter plugin using the SDK.
Code samples
- filter_template
-
This is an empty filter, which
applies a multiplication to the keyframe values of the selected
function curves. It may be used as a template for the creation of
new filters using Open Reality.
To test:
- Build the sample plugins.
- Add a marker to the scene.
- Keyframe a couple of frames of data.
- Select the marker.
- Select OR - Filter Template.
- Set the multiplication factor in ParameterTest.
- Apply the filter to the marker.
- Examine the data for the marker's FCurves.
The marker data is multiplied by the parameter in the filter layout.
- filterresample
-
Simple re-sampling filter. Applies
a simple re-sample to any selected function curve with a specified
re-sample rate.
Don't forget to set the
Start and Stop times for applying the filter.
To test:
- Add a marker to the scene.
- Keyframe a couple of frames of data.
- Select the marker.
- Select OR - Resample Filter.
- Set the Start and Stop times.
- Apply the filter to the marker.
- Examine the data for the marker's FCurves.
The marker data is resampled at the rate specified in the filter layout,