Diff3DS: Generating View-Consistent 3D Sketch via Differentiable Curve Rendering

Yibo Zhang, Lihong Wang, Changqing Zou, Tieru Wu, Rui Ma

Introduction

Creating 3D sketches—drawings that exist in three-dimensional space—is a notoriously difficult task. It typically requires specialized artistic talent and mastery of complex VR/AR interfaces. While artificial intelligence has made massive strides in generating dense 3D representations like meshes or point clouds, "sketching" in sparse 3D strokes remains a significant challenge.

Existing automated methods often fall into two traps. They either produce 2D sketches that lack 3D consistency—meaning the sketch "breaks" or looks entirely different when the camera moves—or they rely on simplified rendering techniques that ignore perspective and occlusion. For instance, previous state-of-the-art tools like 3Doodle utilized orthographic projections. While this approximates 3D-to-2D mapping, it fails to capture how objects actually look through a camera lens, leading to "color conflicts" where background strokes incorrectly appear in front of foreground ones.

To address these limitations, researchers have introduced Diff3DS, a novel differentiable rendering framework that generates view-consistent 3D sketches from simple text prompts or a single image. By optimizing 3D parametric curves, Diff3DS bridges the gap between abstract vector art and 3D structure, outperforming existing methods in both visual quality and structural accuracy.

Methodology

Diff3DS treats 3D sketch generation as an end-to-end optimization problem, leveraging several core innovations to ensure mathematical accuracy and visual fidelity:

  • 3D Rational Bézier Curves: Unlike standard Bézier curves, rational versions are "projective invariant." When a 3D rational curve is projected onto a 2D plane (like a camera sensor), the result is mathematically guaranteed to be a 2D rational Bézier curve. This elegant mathematical property makes the shift from orthographic to perspective projection possible, maintaining the 3D-to-2D consistency that previous methods lacked.
  • Depth-Aware Differentiable Rasterizer: The team built a custom rasterizer based on DiffVG. Crucially, their version is depth-aware. It calculates the z-depth of every point along a curve to ensure that strokes correctly occlude one another. By integrating a primary sort order based on 3D depth, Diff3DS automates occlusion, solving the "Z-fighting" problem and allowing the model to handle complex sketches without strokes bleeding incorrectly across different depths.
  • Score Distillation Sampling (SDS): To guide the generation process, Diff3DS uses SDS to "distill" knowledge from pre-trained 2D diffusion models (such as Stable Diffusion or MVDream). It iteratively queries the 2D model to evaluate if the current 3D curve arrangement matches the target prompt from a specific angle, using the gradient feedback to adjust the 3D curves.
  • Dynamic Noise Deletion: During optimization, some curves inevitably shrink into tiny, visually useless "noise" points. Diff3DS identifies these by their length and dynamically deletes them mid-process to keep the final sketch clean.
Multi-view consistency of generated 3D sketches (bird and scissors).

Evaluation and Results

Because there is no standard "3D Sketch" dataset, the authors evaluated their framework across multiple scenarios. They used 35 text prompts collected from previous 3D generation literature, 25 images generated by the Imagine model for image-to-3D tasks, and standard 3D benchmarks like the Nerf Synthesis dataset to test multi-view colored reconstructions.

Quantitative Achievements: In text-to-3D tasks, Diff3DS achieved a CLIP-Score of 0.3046, significantly outperforming baselines like DreamGaussian (0.2561) and MVDream (0.2763). In image-to-3D tasks, it surpassed 3Doodle in CLIP-Score while maintaining competitive LPIPS (perceptual similarity) scores.

Qualitative Excellence: The generated sketches maintain their structure across full 360-degree rotations. Unlike baseline methods that often produce "cloudy" or mesh-like artifacts, Diff3DS leverages the inherent sparsity of sketches (defaulting to just 56 parametric curves) to produce clean, distinct strokes that closely resemble hand-drawn art.

Additional examples of 3D sketches (dragon and ship) demonstrating structural accuracy across views.

In a user study involving 40 participants, Diff3DS received an average preference score of 4.18/5, overwhelmingly beating the nearest 3D competitor (3Doodle), which trailed at 2.12/5.

Limitations and Future Work

Despite its success, Diff3DS has a few limitations. Like many vector-based differentiable renderers, the framework can struggle with "sparse gradients." If a curve is initialized far from its optimal position, the mathematical signal to move it can be weak, sometimes causing curves to get stuck in local optima.

Additionally, the model currently does not distinguish between "feature lines" (permanent edges of an object) and "suggestive contours" (lines that should change based on the viewer's angle). Finally, the initial number of curves is a manual hyperparameter; future iterations could allow the model to automatically determine the optimal number of strokes required for a given object.

Summary updated

BibTeX
@inproceedings{zhang2025diff,
  author = {Yibo Zhang and Lihong Wang and Changqing Zou and Tieru Wu and Rui Ma},
  title = {{Diff3DS: Generating View-Consistent 3D Sketch via Differentiable Curve Rendering}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=aIMi2lOKIn},
}
Figure