Blender Git Loki

Git Commits -> Revision 729dc98

Revision 729dc98 by Sergey Sharybin (master)
November 18, 2014, 14:05 (GMT)
Fix T42475: Vector motion blur on hair

Issue was caused by mismatch in pre/post transform matrix spaces for mesh and
curve vectors. This happened because of current way how static transform apply
works: it only stores post/pre in the world space if there's triangle motion
exists. This lead to situation when there's no triangle motion happening but
was hair motion happening.

After long time of trying to solve it in a nice way, ended up solving it in
a bit slow way -- pre/post transform is still storing in the same spaces as
they used to be stored and just convert hair pre/post position to a world
space in the kernel.

This is because currently it's not so clear how to deal with cases when curve
and mesh motion needs different space of pre/post transform (which happens in
cases when only one of the motions exists).

Would think of some magic, and meanwhile artists could be happy with proper
render results.

Commit Details:

Full Hash: 729dc98be167a77e418489d19042168863085845
Parent Commit: c07241d
Lines Changed: +9, -1

1 Modified Path:

/intern/cycles/kernel/geom/geom_primitive.h (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021