sketch and paint- based interface for highlight m odeling

24
Sketch and Paint-based Interface For Highlight Modeling Romain Pacanowski INRIA Bordeaux University Xavier GranierChristophe SchlickPierre Poulin

Upload: fritz

Post on 24-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

Sketch and Paint- based Interface For Highlight M odeling. Romain Pacanowski. Xavier Granier. Christophe Schlick. Pierre Poulin. INRIA Bordeaux University. Motivation. Highlights. Important for the final appearance Local function of view and light direction: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Sketch and  Paint- based  Interface  For  Highlight M odeling

Sketch and Paint-based Interface For Highlight Modeling

Romain Pacanowski

INRIA Bordeaux University

Xavier Granier Christophe Schlick Pierre Poulin

Page 2: Sketch and  Paint- based  Interface  For  Highlight M odeling

HighlightsMotivation

Important for the final appearance

Local function of view and light direction:

Large range of effects

),( LVf

Page 3: Sketch and  Paint- based  Interface  For  Highlight M odeling

Highlight ClassificationMotivation

Realistic NPRPlausible

StylizedPhysic-based

None Complete

User Control Friendliness

OUR APPROACH

Page 4: Sketch and  Paint- based  Interface  For  Highlight M odeling

Local Complex 4D Function

View ( ) and Light ( ) dependentV

The Highlight FunctionContext

L

L

V

How to control a 4D Function ?

Page 5: Sketch and  Paint- based  Interface  For  Highlight M odeling

Realistic Context

Previous Work on Highlight Modeling

Pre-defined Models [Pho75,Bli77,War92,...]:Non-intuitive choice Non linear parameters’ behavior Limited edition freedom

Painting Highlight Directly [Poulin95,Colbert06]

○ Easy and intuitive interface ○ Edition freedom limited

Indirectly [EBJ*00,APS00,NNSK99]○ Distribution of normal = not intuitive

Colbert 06

Page 6: Sketch and  Paint- based  Interface  For  Highlight M odeling

Non-Photorealistic Context

Previous Work on Highlight Modeling

Lit Sphere [SMGG01]Limited to fixed lighting

Anjyo et al. [AWB06]:Design the light shape (≠ highlight)No color and glossiness edition

Todo et al. [TABI07]:Highlight per light key-directions Limited to stylized shading

Anjyo 06

Page 7: Sketch and  Paint- based  Interface  For  Highlight M odeling

A new system for highlight designMotivation

Intuitive and flexible (targeted for artists)Painting and Sketching tools

Interactive with real time user feedbackGPU friendly system

Large range of various appearancesShape, Color and Gradient controlSmooth variations with light directions

Page 8: Sketch and  Paint- based  Interface  For  Highlight M odeling

Sketching and PaintingOur Method

+ =

SketchingShape

PaintingColor

ResultSketching Plane

Shape

Color and Gradient

Page 9: Sketch and  Paint- based  Interface  For  Highlight M odeling

Interpolation between light key-directionsOur Method

Spherical MeshVertex = light key-direction

Between key-directionsShape interpolationColor interpolation

Page 10: Sketch and  Paint- based  Interface  For  Highlight M odeling

Parameterization of the Sketching PlaneHighlight Representation

RV

RTX

XRY

Page 11: Sketch and  Paint- based  Interface  For  Highlight M odeling

ShapeHighlight Representation

Spline based polar curve

Highlight boundaryDistance field

Shininess control

),( d

Page 12: Sketch and  Paint- based  Interface  For  Highlight M odeling

Color and GradientHighlight Representation

Texture Defines the highlight intensity whereBlack texel => highlight intensity = 0 Glossiness control

1),( d

Color Gradient Color Texture

Page 13: Sketch and  Paint- based  Interface  For  Highlight M odeling

More Complex ShapeHighlight Representation

Two multiplicative layers to define the color texture:

Highlight Color Highlight Intensity

×

Page 14: Sketch and  Paint- based  Interface  For  Highlight M odeling

GPU StructuresHighlight Representation

Polar Curve K control pointsControl point radius3D Texture

Color and GradientOne 2D texture per light

key-direction0k

k Kk

Spherical Triangle

Page 15: Sketch and  Paint- based  Interface  For  Highlight M odeling

Main ViewUser Interface

Highlight gradient and colorPainting and Gradient editingHighlight on the sketching planeEditing by paintingHighlight main ShapeCurve SketchingLight key-directionFeedback on the currently selected light direction

Page 16: Sketch and  Paint- based  Interface  For  Highlight M odeling

Highlight Modeling FeaturesResults

Page 17: Sketch and  Paint- based  Interface  For  Highlight M odeling

Light key-directions with same shapeResults

Page 18: Sketch and  Paint- based  Interface  For  Highlight M odeling

Bitmap DeformationResults

Page 19: Sketch and  Paint- based  Interface  For  Highlight M odeling

Light key-directions with different shapeResults

Normal Incidence Configuration

Grazing Incidence Configuration

Page 20: Sketch and  Paint- based  Interface  For  Highlight M odeling

SummaryConclusion

System for highlight design Painting and sketching metaphors Highlight

Shape : Polar CurveColor and Gradients : 2D Texture

Real Time solution Large variety of highlights More intuitive than previous approaches

Page 21: Sketch and  Paint- based  Interface  For  Highlight M odeling

Limitations and Future Work Color textures Interpolation

Morphing interpolation

Strong normal variations Strong highlight variations Spatially varying highlight Geometry dependent highlight

Painting in a plane Deformations on 3D object Easier to paint on 3D object directly

Page 22: Sketch and  Paint- based  Interface  For  Highlight M odeling

Limitations and Future Work Not physically correct

If needed : normalization

Extension to complex illumination

Spatial tools to clone and position highlight

Page 23: Sketch and  Paint- based  Interface  For  Highlight M odeling

Questions?

Page 24: Sketch and  Paint- based  Interface  For  Highlight M odeling

OverviewOur Method

Highlight = Function of light and view direction :

Main idea: For a chosen L:

○ Light key-direction○ User sketches and paints highlight○ Sketching Plane

For others : let the system interpolate the result

),( LVf