mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 18:32:23 +00:00
Merge main into feat/3d-graphics-inflate
This commit is contained in:
+22
-3
@@ -79,6 +79,16 @@ pages describe it.
|
||||
own choice. The group keeps the object's place, id, name, opacity, blending mode, opacity mask, attributes
|
||||
and text wrap and is selected; objects without a visible 3D effect do not change. It is one undo step, and an error changes nothing
|
||||
when no selected object has a visible 3D effect.
|
||||
- **Export 3D Object** is a button in the panel, as the public
|
||||
[Export 3D vector artwork](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/export-3d-vector-artwork.html)
|
||||
page describes; VectorCraft places it at the bottom of the panel. It adds each selected object that has a visible
|
||||
3D effect to Asset Export as a 3D asset, the same as
|
||||
Asset Export's own Export 3D Object (`assets.add3D` with those objects' ids), selects their assets in the Asset
|
||||
Export panel and shows that panel, where the Format row and Export write the mesh files
|
||||
([3D assets in mcp.md](mcp.md#3d-assets)). Selected objects without a visible 3D effect are left out, and so is
|
||||
a 3D object inside another selected 3D object, whose asset holds it. The button is unavailable while no selected
|
||||
object has a visible 3D effect. Adding the assets is one undo step; when every one of the objects is an asset already, nothing is
|
||||
recorded and their assets are selected again.
|
||||
- The Lighting tab also holds the Shadows switch and its settings ([Shadows](#shadows)). The Materials tab holds
|
||||
the Graphics ([Graphics](#graphics)); base materials and ray-traced rendering are not built (see below). The
|
||||
rotation and light rings on the artboard are part of the options dialog only. The panel's Lighting tab has the
|
||||
@@ -180,7 +190,9 @@ The rest is our reading:
|
||||
curved surfaces follow this only as closely as their flat facets do. A solid painted with a gradient that has
|
||||
transparent stops under a light that is not white is drawn with an opacity mask: its faces keep their places in
|
||||
this order, in runs that each carry the mask, and a graphic drawn after one of its faces carries the mask too
|
||||
([Graphics](#graphics)). A member of a 3D group with its own opacity
|
||||
([Graphics](#graphics)). Such a gradient, and a gradient with transparent stops under the classic effects'
|
||||
shading, is placed once on the whole solid when it has no placement of its own, so its colors and its
|
||||
transparency line up across the faces. A member of a 3D group with its own opacity
|
||||
mask or blending mode draws its fill's and strokes' faces in this order inside that mask or blending mode when
|
||||
they are opaque with Normal blending. Otherwise each solid is drawn on its own with its opacity and blending, the
|
||||
lower item's first. With a light that is not white, a puffed, shaded Inflate surface in a solid color takes its
|
||||
@@ -365,8 +377,15 @@ is drawn larger, above the others.
|
||||
|
||||
The widget sends the same settings as the Rotation, Height and Light behind the object controls
|
||||
(`effect.setParams`); there is no command of its own. The sphere's look, the 0.1° rounding and the arrow keys
|
||||
are VectorCraft's own. The options dialogs keep the light rings on the artboard instead, and the Lighting tab
|
||||
of Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic) has no lighting widget.
|
||||
are VectorCraft's own. The options dialogs of Extrude & Bevel, Revolve, Inflate and Rotate keep the light rings
|
||||
on the artboard instead.
|
||||
|
||||
The Lighting tab of Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic) has the same sphere, in
|
||||
the options dialog as well as in the panel, while the surface is Diffuse or Plastic, as the archived
|
||||
[lighting options](https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=272) of
|
||||
the classic 3D dialogs describe. Their lights have no color, so every sun is white. The light rings on the
|
||||
artboard stay available in the dialog. **Add Light** adds a light at the front center of the sphere (Rotation
|
||||
0°, Height 90°), and **Delete Light** removes the selected light and is unavailable while one light is left.
|
||||
|
||||
### Light settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user