Disk (dsk)

key: dsk

type: SCfffffff

  1. string: object name.
  2. mat'l: object materialindex.
  3. float : x coord of center of the disk.
  4. float : y coord of center of the disk.
  5. float : z coord of center of the disk.
  6. float : x coord of normal to the disk.
  7. float : y coord of normal to the disk.
  8. float : z coord of normal to the disk.
  9. float : radius.

Description

A disk object (aka a filled 2D circle embedded in 3D) defined by its center, the normal to the plane that it lies in, and a radius

Examples

dsk "blue disk" 
lmbrtn rgb 0.2 0.2 0.7 end end % a blue lambertian material
0.0 0.0 0.0 %center of the disk
1.0 0.0 0.0 %normal to the disk (lies in the y-z plane)
1.0 %radius of the disk
end
mdl page