Closed christophwaibel closed 4 years ago
yeah it works.
CShadow.CalcSpecularNormal5(...)
needs to be translated to MT
even when MT=false, it uses MT after the Rhino.Geometry simulations. Maybe in (3/4) CalcIrradiation? Or in (4/4) Writing Data to Rhino?
Currently, all rhino.geometry operations are non-parallelised, because I thought they are not thread-safe. But: https://discourse.mcneel.com/t/grasshopper-python-parallel-implementation/75213
"No, only the Rhino.Geometry namespace of RhinoCommon is intended for thread safe usage https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino_Geometry.htm 13"
Try it out! mesh-ray intersections in
CShadow.cs