Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_curves.cc
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | void ABCCurveWriter::create_alembic_objects(const HierarchyContext *context) | ||||
| user_prop_resolu.set(cu->resolu); | user_prop_resolu.set(cu->resolu); | ||||
| } | } | ||||
| Alembic::Abc::OObject ABCCurveWriter::get_alembic_object() const | Alembic::Abc::OObject ABCCurveWriter::get_alembic_object() const | ||||
| { | { | ||||
| return abc_curve_; | return abc_curve_; | ||||
| } | } | ||||
| Alembic::Abc::OCompoundProperty ABCCurveWriter::abc_prop_for_custom_props() | |||||
| { | |||||
| return abc_schema_prop_for_custom_props(abc_curve_schema_); | |||||
| } | |||||
| void ABCCurveWriter::do_write(HierarchyContext &context) | void ABCCurveWriter::do_write(HierarchyContext &context) | ||||
| { | { | ||||
| Curve *curve = static_cast<Curve *>(context.object->data); | Curve *curve = static_cast<Curve *>(context.object->data); | ||||
| std::vector<Imath::V3f> verts; | std::vector<Imath::V3f> verts; | ||||
| std::vector<int32_t> vert_counts; | std::vector<int32_t> vert_counts; | ||||
| std::vector<float> widths; | std::vector<float> widths; | ||||
| std::vector<float> weights; | std::vector<float> weights; | ||||
| ▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines | |||||