If my analysis is correct while reviewing the code the intensity field is not distance dependent while the reflectivity correctly is (but right now is not correct because intensity is wrong). see
Intensity calculation (missing distance dependency, squared attenuation)
|
intensity *= cosIncidentAngle; |
While reflectivity compensate for distance attenuation:
|
ctx->reflectivityF32[returnPointIdx] = ctx->reflectivityAlpha * ctx->mrSamples.intensity[sampleIdx] * distance2; |
If my analysis is correct while reviewing the code the intensity field is not distance dependent while the reflectivity correctly is (but right now is not correct because intensity is wrong). see
Intensity calculation (missing distance dependency, squared attenuation)
RobotecGPULidar/src/gpu/optixPrograms.cu
Line 190 in d615cd5
While reflectivity compensate for distance attenuation:
RobotecGPULidar/src/gpu/nodeKernels.cu
Line 132 in d615cd5