BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 13 forks source link

Environment_Engine: View factor to object method #1862

Closed tg359 closed 3 years ago

tg359 commented 4 years ago

Description:

Compute the view factor of an object from a point. For example, a single point within a sphere would have a view factor to that sphere of 1, whereas a point at ground level with no obstructions would see 0.5 ground and 0.5 sky.

This would require an equidistant sampling method (a fibonacci sphere would work well) from a sample location, firing ambient sample rays to objects and counts the first intersection of that ray with those objects to determine how much of the ambient field is occluded by that object. Think GH MeshRay, but a bit more targeted with some numerical summary at the end 😄

tg359 commented 3 years ago

I've prototyped a method using native GH components (plus a few BHoM ones) HERE. It does what we want, but we need an IVRay method to recreate it natively in BHoM outside GH. Im looking for the algorithm now, and below might be the source of the method used

tg359 commented 3 years ago

Migrated issue elsewhere