Blender Git Loki

Git Commits -> Revision 51af20b

Revision 51af20b by Sergey Sharybin (master)
August 4, 2020, 09:40 (GMT)
Cycles: Fix nan in decomposed transform for degenerated input

The decomposed transform would have consists of nan values if the input
transform had zero scale.

Now the decomposition will check for zero scale, and if it is detected
then the result will be ensured to be finite. Additionally, rotation
value will be copied from previous/next time step to help avoiding
obscure interpolation.

The latter step can become more comprehensive than the current simple
implementation.

Differential Revision: https://developer.blender.org/D8450

Commit Details:

Full Hash: 51af20b8561b39d41ecd91abbeae7348dc1d4cdf
Parent Commit: 7f6530e
Lines Changed: +79, -3

1 Added Path:

/intern/cycles/test/util_transform_test.cpp (+53, -0) (View)

2 Modified Paths:

/intern/cycles/test/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/util/util_transform.cpp (+25, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021