diff options
author | Patrick Mours <pmours@nvidia.com> | 2019-11-22 19:30:22 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2019-11-22 19:30:22 +0300 |
commit | 59aef0ad5d6440e855f53db791b28076f50df2b2 (patch) | |
tree | 87879e85d7b56c4e502c26d89e917c590b3a27db /GNUmakefile | |
parent | aadbb794cd6ee757c0b62c4735fec5ec696b02a9 (diff) |
Fix T71255: Particle hair not showing in viewport with OptiX after scaling
The OptiX intersection program for curves uses "optixGetObjectRayDirection"
to get the ray direction in object space (which was inverse transformed
with the current transformation matrix). OptiX does no additional operations
on it, so if there is a scaling transform, the direction is not normalized.
But the curve intersection routine expects that. In addition, the distances
used in "optixGetRayTmax()" and "optixReportIntersection()" are in world
space, so need to adjust them accordingly.
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions