diff options
author | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
---|---|---|
committer | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
commit | dbc41b30f88b96f7d8c6e995b17f5930eb55cc77 (patch) | |
tree | c6c495328443ea3621e5df2ef483b0e0dd504496 /intern/cycles/scene/alembic.h | |
parent | 99a2af76d10e05a18987be5d554ada197b1ca086 (diff) | |
parent | 7c9e4099854a4fc8eab4db97173c1aacd25f9e08 (diff) |
Merge branch 'master' into soc-2021-uv-edge-select-supportsoc-2021-uv-edge-select-support
Diffstat (limited to 'intern/cycles/scene/alembic.h')
-rw-r--r-- | intern/cycles/scene/alembic.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/intern/cycles/scene/alembic.h b/intern/cycles/scene/alembic.h index 77aafd0ab32..3a4d37da3ff 100644 --- a/intern/cycles/scene/alembic.h +++ b/intern/cycles/scene/alembic.h @@ -327,6 +327,11 @@ struct CachedData { DataStore<array<int>> curve_first_key; DataStore<array<int>> curve_shader; + /* point data */ + DataStore<array<float3>> points; + DataStore<array<float>> radiuses; + DataStore<array<int>> points_shader; + struct CachedAttribute { AttributeStandard std; AttributeElement element; @@ -414,6 +419,7 @@ class AlembicObject : public Node { POLY_MESH, SUBD, CURVES, + POINTS, }; bool need_shader_update = true; @@ -550,6 +556,10 @@ class AlembicProcedural : public Procedural { * Object Nodes in the Cycles scene if none exist yet. */ void read_curves(AlembicObject *abc_object, Alembic::AbcGeom::Abc::chrono_t frame_time); + /* Read the data for an IPoints at the specified frame_time. Creates corresponding Geometry and + * Object Nodes in the Cycles scene if none exist yet. */ + void read_points(AlembicObject *abc_object, Alembic::AbcGeom::Abc::chrono_t frame_time); + /* Read the data for an ISubD at the specified frame_time. Creates corresponding Geometry and * Object Nodes in the Cycles scene if none exist yet. */ void read_subd(AlembicObject *abc_object, Alembic::AbcGeom::Abc::chrono_t frame_time); |