AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Lamp ​

Drop in a point lamp in lumens with real inverse-square falloff and soft shadows. Drag it anywhere.

Lamp: Lamp brightness uses lumens; distance changes illumination.
Concept diagram. Lamp brightness uses lumens; distance changes illumination. View full size

In the app

Add a sun (direction, lux, colour temperature) or a lamp or spot (lumens, real distance falloff). Drag a light's dot in the viewport to move it; Ctrl keeps it level, and a spot's second dot aims it. Press Delete to remove the selected light. Lights shine in the next render, which should use "Only my lights" for exact control.

How to use ​

  1. Choose Lamp. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Adjust the settings and check the preview in the viewport.
  3. Use the panel buttons as needed: Add sun, Add lamp (point), Add spot, Select next light, Delete this light.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Light is onOn
TypeLamp (point)Sun (distant), Lamp (point), Spot
Sunlight100000 lx100 to 150000 lx
Power3000 lm1 to 10000000 lm
Colour temperature5600 K1700 to 12000 K
Cone angle45 °5 to 170 °
Soft edge25 %0 to 100 %
Lamp size (radius)5 mm0 to 1000 mm
Sun apparent size0.53 °0 to 10 °
Sun direction45 °-360 to 360 °
Sun height45 °1 to 90 °
Position X0 mm
Position Y0 mm
Position Z0 mm
Aim X0 mm
Aim Y0 mm
Aim Z0 mm

Script it ​

Command name lights. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("lights", light_is_on=True, type="Lamp (point)")