Page MenuHome

Cycles: internal refactoring to make thick/ribbon curve separate primitives
ClosedPublic

Authored by Brecht Van Lommel (brecht) on Jun 12 2020, 10:56 PM.

Details

Summary

Also removing the curve system manager which only stored a few curve intersection
settings. These are all changes towards making shape and subdivision settings
per-object instead of per-scene, but there is more work to do here.

Ref T73778

Depends on D8013

Diff Detail

Event Timeline

Sergey Sharybin (sergey) added inline comments.
intern/cycles/bvh/bvh_unaligned.cpp
97

The answer is yes. The reason is because with moving segments in practice is rare when alignment is good enough to give faster results then AABB node, especially when the motion blur is substational.

It is possible to calculate OBB for each step and interpolate them for better results, but this is tricky to do with the current code base, and ideally we should use Embree's builder because it gives better locality of curve segments (and it takes care of OBB as well! :)

This revision is now accepted and ready to land.Jun 17 2020, 3:36 PM