Expand description
Quadratic Bezier Concatenated Item
VItem itself is composed with 3d bezier path segments, but when ranim renders VItem, it assumes that all points are in the same plane to calculate depth information. Which means that ranim actually renders a projection of the VItem onto a plane.
The projection target plane has the initial basis and normal defined as (DVec3::X, DVec3::Y) and DVec3::Z respectively, and it contains the first point of the VItem.
So the normal way to use a VItem is to make sure that all points are in the same plane, at this time the projection is equivalent to the VItem itself. Or you may break this, and let ranim renders the projection of it.
Modules§
Structs§
- VItem
- A vectorized item.
Constants§
- DEFAULT_
STROKE_ WIDTH - Default stroke width Default vitem stroke width