31 const VertCoords & samples,
const VertBitSet & validSamples,
32 const std::vector<SkyPatch> & skyPatches,
33 BitSet * outSkyRays =
nullptr, std::vector<MeshIntersectionResult>* outIntersections =
nullptr );
40 const VertCoords & samples,
const VertBitSet & validSamples,
41 const std::vector<SkyPatch> & skyPatches, std::vector<MeshIntersectionResult>* outIntersections =
nullptr );
MRMESH_API BitSet findSkyRays(const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< SkyPatch > &skyPatches, std::vector< MeshIntersectionResult > *outIntersections=nullptr)
float radiation
radiation of the patch depending on Sun's position, sky clearness and brightness, etc
Definition MRSolarRadiation.h:21
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
Vector3f dir
direction toward the center of the patch
Definition MRSolarRadiation.h:19
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
this class represents a portion of the sky, and its radiation
Definition MRSolarRadiation.h:17