Motion Blur - Sampling precision
Hello!
I'm working on my own motion blur tool, and I've hit a snag with what looks like a precision limitation within AE.
In short, the plug-in is able to do up to 2048 samples. It even processes that amount. BUT, there is no visual difference from 512 samples and above, like in the attached image. It's a rectangle that flaps up-and-down 30 times a second, which renders identically between 512 and 2048 samples.
WING_TimeRemap_CLOSE_HSMB.jpg
I'm using "A_Time" to determine the temporal sampling, which should technically give me a microsecond of precision.
A_Time time_val;
PF_FpLong exact_time = (PF_FpLong)in_data->current_time / in_data->time_scale + sample_offset;
const A_long high_scale = 1000000;
time_val.value = (A_long)(exact_time * high_scale);
time_val.scale = high_scale;
And my debugger tells me that the desired amount of sub-frame positions are being calculated and rendered, but it seems that they're either discarded in the final render or snaps to their closest valid values.
Is this simply an inherent limitation of After Effects, where it quantizes positions above/below a certain value?
Thanks in advance
- Ø
