Disk (dsk)
key: dsk
type: SCfffffff
- string: object name.
- mat'l: object materialindex.
- float : x coord of center of the disk.
- float : y coord of center of the disk.
- float : z coord of center of the disk.
- float : x coord of normal to the disk.
- float : y coord of normal to the disk.
- float : z coord of normal to the disk.
- 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