Geometry


Surface

In ViennaRay, the geometry is represented by an oriented point cloud. At each point, a disk is positioned with an orientation that aligns its normal with the surface normal. The disk’s radius, denoted as $d_r$, is determined by the grid spacing $d_g$. The default setting for $d_r$ ensures that the surface is closed which may lead to partially overlapping disks and thus intersections can occur on multiple disks. A depiction of a surface represented by oriented disks is shown below.

2DDisk Representation of the surface using disks (lines) in 2D. (Image Source)
3DDisks Representation of a 3D surface using oriented disks.

The geometry in ViennaRay can be set through the rayTrace class, using the member function setGeometry, which is explained in detail here.

Source Plane

Coming Soon

Boundary Conditions

Coming Soon