Openholo
v5.0
Open Source Digital Holographic Library
|
Classes | |
class | ophTri |
Openholo Triangular Mesh based CGH generation. More... | |
Triangular mesh based CGH generates the complex field of 3D objects represented as a collection of the triangular meshes. The algorithm aggregates the angular spectrums of individual triangular meshes and then performs a Fourier transform to obtain the complex field for entire objects.
The angular spectrum of the individual triangular mesh is obtained using the analytic formula of the Fourier transform of the reference triangular aperture, considering the geometrical relation between the hologram plane and the local mesh plane, and also between the local mesh and the reference triangular aperture.
The phase distribution on the mesh is determined by the carrier wave is assumed to be a plane wave of a specfic direction in the code. The amplitude inside each mesh is determined by the surface shading model and it can be either linearly varying for the continuous shading or uniform for the flat shading.
-Fig.continuous shading
-Fig.flat shading