Blender Git Loki

Blender Git "cycles_procedural_api" branch commits.

Page: 3 / 24

May 18, 2021, 04:10 (GMT)
Merge branch 'master' into cycles_procedural_api
May 18, 2021, 02:25 (GMT)
Import changes from code review branches.
May 17, 2021, 23:17 (GMT)
correct prim_visibility allocation for packing
May 17, 2021, 23:15 (GMT)
Merge branch 'master' into cycles_procedural_api
May 4, 2021, 13:10 (GMT)
Port changes from the procedural UI patch.
May 4, 2021, 10:04 (GMT)
Remove some unncessary or duplicate changes

The former case reduce diff noise, and the latter is due to a bad merge.
May 4, 2021, 09:44 (GMT)
Merge branch 'master' into cycles_procedural_api
May 3, 2021, 03:09 (GMT)
Cleanups, add comments.
May 3, 2021, 02:42 (GMT)
Merge branch 'master' into cycles_procedural_api
May 3, 2021, 02:41 (GMT)
Cleanup: format
May 3, 2021, 02:31 (GMT)
fix missing update when reading attributes
May 2, 2021, 23:44 (GMT)
Merge branch 'master' into cycles_procedural_api
May 1, 2021, 18:59 (GMT)
Merge branch 'master' into cycles_procedural_api
April 23, 2021, 00:19 (GMT)
Merge branch 'master' into cycles_procedural_api
April 20, 2021, 11:22 (GMT)
Refactor Alembic data reading

The logic to read data is now separated from the AlembicObject and moved to a
separate file to help separating concerns.

We use structures to gather which data to read from the Alembic schemas. Those
structures are a bit redundant with the actual schemas, however they allow us
to read data of one schema type as if it were of another type. For now this is
only used to treat subdivision objects as regular polygon meshes, but in the
future it could be used to treat curves or meshes as point clouds when rendering
points is supported.

This centralizes the logic to read data based on the frame range. Instead of
writing one loop for each schema type and requested attributes, we only have
two functions which abstract the logic to gather the relevant frame times and
to lookup the right sample for the time. It would be nice to go a step further
and only have a single entry point, but the differences in handling between
attributes and regular data makes this a bit tricky but not impossible. Those
loops also handle setting up the time sampling information in the cache to make
sure that we never forget to do so, as this was quite a source of bugs.

This solves a few design issues, and allows to deduplicate data across frames
for all types (thus reducing memory usage) and to read arbitrary attributes for
polygon and subdivision meshes. The code for curves attributes is already in
place, but will not work, that would have to wait until example files are made
available. For attribute types, we support bool, int, float, vectors, and colors.
If need be we could also support matrices and quaternions.
April 18, 2021, 19:27 (GMT)
Merge branch 'master' into cycles_procedural_api
April 16, 2021, 17:16 (GMT)
Precompute normals and cache them in the procedural
April 16, 2021, 16:02 (GMT)
Merge branch 'master' into cycles_procedural_api
April 7, 2021, 00:33 (GMT)
Basic operator to update the Scene frame range from an Alembic cache.
April 6, 2021, 02:08 (GMT)
Disable delta compression, restore curve key packing.

Delta compression is now disabled since it was using the chunks system
which was removed.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021