Blender Git Loki
Git Commits -> Revision 6b91fb7
Revision 6b91fb7 by Sergey Sharybin (master) March 12, 2016, 10:01 (GMT) |
Cycles: Optimize derivatives calculation by using pre-calculated dx/dy We've got pixel-wide world-space derivatives which we can use in the perspective camera sampling. This allows to get rid of two calls to transform_direction() function. In theory we can save two transform_perspective() calls if we'll also save pre-calculated camera-space dx/dy. |
Commit Details:
Full Hash: 6b91fb706d60033af9d2a1b09015d99ffc7e3bbc
Parent Commit: a8c87ba
Lines Changed: +9, -7
1 Modified Path:
/intern/cycles/kernel/kernel_camera.h (+9, -7) (Diff)