利用者:Gdh/GSoC-2013/Design

提供: wiki
< 利用者:Gdh‎ | GSoC-2013
2013年7月16日 (火) 06:33時点におけるwiki>Gdhによる版 (Started solidifying the Attribute changes.)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Deformation Motion Blur Design

THIS DOCUMENT IS NOT COMPLETE AND WILL NOT BE UNTIL THE FEATURE IS COMPLETELY READY!

Changes to the Object Class

I plan to add two new fields to the Object class: a bool and a uint.

The bool will store whether the Object will use Deformation Motion Blur or not.

The uint will store the number of export steps for the Object.

Changes to the Mesh Class

Brecht also asked me to add the number of export steps to the Mesh class.

Changes to Attributes

I need to add one more AttributeElement. It will be a vertex block.

I also need to add an AttributeStandard that will take the place of both the ATTR_STD_MOTION_PRE and ATTR_STD_MOTION_POST. It will be for motion, and since an arbitrary number of export steps will be allowed, we won't need to distinguish between ones before and ones after.

Then, I need to extend the Attribute class to be able to hold an arbitrary number of vertices and an arbitrary number of export steps.