Page MenuHome

Instanced hair not working well for EEVEE and workbench
Closed, ResolvedPublic


Blender Version
Broken: 4165a57a6672 (blender2.8 HEAD)
Worked: 2.79a

Short description of error
Instanced hair invisible for EEVEE and workbench.

Exact steps for others to reproduce the error
Original file is the following. A basic plane with hair, that is grouped and instanced multiple times:

The hair only shows/work for Cycles. For EEVEE and workbench it only shows the hair for the original object.

Event Timeline

Dalai Felinto (dfelinto) triaged this task as Confirmed, Medium priority.
Dalai Felinto (dfelinto) moved this task from Backlog to General Bugs on the BF Blender: 2.8 board.
Dalai Felinto (dfelinto) moved this task from Tasks to Spring Bugs on the Code Quest board.

Actually the hair is there but they are all in the same position as the original one.
A variation of this issue can be found here:

Where we instance the hair in a new scene, but the hair position is the same as the original scene, even though the duplicator moved.

Clément Foucault (fclem) lowered the priority of this task from Confirmed, Medium to Confirmed, Low.Jul 27 2018, 6:23 PM

So here is the problem:

Hair simulation is done in world space. We need dupli_parent->obmat to correctly render dupligroups with hair.
But currently depsgraph abstract that from us, so we first need a way to access the duplicator properties and then we can make it work.

And given the current state of things I doubt it's on @Sergey Sharybin (sergey) quick todo list.