Page MenuHome

Fix T85301: Eevee does not respect collection instance offset for hair
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Feb 2 2021, 1:00 PM.

Details

Summary

This resulted in hair drawing with an offset if an instance_offset was
set.

note: Usually the instance_offset gets combined with the objects obmat
in 'make_duplis_collection' / 'make_dupli', see

/* Combine collection offset and obmat. */

Using the resulting DupliObject->mat instead does include the
instance_offset, but the results in double-transforms (something that I
have not investigated further -- but might be the better solution?)

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Feb 2 2021, 1:00 PM
This revision is now accepted and ready to land.Feb 2 2021, 1:41 PM
Philipp Oeser (lichtwerk) planned changes to this revision.Feb 2 2021, 2:37 PM

Rotations are wrong, needs another look

This revision is now accepted and ready to land.Feb 2 2021, 2:56 PM