Abstract
Neural Strokes is a differentiable rendering framework that learns to stylize line drawings of 3D shapes using just a single artist-drawn example. By explicitly modeling stroke thickness, geometric deformation, and texture, it outputs fully editable vector graphics that preserve the precise geometric details of the 3D shape—something purely image-based style transfer methods typically fail to do.
The Challenge of Stylized 3D Rendering
Generating stylized drawings from 3D models—such as charcoal sketches or pen-and-ink illustrations—traditionally forces a choice between two suboptimal approaches.
- Image-to-image translation: Methods like Neural Style Transfer operate purely on 2D pixels. They often fail to respect underlying 3D geometry, leading to broken outlines, lost details, and flat raster outputs.
- Procedural Non-Photorealistic Rendering (NPR): These algorithms preserve geometry and output vectors, but the styles must be hand-coded by engineers. They lack the flexibility to learn from a simple artistic reference.
Neural Strokes bridges this gap by learning an artist's specific style from a single reference drawing and applying it to new 3D shapes as high-quality, editable vector strokes.
Methodology: Disentangling Stroke Attributes
The framework disentangles a stroke into its path, thickness, displacement ("wiggliness"), and texture. The pipeline consists of five key stages:
- Curve Extraction: Standard algorithms extract geometric curves (silhouettes, ridges) from the input 3D shape.
- Surface Geometry Module: A 2D CNN extracts deep image-space features (depth, curvature, normals) from a 9-channel rendering of the 3D shape.
- Path Geometry Module: A 1D CNN slides along the extracted curves, combining local curve data with the deep surface features to predict per-control-point thickness and 2D displacement.
- Differentiable Vector Rendering: The displaced, thickened curves are rendered into a grayscale image using
DiffVG, a differentiable vector graphics renderer. - Stroke Texture Module: A PatchGAN-based image-to-image network adds the final artistic texture (e.g., charcoal grain or ink bleed).
Because the entire pipeline is differentiable, it can be trained end-to-end on random multi-scale patches cropped from a single reference drawing.
Key Results and Evaluation
Neural Strokes was evaluated using a custom dataset of 48 3D shapes and 124 drawings from 12 professional artists across 31 distinct styles.
Quantitative and Qualitative Performance
The model significantly outperformed image-based baselines. It achieved a Learned Perceptual Image Patch Similarity (LPIPS) score of 0.0956 and a Frechet Inception Distance (FID) of 62.40, surpassing the next best method, SketchPatch. Qualitatively, Neural Strokes maintains structural integrity where baselines produce blurry or fragmented lines, successfully transferring complex styles like tapering ink while preserving the 3D shape's outlines.
User Preference
In a study involving 93 participants, users were asked which generated image best matched a target style. Neural Strokes received 125 votes, nearly six times more than the best baseline (20 votes), and performed competitively against actual human-drawn hold-out examples (131 votes).
Conclusion
By fusing 1D curve data with 2D surface geometry and utilizing a vector representation as a structural prior, Neural Strokes effectively captures complex artistic styles from minimal data. While it currently relies on algorithmic curve extraction, it represents a significant step toward automated, geometry-aware artistic rendering that respects the artist's intent.
Summary updated