29 const std::vector<SkyPatch> & skyPatches,
30 BitSet * outSkyRays =
nullptr, std::vector<MeshIntersectionResult>* outIntersections =
nullptr );
38 const std::vector<SkyPatch> & skyPatches, std::vector<MeshIntersectionResult>* outIntersections =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMesh/MRBitSet.h:24
Definition MRMesh/MRMesh.h:23
Definition MRSolarRadiation.h:14
new unsafe ref MR.Vector3f dir
new unsafe ref float radiation
Definition MRCameraOrientationPlugin.h:8
MRMESH_API BitSet findSkyRays(const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< SkyPatch > &skyPatches, std::vector< MeshIntersectionResult > *outIntersections=nullptr)
MRMESH_API VertScalars computeSkyViewFactor(const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< SkyPatch > &skyPatches, BitSet *outSkyRays=nullptr, std::vector< MeshIntersectionResult > *outIntersections=nullptr)
MRMESH_API std::vector< Vector3f > sampleHalfSphere()
returns quasi-uniform 145 samples on unit half-sphere z>0