Silhouette curve around meshes

calendar_today

01.01.2023

label

Modeling

mouse

Houdini 19.5

Description

Clipping a grid based on the distance towards a flattened mesh: silhouette.hipnc
Outlining a mesh as seen by the camera using normal device coordinates (NDC): silhouette_camera.hip

1 Code

After importing the camera operator path the point positions are transformed into the normal device coordinates. The Z coordinates are flattened to 0.0 and the camera's aspect ratio 16:9 is scaled to the height.

C
        string cam = chs('cam');
v@P = toNDC(cam , v@P);
v@P.z = 0.0;
v@P.y *= 9.0 / 16.0;
    
download

Downloads

smart_display

Videos

Silhouette from Camera Perspective – Houdini Tutorial

link

Related articles

favorite

135

label

Modeling

Adaptive Resampling of Curves

favorite

279

label

Modeling

Applying Scales to Mesh Surfaces

favorite

222

label

Modeling

Approximating subdivision surfaces

favorite

185

label

Modeling

Blending COPs SDFs into 3D Volume

favorite

269

label

Modeling

Branching Subdivision Curves

favorite

125

label

Modeling

Circuit Networks