This custom written code uses MATLAB and C-based NVIDIA CUDA to compute diffuse reflectance values using a single Monte Carlo (aka White Monte Carlo) simulation on the GPU. Diffuse reflectance is scaled based upon optical properties as well as the spatial frequency of incident light.
This code is tested with NVIDIA CUDA 4.2 SDK and compiled with Microsoft Visual Studio 2010.
[scaled Monte Carlo code (MATLAB + NVIDIA CUDA)]