Openholo  v4.2
Open Source Digital Holographic Library
Triangle Mesh
Collaboration diagram for Triangle Mesh:

Classes

class  ophTri
 Openholo Triangular Mesh based CGH generation. More...
 

Detailed Description

Introduction

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.

continuous shading

-Fig.continuous shading

flat shading

-Fig.flat shading