mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
3D and Materials: the light takes the documented settings
The public 3D and Materials panel options give the Light Settings as Intensity (0–100 %), Rotation (-180° to 180°), Height (0° to 90°), Softness (0–100 %) and Ambient Light (0–200 %), with the light moved to the back or the front of the object. The 3D effects (Revolve included) had Direction and Elevation (an azimuth and elevation), Intensity and Ambient (0–100 %). - Rotation turns the light round the object on the page (our reading: 0° on its right, counterclockwise); Height raises it from beside the object (0°) to straight in front (90°); Light behind the object puts it at the back. The light gizmo's ring and line are Rotation and Height. - Softness wraps the light round the object: at 0 % it falls off with the angle as before, at 100 % it reaches nothing only straight away. - Ambient Light runs to 200 %; faces stay no brighter than the art. - lightRotation, lightHeight, lightBehind and lightSoftness replace lightAzimuth and lightElevation. An earlier light is read as the same direction, so it shades exactly as before (old and new code give the same colours for the four effects and five lights); effect.setParams turns a stored one into the new form before applying new values, and the parameter description names lightAzimuth and lightElevation as the earlier form, so effect.apply and effect.setParams still take them. The default light is the earlier default's: Rotation 125.26°, Height 30°. - The dialog's Lighting tab shows the settings in the documented order; Softness, Ambient Light and Light behind the object are in every catalog, and the unused Direction, Elevation and Ambient are gone. Light colour, presets, several lights and shadows are not built.
This commit is contained in:
1 parent
39db6abfce
commit
043b446b94
33 files changed
+380
-173
No files matched your search
+1
-1
@@ -175,7 +175,7 @@ from G14 and the budget run of G15: **~170–270 h** one agent, ~50–80 h wall
|
||||
|
||||
- **Done:** an initial live Revolve in the `three-d` crate (#846, from the contributor who offered in #605);
|
||||
Extrude & Bevel, Inflate and Rotate with Position presets ([three-d.md](three-d.md), #1407).
|
||||
- **Missing:** materials (base, Substance, graphics), several lights, light colour and softness, shadows,
|
||||
- **Missing:** materials (base, Substance, graphics), several lights, light colour and presets, shadows,
|
||||
ray-traced rendering, Revolve caps, exact visibility for intersecting and concave surfaces, 3D Classic,
|
||||
Turntable, 3D export (OBJ, USDA, glTF).
|
||||
- **Impact:** specialist; Materials is the one menu stub left.
|
||||
|
||||
Reference in new issue
Block a user