Page MenuHome

Curves: Split curve EEVEE/workbench functions from particle hair
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Apr 6 2022, 9:25 PM.

Details

Summary

The GPU evaluation for curves will have to change significantly from the
current particle hair drawing code, due to its more general use cases
and support for more curve types. To simplify that process and avoid
introducing regressions for the rendering of hair particle systems,
this commit splits drawing functions for the curves object and
particle hair.

The changes are just inlining of functions where necessary.

Next steps:

  • Remove reuse of EEVEE_HairMotionData and ParticleHairCache structs.
  • Move/duplicate necessary code to a separate draw_curves.ccfile.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Apr 6 2022, 9:25 PM
Hans Goudey (HooglyBoogly) created this revision.
Hans Goudey (HooglyBoogly) edited the summary of this revision. (Show Details)

Pretty straightforward. The diff size is nice and easy to review.

This revision is now accepted and ready to land.Apr 13 2022, 3:17 PM