Shaping Subdivision Meshes with Curves

calendar_today

18.08.2023

label

Modeling, Organic

mouse

Houdini 19.5

Description

Smoothly interpolating a subdivided box through a set of closed curves to get a parametric and smooth subdivision mesh.

1 Code

int num = nprimitives(1);
vector pos[] = {};

vector p = prim(1, 'P', 0);
append(pos, p);

for(int i = 0; i < num; i++){
    p = primuv(1, 'P', i, v@uv);
    append(pos, p);
}

p = prim(1, 'P', num - 1);
append(pos, p);

v@P = spline('bspline', v@uv[1], pos);
download

Downloads

smart_display

Videos

Shaping Subdivision Meshes with Curves - Houdini Tutorial