Advanced Techniques: Texturing and Lighting with Trapcode 3D Stroke
Overview
Trapcode 3D Stroke lets you convert splines into rich, shaded 3D geometry inside After Effects. Advanced texturing and lighting push 3D Stroke beyond flat lines into tactile, dimensional elements that integrate naturally with scene lighting and camera movement.
Workflow steps
-
Prepare your stroke path
- Draw: Create splines with the Pen tool or import masks/paths from Illustrator.
- Optimize: Simplify paths to reduce unnecessary points and keep UVs consistent.
-
Convert and set up 3D Stroke
- Apply 3D Stroke: Add the effect to a solid and assign your path.
- Profile & Thickness: Choose a profile (round, square, custom) and set Thickness for visible surface area.
- Cap & Segment settings: Adjust Start/End Caps and Segments to control geometry ends and tessellation.
-
UV mapping & texturing
- Enable UVs: Use the effect’s UV controls to align textures along the stroke length.
- Tile & Offset: Use Tile/Offset to repeat or shift a texture; animate Offset for moving patterns.
- Use layered textures: Combine base color, roughness and normal maps by compositing multiple 3D Stroke instances (one for color, one for specular/roughness) or by blending textures in precomps.
- Bake lighting cues into textures for stylistic control (ambient occlusion, dirt maps).
-
Normals & bump detail
- Normal maps: Feed a normal map via the Normal input (or fake normals by blending luminance maps) to add surface detail without geometry.
- Height/bump tricks: Use displacement on an underlying precomp or subtle CC Bend/Bevel on stroke profile for silhouette variation.
-
Lighting setups
- AE Lights: Use Point/Spot/Parallel lights; set intensity, cone angle, falloff. Combine multiple lights for key-fill-back setups.
- Light linking: If needed, separate stroke layers into different comps and control which lights affect them for artistic separation.
- IBL & HDR: Use an environment HDRI as a background and bake approximate image-based lighting into textures for realistic reflections (since 3D Stroke isn’t a full PBR renderer).
- Shadowing: Cast shadows by duplicating stroke geometry into a shadow-catcher comp (blurred, darkened matte) or use AO maps baked into textures.
-
Shading controls
- Specular/Glossiness: Tweak specular power and intensity in 3D Stroke; simulate roughness by layering blurred highlights.
- Fresnel: Add a Fresnel-based ramp to composite for edge-lit effects.
- Subsurface glow: For semi-translucent strokes, add glow passes in additive blend mode with masked falloff.
-
Integration with scene
- Match camera: Use the same AE camera for 3D Stroke and scene elements; enable motion blur.
- Color grading: Apply final color-correct/curves to match stroke to plate.
- Depth compositing: Use depth mattes or z-depth passes to place strokes behind/in front of elements.
Performance tips
- Reduce Segment and Thickness when iterating; increase only for final renders.
- Pre-render texture-heavy stroke passes to reduce preview lag.
- Use proxy comps for animated textures or heavy normal maps.
Example setups
- Neon cable: Round profile, emissive color layer (additive), blurred bloom, subtle normal map for ridges, single warm key light.
- Metallic ribbon: Flat profile, layered base + roughness maps, small sharp specular, HDRI-baked reflections, backlight for rim highlights.
- Organic vine: Irregular profile, bump/normal detail, subsurface glow, soft spot key with animated shadow catcher.
Common pitfalls & fixes
- Texture stretching: Fix by re-tiling UV or simplifying spline segments.
- Flat look under lights: Add normal maps and increase specular contrast.
- Slow previews: Lower Segment count, disable high-res textures, use region-of-interest.
Quick checklist before final render
- Optimize segments/thickness
- Bake composite passes: color, specular, normals, AO
- Match camera and motion blur
- Final color grade and denoise
Leave a Reply