Top Banner
Intersection fields for interactive global illumination Pacific Graphics 2005 Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang University, P.R. China
22

Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Intersection fields for interactive global illumination

Pacific Graphics 2005Pacific Graphics 2005

Zhong Ren Wei Hua Lu Chen Hujun BaoZhong Ren Wei Hua Lu Chen Hujun Bao

State Key Laboratory of CAD&CGZhejiang University, P.R. China

Page 2: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Overview Interactive global illumination

Illumination engineering Animation preview

Visibility bottleneck Intersections, intersections…

Intersection(O(log(n))) to Query(O(1))

GPU?

Page 3: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Previous Work Radiosity

Illumination network[Bucklew89] Monte Carlo Method

Selective photon tracing GPU based photon

mapping[Purcell2003] Global ray-bundle

tracing[Kalos98, 99, 03]

Page 4: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Intersection field – the idea

Ray-scene intersection points are places where light-object interactions take place.

Page 5: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Intersection field – the idea

Page 6: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Parameterization

(a, b)

(c, d)

Base plane

Slice(a, b)

l(a, b, c, d)

Page 7: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Discretization

(ai, bj)

(ck, dm)Slice(ai, bj)

l(i, j, k, m)

Page 8: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Generating IF

Rasterize

Object Space Screen Space

Line Space

2-step scan conversion

Page 9: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Scan conversion

Page 10: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Data organization

(p, l, T)

(x|y|z, T)

Intersection Record

Line Record

(i, j, k, m)

Page Record

(i, j, k)

IndexTable

Page 11: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Data compression

Page 12: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Local/Global IF

… …

Page 13: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Computation model

)(),()( pGSpFpEk

k

),(),(),(

),(

),(),(),(

SpVSpHdSA

qpvisdSSph

dSqpvisSphSpF

s ss

S

)(),()()()( 1,, puuGuVuHpE M

kSMSM kk

Local IrradianceMap

Visibility RatioMap

Indirect IrradianceMap

Page 14: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Computation model

Intersection fieldScene data

Photon TracerVisibility SolverLI Shader

IF Generator

Synthesizer

LIM VRM IIM

Page 15: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Local Irradiance Map

M

Sk

LIM – H(M,SLIM – H(M,Skk)) •Pixel Shader•Divide Sk into patches •Render-to-texture•Updating issue

Page 16: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Visibility Ratio Map

M

Sk

VRM – V(M,SVRM – V(M,Skk))

•Query IF for visibility sample•Reconstruction•Render-to-texture •Updating issue

Page 17: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Indirect Irradiance Map

M

IIM – G(M)IIM – G(M)

•Query IF for intersection points•Accumulation•Render-to-texture

Page 18: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Results 93M Lines (76x127x76x127) 72.6MB/113.0MB Intersection Field ~35,000 Photons

Page 19: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Contribution Visibility Representation Rendering Framework

Page 20: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Limitation Storage cost High frequency effect

Page 21: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Discussion

Page 22: Intersection fields for interactive global illumination Pacific Graphics 2005 Zhong Ren Wei Hua Lu Chen Hujun Bao State Key Laboratory of CAD&CG Zhejiang.

Thanks!