iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
591 stars 211 forks source link

Investigate Möller-Trumbore ray-triangle intersection speedup #5292

Closed dassaf4 closed 1 year ago

dassaf4 commented 1 year ago

Scalable Mesh team reports 37.5% savings using this algorithm (and inlining) to short-circuit solving the system equation in native code. Geomlibs should be able to realize some savings over the current implementations in:

dassaf4 commented 1 year ago

https://github.com/iTwin/itwinjs-core/pull/5399 https://github.com/iTwin/imodel-native/pull/256 https://dev.azure.com/bentleycs/PowerPlatform/_git/PPBase/pullrequest/331375

saeeedtorabi commented 1 year ago

The new method is implemented, tested, and merged for all 3 repos.