diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-05 19:30:49 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-05 19:31:18 +0300 |
commit | edcbf741df2f6d5567da123e1f4763cc82921ec8 (patch) | |
tree | 468815b4486f634f6bb3988c5a149f114fa77281 /source/blender/imbuf/intern/cineon/logmemfile.c | |
parent | e51368728815e3700414a77bf91668425a9965ec (diff) |
Refactor: Evaluate surface objects as mesh components
This commit furthers some of the changes that were started in
rBb9febb54a492 and subsequent commits by changing the way surface
objects are presented to render engines and other users of evaluated
objects in the same way. Instead of presenting evaluated surface objects
as an `OB_SURF` object with an evaluated mesh, `OB_SURF` objects
can now have an evaluated geometry set, which uses the same system
as other object types to deal with multi-type evaluated data.
This clarification makes it more obvious that lots of code that dealt
with the `DispList` type isn't used. It wasn't before either, now it's
just *by design*. Over 1100 lines can be removed. The legacy curve
draw cache code is much simpler now too. The idea behind the further
removal of `DispList` is that it's better to focus optimization efforts
on a single mesh data structure.
One expected functional change is that the evaluated mesh from surface
objects can now be used in geometry nodes with the object info node.
Cycles and the OBJ IO tests had to be tweaked to avoid using evaluated
surface objects instead of the newly exposed mesh objects.
Differential Revision: https://developer.blender.org/D14550
Diffstat (limited to 'source/blender/imbuf/intern/cineon/logmemfile.c')
0 files changed, 0 insertions, 0 deletions