+ All Categories
Home > Documents > Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1,...

Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1,...

Date post: 27-Mar-2015
Category:
Upload: antonio-emery
View: 217 times
Download: 6 times
Share this document with a friend
Popular Tags:
42
Modeling Anisotropic Surface Modeling Anisotropic Surface Reflectance Reflectance with Example-Based Microfacet with Example-Based Microfacet Synthesis Synthesis Jiaping Wang Jiaping Wang 1 , Shuang Zhao , Shuang Zhao 2 , Xin Tong , Xin Tong 1 John Snyder John Snyder 3 , Baining Guo , Baining Guo 1 Microsoft Research Asia Microsoft Research Asia 1 Shanghai Jiao Tong University Shanghai Jiao Tong University 2 Microsoft Research Microsoft Research 3
Transcript
Page 1: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Modeling Anisotropic Surface Reflectance Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesiswith Example-Based Microfacet SynthesisModeling Anisotropic Surface Reflectance Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesiswith Example-Based Microfacet Synthesis

Jiaping WangJiaping Wang11, Shuang Zhao, Shuang Zhao22, Xin Tong, Xin Tong11

John SnyderJohn Snyder33, Baining Guo, Baining Guo11

Microsoft Research AsiaMicrosoft Research Asia11

Shanghai Jiao Tong UniversityShanghai Jiao Tong University22

Microsoft ResearchMicrosoft Research33

Page 2: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Surface ReflectanceSurface ReflectanceSurface ReflectanceSurface Reflectance

satin metal wood

Page 3: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Anisotropic Surface ReflectanceAnisotropic Surface ReflectanceAnisotropic Surface ReflectanceAnisotropic Surface Reflectance

anisotropicisotropic

Page 4: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Our GoalOur GoalOur GoalOur Goal

modeling spatially-varying anisotropic reflectance

Page 5: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Surface Reflectance in CGSurface Reflectance in CGSurface Reflectance in CGSurface Reflectance in CG

• 4D BRDF ρ(o,i)

– Bidirectional Reflectance Distribution Function

– how much light reflected wrt in/out directions

oi

Page 6: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Surface Reflectance in CGSurface Reflectance in CGSurface Reflectance in CGSurface Reflectance in CG

• 4D BRDF ρ(o,i)

– Bidirectional Reflectance Distribution Function

– how much light reflected wrt in/out directions

• 6D Spatially-Varying BRDF: SVBRDF ρ(x,o,i)

– BRDF at each surface point x

Page 7: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Related Work IRelated Work IRelated Work IRelated Work I

• parametric BRDF models

– compact representation

– easy acquisition and fitting

– lack realistic detailsgroundtruth

parametric model [Ward 92]

Page 8: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Related Work IIRelated Work IIRelated Work IIRelated Work II

• tabulated SVBRDF

– realistic

– large data set

– difficult to capture

• lengthy process

• expensive hardware

• image registration

light dome [Gu et al 06]

Page 9: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Related Work IIRelated Work IIRelated Work IIRelated Work II

• tabulated SVBRDF

– realistic

– large data set

– difficult to capture

• lengthy process

• expensive hardware

• image registration

light dome [Gu et al 06]

Page 10: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Microfacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF Model

[Cook & Torrance 82]

• surface modeled by tiny mirror facets

Page 11: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Microfacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF Model

• surface modeled by tiny mirror facets

shadow termshadow term fresnel termfresnel termnormal distributionnormal distribution

[Cook & Torrance 82]

Page 12: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Microfacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF ModelMicrofacet BRDF Model

• based on Normal Distribution Function (NDF)

– NDF D is 2D function of the half-way vector h

– dominates surface appearance

Page 13: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Challenge: Partial DomainsChallenge: Partial DomainsChallenge: Partial DomainsChallenge: Partial Domains

• samples from a single viewing direction i

– cover only a sub-region h Ω of NDF

– How to obtain the full NDF?

partial regionpartial region

??

partial NDF complete NDFpartial NDF complete NDF

Page 14: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Solution: Exploit Spatial RedundancySolution: Exploit Spatial RedundancySolution: Exploit Spatial RedundancySolution: Exploit Spatial Redundancy

• find surface points with similar but differently similar but differently rotatedrotated NDFsNDFs

material sample material sample      partial NDF at each surface pointpartial NDF at each surface point

Page 15: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Example-Based Microfacet SynthesisExample-Based Microfacet SynthesisExample-Based Microfacet SynthesisExample-Based Microfacet Synthesis

AlignAlign

++ ++ ==

partial NDFpartial NDFto completeto complete

completed NDFcompleted NDFrotated partial NDFsrotated partial NDFs

partial NDFs from partial NDFs from other surface pointsother surface points

Page 16: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

ComparisonComparisonComparisonComparison

isotropic Ward modelisotropic Ward model anisotropic Ward modelanisotropic Ward model

ground truthground truth our modelour model

Page 17: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Overall PipelineOverall PipelineOverall PipelineOverall Pipeline

• BRDF Slice Capture

• Partial NDF Recovery

• Microfacet Synthesis

Page 18: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Overall PipelineOverall PipelineOverall PipelineOverall Pipeline

• BRDF Slice Capture

• Partial NDF Recovery

• Microfacet Synthesis

Page 19: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Device SetupDevice SetupDevice SetupDevice Setup

Camera-LED system, based on [Gardner et al 03]

Camera

Page 20: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Capturing ProcessCapturing ProcessCapturing ProcessCapturing Process

Page 21: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Overall PipelineOverall PipelineOverall PipelineOverall Pipeline

• BRDF Slice Capture

• Partial NDF Recovery

• Microfacet Synthesis

Page 22: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

NDF RecoveryNDF RecoveryNDF RecoveryNDF Recovery

• invert the microfacet BRDF model

[Ashikhmin et al 00]

,

Unknown Unknown NDF Shadow Term

MeasuredBRDF

Page 23: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

NDF Recovery (con’t)NDF Recovery (con’t)NDF Recovery (con’t)NDF Recovery (con’t)

• iterative approach [Ngan et al 05Ngan et al 05]

– solve for NDF, then shadow term

– works for complete 4D BRDF data

[Ashikhmin et al 00]

,1.

2.

[Ngan et al 05Ngan et al 05]

Page 24: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Partial NDF RecoveryPartial NDF RecoveryPartial NDF RecoveryPartial NDF Recovery

• biased result on incomplete BRDF data

ground truthground truth

NDFNDF shadow termshadow term

[Ngan et al. 05][Ngan et al. 05]

NDFNDF shadow termshadow term

Page 25: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Partial NDF Recovery (con’t)Partial NDF Recovery (con’t)Partial NDF Recovery (con’t)Partial NDF Recovery (con’t)

• minimize the bias

– isotropically constrain shadow term in each iteration

before constraintbefore constraint after constraintafter constraint

Page 26: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Recovered Partial NDFRecovered Partial NDFRecovered Partial NDFRecovered Partial NDF

ground truthground truth

[Ngan et al. 05][Ngan et al. 05]

our resultour result

Page 27: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Overall PipelineOverall PipelineOverall PipelineOverall Pipeline

• Capture BRDF slice

• Partial NDF Recovery

• Microfacet Synthesis

Page 28: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Microfacet SynthesisMicrofacet SynthesisMicrofacet SynthesisMicrofacet Synthesis

partial NDFpartial NDFto completeto complete

Merged partial NDFsMerged partial NDFs completed NDFcompleted NDF

Page 29: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Microfacet Synthesis (con’t)Microfacet Synthesis (con’t)Microfacet Synthesis (con’t)Microfacet Synthesis (con’t)

• straightforward implementation:

For N NDFs at each surface point

Match against (N-1) NDFs at other points

In M rotation angles for alignment

• number of rotations/comparisons:

N 2*M ≈ 5×1011 (N ≈ 640k, M ≈ 1k )

Page 30: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

• a straightforward implementation:

For N NDFs in each surface point

Match with (N -1) NDFs in other location

In M rotation angles for alignment

• times of spherical function rotation and comparison

N 2* M ≈ 5×1011 ( N ≈ 640k )

Synthesis AccelerationSynthesis AccelerationSynthesis AccelerationSynthesis Acceleration

• Clustering [Matusik et al 03]

–complete representative NDFs only (1% of full set)

N'2* M ≈ 5×107 ( N' ≈ 6.4k )

Page 31: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

• a straightforward implementation:

For N NDFs in each surface point

Match with (N -1) NDFs in other location

In M rotation angles for alignment

• times of spherical function rotation and comparison

N 2* M ≈ 5×1011 ( N ≈ 640k )

Synthesis AccelerationSynthesis AccelerationSynthesis AccelerationSynthesis Acceleration

• Clustering [Matusik et al 03]

–complete representative NDFs only (1% of full set)

• Search Pruning

–precompute all rotated candidates

–prune via hierarchical searching

N'2* M ≈ 5×107 ( N' ≈ 6.4k )N'* log(N'* M) ≈ 5×105

Page 32: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Performance Summary Performance Summary Performance Summary Performance Summary

• 5-10 hours for BRDF slice acquisition in HDR

– 1 Hour for acquisition in LDR

• 2-4 hours for image processing

• 2-3 hours for partial NDF recovery

• 2-4 hours for accelerated microfacet synthesis

On a PC with Intel CoreTM2 Quad 2.13GHz CPU and 4GB memory

Page 33: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Model Validation Model Validation Model Validation Model Validation

• full SVBRDF dataset [Lawrence et al. 06]

– data from one view for modeling

– data from other views for validation

Page 34: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Validation ResultValidation ResultValidation ResultValidation Result

Page 35: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

LimitationsLimitationsLimitationsLimitations

• visual modeling, not physical accuracy

• single-bounce microfacet model

– retro-reflection not handled

• spatial redundancy of rotated NDFs

– easy fix by rotating the sample

Page 36: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Rendering Result: SatinRendering Result: SatinRendering Result: SatinRendering Result: Satin

Page 37: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Rendering Result: WoodRendering Result: WoodRendering Result: WoodRendering Result: Wood

Page 38: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Rendering Result: Brushed MetalRendering Result: Brushed MetalRendering Result: Brushed MetalRendering Result: Brushed Metal

Page 39: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

ConclusionsConclusionsConclusionsConclusions

• model surface reflectance via microfacet synthesis

– general and compact representation

– high resolution (spatial & angular), realistic result

– easier acquisition:

single-view capture

cheap device

shorter capturing time

Page 40: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Future WorkFuture WorkFuture WorkFuture Work

• performance optimization

– capturing and data processing

• extension to non-flat objects

• extension to multiple light bounce

Page 41: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

AcknowledgementsAcknowledgementsAcknowledgementsAcknowledgements

• Le Ma for electronics of the LED array

• Qiang Dai for capturing device setup

• Steve Lin, Dong Xu for valuable discussions

• Paul Debevec for HDR imagery

• Anonymous reviewers for their helpful suggestions and comments

Page 42: Modeling Anisotropic Surface Reflectance with Example-Based Microfacet Synthesis Jiaping Wang 1, Shuang Zhao 2, Xin Tong 1 John Snyder 3, Baining Guo 1.

Thank you!Thank you!Thank you!Thank you!


Recommended