Add IRCSS gothic cone translation
This commit is contained in:
parent
6d6b93c3bf
commit
fdda6184e8
8 changed files with 320 additions and 19 deletions
|
|
@ -258,12 +258,15 @@ Completed Blender raycast minigame foothold:
|
|||
Completed IRCSS French Houses foothold:
|
||||
|
||||
- `docs/research/translations/ircss-french-houses.md`
|
||||
- Source group: `MakeSpiral`
|
||||
- Verification: output curve converted to points matches source with ordered
|
||||
max vertex delta `0.0`.
|
||||
- Source groups: `MakeSpiral`, `PointyGothicCone`
|
||||
- Verification: spiral output curve converted to points matches source with
|
||||
ordered max vertex delta `0.0`; plain and ornamented gothic cone cases match
|
||||
source evaluated mesh vertices with sorted max vertex delta `0.0`.
|
||||
- Translation value: procedural-city corpus triage, spiral architectural
|
||||
spines, and explicit blockers for repeat-zone feedback, repeat `Top` outputs,
|
||||
foreach zones, gizmo nodes, and converter duplicate-key failures.
|
||||
spines, roof-cap ornament grown from structural ribs, captured source points
|
||||
through instancing, and explicit blockers for repeat-zone feedback, repeat
|
||||
`Top` outputs, foreach zones, gizmo nodes, and converter duplicate-key
|
||||
failures.
|
||||
|
||||
Inspected but deferred official demo files:
|
||||
|
||||
|
|
|
|||
|
|
@ -547,6 +547,49 @@ copies and become individual geometry you can bend, cut, or shade.
|
|||
Verification cue: test more than one seed/control set. Scatter graphs can match
|
||||
counts at one setting while density, scale, or captured-root behavior is wrong.
|
||||
|
||||
## Ornament Grows On Structure
|
||||
|
||||
Reach for this when a form has a big readable architectural body plus smaller
|
||||
detail that should cling to that body: gothic caps, roof ribs, crenellations,
|
||||
trim, bolts, vines, scales, and surface greebles.
|
||||
|
||||
Mental move: build the host silhouette first, capture the host features that
|
||||
detail needs, then sample or convert those features into stations for the
|
||||
ornament. Do not scatter decorative pieces in empty space and hope they look
|
||||
attached.
|
||||
|
||||
```python
|
||||
point_positions = _capture_attribute_item("VECTOR", "POINT", geometry, position(), "source position")
|
||||
cone_seed = cylinder(fill_type="NGON", vertices=6, side_segments=1, fill_segments=1, radius=1.0, depth=1.0)
|
||||
tapered_cone = scale_elements(
|
||||
domain="FACE",
|
||||
geometry=set_position(geometry=cone_seed.mesh, offset=(0.0, 0.0, 0.5)),
|
||||
selection=cone_seed.top,
|
||||
scale=0.10000002384185791,
|
||||
scale_mode="Uniform",
|
||||
)
|
||||
edge_flags = _capture_attribute_item("BOOLEAN", "EDGE", tapered_cone, cap_or_body_edge, "edge trim")
|
||||
cone_instances = instance_on_points(points=point_positions.geometry, instance=cone_with_skirt.mesh, scale=cone_scale)
|
||||
realized_cones = realize_instances(geometry=cone_instances, realize_all=True, depth=0)
|
||||
|
||||
detail_edges = delete_geometry(mode="ALL", domain="EDGE", geometry=realized_cones, selection=edge_flags.edge_trim)
|
||||
detail_points = resample_curve(
|
||||
keep_last_segment=True,
|
||||
curve=mesh_to_curve(mode="EDGES", mesh=detail_edges),
|
||||
mode="Length",
|
||||
length=gothic_detail_density,
|
||||
)
|
||||
details = instance_on_points(points=detail_points, instance=stretched_detail, rotation=detail_rotation, scale=detail_scale)
|
||||
```
|
||||
|
||||
Metaphor in use: the big form is scaffolding, and ornament is ivy on that
|
||||
scaffolding. If the scaffold is not built first, the ivy floats there looking
|
||||
confident and wrong.
|
||||
|
||||
Verification cue: test the plain host and the ornamented host separately. The
|
||||
IRCSS `PointyGothicCone` translation verifies both `SpawnDetails=False` and
|
||||
`SpawnDetails=True` against evaluated source geometry.
|
||||
|
||||
## Constraint Helpers Are Bumpers
|
||||
|
||||
Reach for constraint helpers when a procedural system has a small physical rule
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
# Translation: IRCSS French Houses Foothold
|
||||
# Translation: IRCSS French Houses Footholds
|
||||
|
||||
## Source
|
||||
|
||||
- Repository: https://github.com/IRCSS/Blender-Geometry-Node-French-Houses
|
||||
- Source file:
|
||||
`GeometryNodesFrenchHous.blend`
|
||||
- Source group translated in this pass:
|
||||
- Source groups translated so far:
|
||||
- `MakeSpiral`
|
||||
- `PointyGothicCone`
|
||||
- Geometry Script recreation:
|
||||
`examples/geometry_script/ircss_french_houses.py`
|
||||
|
||||
|
|
@ -28,7 +29,7 @@ parts, stalls, cliffs, roads, rivers, vegetation, banners, windows, doors, and
|
|||
roof systems. This is the right quarry for procedural-city doctrine, but the
|
||||
first accepted bite has to be small enough to verify.
|
||||
|
||||
## First Accepted Graph
|
||||
## Accepted Graph: MakeSpiral
|
||||
|
||||
Source group: `MakeSpiral`
|
||||
|
||||
|
|
@ -63,9 +64,35 @@ Results from Blender 5.1.1:
|
|||
| Case | Source vertices | Translated vertices | Delta | Status |
|
||||
| --- | ---: | ---: | ---: | --- |
|
||||
| MakeSpiral curve points | 200 | 200 | 0.0 | accepted |
|
||||
| PointyGothicCone plain | 36 | 36 | 0.0 | accepted |
|
||||
| PointyGothicCone with details | 138 | 138 | 0.0 | accepted |
|
||||
|
||||
The verifier converts the output curve to evaluated points and compares ordered
|
||||
vertex positions.
|
||||
## Accepted Graph: PointyGothicCone
|
||||
|
||||
Source group: `PointyGothicCone`
|
||||
|
||||
Geometry Script group: `VG Pointy Gothic Cone`
|
||||
|
||||
Mechanism:
|
||||
|
||||
- Capture each input point position before instancing starts.
|
||||
- Build a tapered six-sided cone seed from a cylinder.
|
||||
- Capture an edge-domain trim mask that marks cone cap/body edges.
|
||||
- Instance one scaled cone at each input point.
|
||||
- When `SpawnDetails` is enabled, delete the marked cone edges, convert the
|
||||
remaining ribs to curves, resample them into detail stations, and instance
|
||||
small tapered five-sided spikes along those ribs.
|
||||
- Orient each detail spike toward the horizontal direction from the source
|
||||
point to the current rib point.
|
||||
|
||||
Metaphor: the input points are roof pegs. The main cone is the roof cap hung on
|
||||
each peg; the optional details grow from the cap ribs after the cap is already
|
||||
real enough to have edges. Build the big readable silhouette first, then let
|
||||
ornament use that structure.
|
||||
|
||||
The spiral case converts the output curve to evaluated points and compares
|
||||
ordered vertex positions. Cone cases feed identical synthetic point meshes into
|
||||
the source and translation, then compare sorted evaluated vertices.
|
||||
|
||||
## Blockers Exposed
|
||||
|
||||
|
|
@ -90,6 +117,11 @@ vertex positions.
|
|||
- City-scale graphs are hierarchies of organs. Start with reusable spines,
|
||||
tiles, rails, façade parts, and topology generators before translating a
|
||||
thousand-node composer.
|
||||
- Ornament often needs a structural host. `PointyGothicCone` first creates the
|
||||
readable cap silhouette, then derives detail placement from the cap's own
|
||||
realized ribs.
|
||||
- Captures are not optional bookkeeping when instancing starts. The original
|
||||
point position and cone edge mask both have to survive later domain changes.
|
||||
- Converter drafts are still useful for triage: they quickly separate clean
|
||||
helpers, repeat-zone blockers, foreach-zone blockers, gizmo-specific groups,
|
||||
and false symbol names.
|
||||
|
|
|
|||
Loading…
Reference in a new issue