diff options
Diffstat (limited to 'intern/cycles/scene/alembic_read.h')
-rw-r--r-- | intern/cycles/scene/alembic_read.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/intern/cycles/scene/alembic_read.h b/intern/cycles/scene/alembic_read.h index 6b656b59481..e95750ce691 100644 --- a/intern/cycles/scene/alembic_read.h +++ b/intern/cycles/scene/alembic_read.h @@ -122,6 +122,26 @@ void read_geometry_data(AlembicProcedural *proc, const CurvesSchemaData &data, Progress &progress); +/* Data of a ICurvesSchema that we need to read. */ +struct PointsSchemaData { + Alembic::AbcGeom::TimeSamplingPtr time_sampling; + size_t num_samples; + + float default_radius; + float radius_scale; + + Alembic::AbcGeom::IP3fArrayProperty positions; + Alembic::AbcGeom::IInt32ArrayProperty num_points; + Alembic::AbcGeom::IFloatGeomParam radiuses; + // Those are unsupported for now. + Alembic::AbcGeom::IV3fArrayProperty velocities; +}; + +void read_geometry_data(AlembicProcedural *proc, + CachedData &cached_data, + const PointsSchemaData &data, + Progress &progress); + void read_attributes(AlembicProcedural *proc, CachedData &cache, const Alembic::AbcGeom::ICompoundProperty &arb_geom_params, |