Blender Git Loki

Git Commits -> Revision 7c7d236

Revision 7c7d236 by Sergey Sharybin (master)
October 26, 2016, 12:30 (GMT)
Cycles: Fix crashes after recent optimization commits

There is some precision issues for big magnitude coordinates which started
to give weird behavior of release builds. Some weird memory usage in BVH
which is tricky to nail down because only happens in release builds and GDB
reports all variables as optimized out when trying to use RelWithDebInfo.

There are two things in this commit:

- Attempt to make vectorized code closer to original one, hoping that it'll
eliminate precision issue.
This seems to work for transform_point().
- Similar trick did not work for transform_direction() even tho absolute
error here is much smaller. For now disabled that function, need a more
careful look here.

Commit Details:

Full Hash: 7c7d23691fc8583967a17dc501b9fb94f101990b
Parent Commit: 72921a1
Lines Changed: +9, -7

1 Modified Path:

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