Table of Contents

Enum Pdf3dLightingStyle

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

The style of 3D lighting scheme.

public enum Pdf3dLightingStyle

Fields

Artwork = 0

Lights as specified in the 3D artwork. This has the same effect as if the 3D lighting scheme is omitted.

Blue = 7

Three blue infinite lights; no ambient term.

Light 1: color { 0.4; 0.4; 0.7 }, direction { -2.0; -1.5; -0.5 }.

Light 2: color { 0.75; 0.75; 0.95 }, direction { 2.0; 1.1; -2.5 }.

Light 3: color { 0.7; 0.7; 0.95 }, direction { 0.0; 0.0; 2.0 }.

CAD = 10

Three grey infinite lights and one light attached to the camera; no ambient term.

Light 1: color { 0.72; 0.72; 0.81 }, direction { 0.0; 0.0; 0.0 }.

Light 2: color { 0.2; 0.2; 0.2 }, direction { -2.0; -1.5; -0.5 }.

Light 3: color { 0.32; 0.32; 0.32 }, direction { 2.0; 1.1; -2.5 }.

Light 4: color { 0.36; 0.36; 0.36 }, direction { 0.04; 0.01; 2.0 }.

Cube = 9

Six grey infinite lights aligned with the major axes; no ambient term.

Light 1: color { .4; .4; .4 }, direction { 1.0; 0.01; 0.01 }.

Light 2: color { .4; .4; .4 }, direction { 0.01; 1.0; 0.01 }.

Light 3: color { .4; .4; .4 }, direction { 0.01; 0.01; 1.0 }.

Light 4: color { .4; .4; .4 }, direction { -1.0; 0.01; 0.01 }.

Light 5: color { .4; .4; .4 }, direction { 0.01; -1.0; 0.01 }.

Light 6: color { .4; .4; .4 }, direction { 0.01; 0.01; -1.0 }.

Day = 3

Three light-grey infinite lights; no ambient term.

Light 1: colour: { 0.5; 0.5; 0.5 }, direction { -2.0; -1.5; -.5 }.

Light 2: colour: { 0.8; 0.8; 0.9 }, direction { 2.0; 1.1; -2.5 }.

Light 3: colour: { 0.9; 0.9; 0.9 }, direction { 0.02; 0.01; 2.0 }.

Hard = 5

Three grey infinite lights; moderate ambient term.

Light 1: color { 0.5; 0.5; 0.5 }, direction { -1.5; -1.5; -1.5 }.

Light 2: color { 0.8; 0.8; 0.9 }, direction { 1.5; 1.5; -1.5 }.

Light 3: color { 0.9; 0.9; 0.9 }, direction { -0.5; 0; 2.0 }.

Ambient: color { 0.5; 0.5; 0.5 }.

Headlamp = 11

Single infinite light attached to the camera; low ambient term.

Light 1: color { 0.8; 0.8; 0.9 }, direction { 0.0; 0.0; 0.0 }.

Ambient: color { 0.1; 0.1; 0.1 }.

Night = 4

One yellow; one aqua; and one blue infinite light; no ambient term.

Light 1: color { 1; .75; .39 }, direction { -2.0; -1.5; -0.5 }.

Light 2: color { 0.31; 0.47; 0.55 }, direction { 2.0; 1.1; -2.5 }.

Light 3: color { .5; .5; 1.0 }, direction { 0.0; 0.0; 2.0 }.

None = 1

No lights shall be used. That is, lighting specified in the 3D artwork shall be ignored.

Primary = 6

One red; one green; and one blue infinite light; no ambient term.

Light 1: color { 1; 0.2; 0.5 }, direction { -2; -1.5; -0.5 }.

Light 2: color { 0.2; 1.0; 0.5 }, direction { 2.0; 1.1; -2.5 }.

Light 3: color { 0; 0; 1 }, direction { 0.0; 0.0; 2.0 }.

Red = 8

Three red infinite lights; no ambient term.

Light 1: color { 0.8; 0.3; 0.4 }, direction { -2.0; -1.5; -0.5 }.

Light 2: color { 0.95; 0.5; 0.7 }, direction { 2.0; 1.1; -2.5 }.

Light 3: color { 0.95; 0.4; 0.5 }, direction { 0.0; 0.0; 2.0 }.

White = 2

Three blue-grey infinite lights, no ambient term.

Light 1: color { 0.38; 0.38; 0.45 }, direction { -2.0, -1.5, -0.5 }.

Light 2: color { 0.6; 0.6; 0.67 }, direction { 2.0; 1.1; -2.5 }.

Light 3: color { 0.5; 0.5; 0.57 }, direction { -0.5; 0.0; 2.0 }.

Remarks

With the exception of the Artwork lighting style, all the lights are infinite lights (also known as distant lights). Unlike lights from a point source, all rays from an infinite light source are emitted along a single direction vector. For lights specifying an ambient term, this term shall be added to the diffuse colour of an object's material. All colors are specified in the DeviceRGB color space.