「利用者:Gdh/GSoC-2013/Design」の版間の差分

提供: wiki
移動先: 案内検索
(Started solidifying the Attribute changes.)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 05:57時点における最新版

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.