Cycles: Fix two numerical issues in the volume code
authorLukas Stockner <lukas.stockner@freenet.de>
Wed, 8 Jun 2016 01:17:19 +0000 (03:17 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Wed, 8 Jun 2016 01:17:19 +0000 (03:17 +0200)
commit654019fa01c858ce49595bb95d189e5e60b7e6cc
tree142866754ba4c70e9d5102e80e7355fbbc9f471d
parenta506f4c74eb60a5b9fc9c6dadaab34d40a806191
Cycles: Fix two numerical issues in the volume code

This hopefully fixes T48383 by avoiding two numerical problems that I found in the volume code.

Reviewers: sergey, dingto, brecht

Reviewed By: sergey, dingto, brecht

Maniphest Tasks: T48383

Differential Revision: https://developer.blender.org/D2051
intern/cycles/kernel/kernel_volume.h