diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-06-07 00:38:28 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-06-07 00:38:50 +0300 |
commit | 7a5a02509bcd6f5c0fdf2df9f06537cbfd76f027 (patch) | |
tree | a006585abf8baaaf8aa85e86fddfc85d3746e0ef /doc | |
parent | ac7feaed3d4d80c60557b3c4af5eee65bef2e4ec (diff) |
Cycles: Use faster ray-quad-intersection test
The original quad intersection test works by just testing against the two triangles that define the quad.
However, in this case it's actually faster to use the same test that's also used for portals: Determining
the distance to the plane in which the quad lies, calculating the hitpoint and checking whether it's in the
quad by projecting onto the sides.
Reviewers: brecht, sergey, dingto
Reviewed By: dingto
Differential Revision: https://developer.blender.org/D2045
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions