mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 20:27:05 -06:00
3D and Materials: curves follow a tolerance, and Rotate takes large outlines
Extrude & Bevel, Inflate and Rotate sampled every curve at sixteen points and refused a shape past 1,024 points, about 64 curves: outlined words reached that quickly, and Rotate refused them although it only turns the outline. - Each curve takes as many straight pieces as keep it within 1/2000 of the shape's size (at least 0.05 pt), by Wang's bound: 1 to 32. - Extrude & Bevel and Inflate take up to 2,048 points, Rotate 65,536. - Inflate's distance and crossing tests use a bucketed edge index, and cells no edge crosses skip clipping: about 80 ms at 2,000 points (it was over 600 ms with the old search; 95 ms at the old 1,024-point limit). Revolve's own sampling is unchanged.
This commit is contained in:
@@ -88,5 +88,8 @@ out, perspective). No Adobe software, assets, presets or bevel shapes were used.
|
||||
front. Concave solids seen at steep angles can overlap wrongly; open (hollow) solids show both sides.
|
||||
- Shading is flat per facet: an inflated rim seen almost edge-on shows faint banding where the facets get finer.
|
||||
- Paths and compound paths only: convert type, images and groups to outlines first. One 3D effect per object.
|
||||
- Curves are followed within 1/2000 of the shape's size (at least 0.05 pt), so a small curve takes a few points
|
||||
and a large one up to 32. Extrude & Bevel and Inflate take up to 2,048 outline points, Rotate (which only turns
|
||||
the outline) 65,536.
|
||||
- **3D (Classic)** (the track cube, surface types, blend steps, map art), Turntable and 3D export are separate,
|
||||
unbuilt items.
|
||||
|
||||
Reference in New Issue
Block a user