Sun
Drop in a global sun: direction, illuminance in lux and colour temperature. Drag it in the viewport.
- Ribbon: Render › Lighting
- Guide: Rendering and materials
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
- Choose Sun. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Adjust the settings and check the preview in the viewport.
- Use the panel buttons as needed: Add sun, Add lamp (point), Add spot, Select next light, Delete this light.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Light is on | On | |
| Type | Lamp (point) | Sun (distant), Lamp (point), Spot |
| Sunlight | 100000 lx | 100 to 150000 lx |
| Power | 3000 lm | 1 to 10000000 lm |
| Colour temperature | 5600 K | 1700 to 12000 K |
| Cone angle | 45 ° | 5 to 170 ° |
| Soft edge | 25 % | 0 to 100 % |
| Lamp size (radius) | 5 mm | 0 to 1000 mm |
| Sun apparent size | 0.53 ° | 0 to 10 ° |
| Sun direction | 45 ° | -360 to 360 ° |
| Sun height | 45 ° | 1 to 90 ° |
| Position X | 0 mm | |
| Position Y | 0 mm | |
| Position Z | 0 mm | |
| Aim X | 0 mm | |
| Aim Y | 0 mm | |
| Aim Z | 0 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)")