^faldo^
Member
So I've just finished doing my first 3D film and underestimated how much rolling shutter on my Uni's crappy handycams would ruin me.
So for tomorrow's presentation, i want to explain how rolling shutter actually works to the class with an animation.
I'm trying to make an n*n grid of white squares that become red one after another, and a timecode display underneath it that updates as every CMOS pixel turns on to demonstrate how a CMOS sensor samples over time compared to a CCD. But I can't think of how to do it programatically in After Effects.
I can picture it in bastardised C, something less slap-dash than:
Any thoughts?
So for tomorrow's presentation, i want to explain how rolling shutter actually works to the class with an animation.
I'm trying to make an n*n grid of white squares that become red one after another, and a timecode display underneath it that updates as every CMOS pixel turns on to demonstrate how a CMOS sensor samples over time compared to a CCD. But I can't think of how to do it programatically in After Effects.
I can picture it in bastardised C, something less slap-dash than:
Code:
int main(){
int i, j, n;
int CMOS[n][n];
int run = TRUE;
while(run == TRUE){
if(timecode.seconds%60 == 0){
for(i=0; i<n; i++){
for(j=0; j<n; j++){
CMOS[i][j].visability = 0;
}
}
}
//seconds is actually converted to something of base n^2...
else{
i = timecode.seconds%n;
j = timecode.seconds/n;
CMOS[i][j].visability = 1;
printf("%d", timecode);
}
}
return 0;
}
Any thoughts?
Last edited: