2008년 8월 6일 수요일

mtorExportRIB 의 문제점?

mtorExportRIB에의해 생성되는 ribfile의 MotionBegin값과
mtor RenderSpool에의해 성성되는 ribfile의 MotionBegin값이 다르다.
(slim Archiver에의한 rib export 포함)

이는 mtorExportRIB의 버그가 아닐까란 생각을하고 filtering을 해야만하는가를 고민했었다.

결론은...
버그는 아닌듯하다. filtering도 하지 않아도 된다.
mtor RenderSpool에 의해 랜더링을 걸면 하나의 ribfile에 모든 정보가 다 들어가기때문에
frame별로 shutter 값이 변한다.
해서 MotionBegin값 또한 shutter값에 의해 변한다.

render frame, shutter, motionbegin 값은 서로 연동하게끔 되어있다.

하지만 mtorExportRIB을 하게되면, shutter값이 존재할수없다.
해서 MotionBegin값을 계산할때 current frame을 기준으로 shutterAngle에 의한 next frame을 연산함으로 MotionBegin [0 x]와 같은 형태를 취하는것 같다.(추측^^;)

그럼다면 shutter 값 계산 또한 current frame과 next frame의 상대적 관계에 의해서 이루어진다면 shutter 0 x 의 형태를 취한다.
이럴경우,
frame마다 shutter, MotionBegin 값을 계산할필요가 없이
단지 shutterAngle에 의해서만 그 값이 결정된다.

물론 ConcatTransform값을 계산하기 위해서는 frame에 의한 shutter, MotionBegin값이 필요하다.

댓글 없음: