65
재질감 표현을 위한 렌더링 기술 동향 Modeling and Rendering of Layered Materials ETRI 한국CAD/CAM학회 이론 응용 연구회 2010326()

Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Embed Size (px)

DESCRIPTION

발표처: 한국CAD/CAM학회 이론연구회 장소: 광주과학기술원 일시: 2010년 3월 26일 (금)

Citation preview

Page 1: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

재질감 표현을 위한 렌더링 기술 동향

Modeling and Rendering of Layered Materials

이 주 행ETRI

한국CAD/CAM학회 이론 및 응용 연구회2010년 3월 26일 (금)

Page 2: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Agenda

•Motivation / Background / Previous Works

•Analysis of Previous Method: W2L Model

• Proposed Method / Results

• Summary / Q & A

Page 3: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Motivation

•Layered materials are ubiquitous

- Simple, versatile and effective

- Suitable for digital prototyping application

•A trial to generalize the previous work: observation & experiment

Page 4: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Background

•Digital modeling of material appearance

• Rendering in digital image synthesis

Page 5: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Previous Works

•Kubelka and Munk 1931, Hanrahan and Krueger 1993

•Neumann and Neumann 1989

•Kelemen and Szimay-Kalos 2001

• Schlick 1993, Lafortune et al 1997

•Weidlich and Wilkie 2007, 2009

Page 6: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Evaluation Criteria

•Closed mathematical form vs. simulation

•Handling of physical behaviors: (ex) scattering, absorption, internal reflection, micro-facets, Fresnel

• Integration with rendering algorithms: (ex) unbiased MC rendering requires sampling PDFs and a way of quality control

Page 7: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Overview of W2L

Page 8: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

W2L Model

• [Weidlich and Wilkie 2007] = W2L Model

• "Arbitrarily layered micro-facet surfaces", GRAPHITE 2007 + SIGGRAPH ASIA 2009 Course

Page 9: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

ExamplesThe final classification can be seen in figure 4.4, although it should be noted that this is probably not

an exhaustive list of what can be achieved by this technique. Note that there are 8 instead of 6 types.

One represents the further split into tinted and non-tinted varnish that can be performed for all types,

and one stands for the group of materials that consists of more than two layers, i.e. multi-layered

materials.

a)Glossy Paint

c)Frosted Paint

d)Metal Foil

e)Metallic Paint

f)Frosted Metal

g)Patina

b)Tinted Glazing

h)Multi-Layer

Torrance-Sparrow

Diffuse

Smooth

Metal

Coloured Solid

Interfaces: Materials:

Colourless Solid

Tinted Varnish

Clear Varnish

Figure 4.4: Examples of various surface types that can be generated by using our layered model in different configurations.

In order to properly distinguish the various cases the icons do not exhibit the simplifying assumption shown in figure 3.1

which we use for all our actual BRDF computations. The micro-facets are much smaller than the layer thickness in this

drawing.

28

[ Weidlich and Wilkie 2007 ]

Page 10: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Comments on W2L Model

•With a few control parameters,

• it can represent a various types of materials

•with a closed form BRDF model, and

• rendering results are physically plausible.

Page 11: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Physical Plausibility

•Application of physically correct micro-facet model: Torrance-Sparrow

•Application of Beer-Lambert Law to compute absorption assuming that coating is a non-scattering medium, which seems not correct.

•Consideration of total internal reflection (TIR). Actually, ineffective.

Page 12: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Closed Form Model

•Geometric simplification of scattering and reflection

•No additional ray-object intersection test guarantees performance = only a single ray path is considered at each intersection

•We argue it as a over-simplification that limits handling more general cases

Page 13: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Well...

• Basically, W2L is a nice approach to handle layered materials in CG

Page 14: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

But,

•We need to verify its building blocks as well as basic assumptions.

Page 15: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Experiments with W2L

Page 16: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Micro-faceted Coating

Page 17: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

roughness 1 0.1 0.01 0.001 0.0001

3.5

1.5

ior

Direct reflection from coating layer

Page 18: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Absorption inside a Coating

Page 19: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Beer-Lambert Law

•Foundation of spectroscopy

Page 20: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

•Beer-Lambert law is commonly used in spectroscopy to derive the absorption coefficient of non-scattering media based on linear attenuation.

• Linearity breaks by the scattering of light due to particulates of the sample or in a dense media

•A modified Beer-Lamber law for a scattering media such as a biological tissue is available [Delpy et al 1988, Sassroli and Fantini 2004]

• But, too costly to evaluate the modified Beer-Lamber law

Page 21: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Total Internal Reflection

Page 22: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)
Page 23: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

•TIR = (1-G) + T*G = (1-G) + (1-F)*G = 1 - F*G

• The range of G is [0.94,1] when IOR < 1.41.

•Otherwise, G=1.

•Hence, the effect of G in TIR is not noticeable.

Page 24: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

G

Page 25: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Genelization of W2L

Page 26: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Basic Idea of W2L

Page 27: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

View direction wo is given.

V

Page 28: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wor from Snell's law

V

Page 29: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wir from pdf sampling from coating

V

Page 30: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wi from Snell's law

V

Page 31: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get incoming radiance L from wi

LV

Page 32: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

LV

Get BRDF of coating layer, absorption, and attenuation

Page 33: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

LV

In W2L, everything happens between a pair of "big" micro-facets!

Page 34: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Generalization

Page 35: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

View direction wo is given.

V

Page 36: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wor from Snell's law

V

Page 37: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wir from pdf sampling from coating

V

Page 38: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Note (1): Micro-facets are much smaller than the coating depth.

V

Page 39: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Note (1): Micro-facets are much smaller than the coating depth.

V

Page 40: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get wi from Snell's law

V

Page 41: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Get incoming radiance L from wi

LV

Page 42: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

LV

Get BRDF of coating layer, absorption, and attenuation

Page 43: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Note (2): A ray path can be further subdivided to approximate scattering

V

Page 44: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

V

Note (2): A ray path can be further subdivided to approximate scattering

Page 45: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

V

Note (2): A ray path can be further subdivided to approximate scattering

Page 46: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

V

Note (2): A ray path can be further subdivided to approximate scattering

Page 47: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

LV

For implicit ray bundles, get BRDF, absorption, and attenuation in a MC way

Page 48: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Generalization of W2L = GW2L

•More general configuration of micro-facets to decouple normals

• Implicit ray bundles to approximat scattering in multiple paths

Page 49: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Experiments with GW2L

The most promising trial so far.

Page 50: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Rendering Setups

•PBRT-v2 for rendering

•Metropolis / IGI

• Extension through custom plug-ins in C++

•Coating layer has no diffuse/ambient terms to be more physically acurate

Page 51: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

cfg_1 = W2L

cfg_3 = GW2L

Page 52: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)
Page 53: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

cfg_1 cfg_3

base +

coating

coating

base

Page 54: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

cfg_1

b+c

cfg_1

b

cfg_3

b+c

cfg_3

b

ior=1.5ior=1.5 ior=3.5ior=3.5

d=1 d=3 d=1 d=3

ior=1.5ior=1.5 ior=3.5ior=3.5

d=1 d=3 d=1 d=3

Page 55: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Effect of Implicit Ray Bundles

Page 56: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

b+c

b

nb 1 10 100

time 1:46 2:40 11:50

Page 57: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)
Page 58: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Does it have an analytic form?

Page 59: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Can it be baked?

Page 60: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Results

Page 61: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

glossy paint frosted paint tinted glazing metal foil metallic paint frosted metal patina multi-layer

coatingcolor

coating rough

base material

base color

baserough

tinted tintedtintedtintedtinted

rough roughrough

solidsolidsolid metalmetalmetalmetal

tintedtinted white

diffusediffusediffuse rough rough

Page 62: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

glossy paint frosted paint tinted grazing metallic foil metallic paint frosted metal patina

Page 63: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Summary

•Analysis of W2L model

•Generalization of W2L model as GW2L

• Presentation of experimental results

Page 64: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Future Works

•Verification of GW2L algorithm

•Derivation of analytic form for GW2L

•Baking or GPU-based acceleration for re-shading/re-lighting

•Comparison with “real” coated materials

Page 65: Modeling and rendering of layered materials (다층 재질의 모델링 및 렌더링)

Q & A

[email protected]