Animation > 
Filters
 
 
 

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:

  1. Build the sample plugins.
  2. Add a marker to the scene.
  3. Keyframe a couple of frames of data.
  4. Select the marker.
  5. Select OR - Filter Template.
  6. Set the multiplication factor in ParameterTest.
  7. Apply the filter to the marker.
  8. 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:

  1. Add a marker to the scene.
  2. Keyframe a couple of frames of data.
  3. Select the marker.
  4. Select OR - Resample Filter.
  5. Set the Start and Stop times.
  6. Apply the filter to the marker.
  7. Examine the data for the marker's FCurves. The marker data is resampled at the rate specified in the filter layout,