19
Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces Min Tang, Jin-Xiang Dong College of Computer Science, Zhejiang University {tang_m, djx}@zju.edu.cn

Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

  • Upload
    wells

  • View
    28

  • Download
    0

Embed Size (px)

DESCRIPTION

Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces. Min Tang, Jin-Xiang Dong College of Computer Science, Zhejiang University {tang_m, djx}@zju.edu.cn. Contents. Related Works Main Contributions Algorithm Pipeline Evaluation Silhouette Detection - PowerPoint PPT Presentation

Citation preview

Page 1: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Geometry Image-based Shadow Volume Algorithm for Subdivision

Surfaces

Min Tang, Jin-Xiang DongCollege of Computer Science, Zhejiang University

{tang_m, djx}@zju.edu.cn

Page 2: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces
Page 3: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Contents

Related WorksRelated Works Main ContributionsMain Contributions Algorithm PipelineAlgorithm Pipeline EvaluationEvaluation Silhouette DetectionSilhouette Detection Implementation and Results Implementation and Results DemoDemo Conclusion & Future WorksConclusion & Future Works

Page 4: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Related Works

•Subdivision Surface Evaluation on GPU •GPU based shadow volume algorithm•Geometry Image

The work here is a extension of our previous work at CGI06:Real-time Shadow Volume Algorithm for Real-time Shadow Volume Algorithm for Subdivision Surface Based ModelsSubdivision Surface Based Models by Min Tang, et al.

Page 5: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Main Contributions

Improved efficiency:By using two geometry images to pack all the patches’ information, the efficiencies of silhouette detection and shadow volume generation are greatly improved (2 render-to-texture ops per model under dynamic lighting).

Improved accuracy:An enhanced silhouette detection method is designed to improve accuracy and ensure robustness

Page 6: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Algorithm Pipeline

Shadow Volume Extrusion on GPUScale by factor of 2x1

Control Meshes

Shadow Volume Image

Silhouette Image

Silhouettes Dectection on GPUScale by factor of 2x1

Two Global Geometry Images

Limit Positions

Normal Vectors

Evaluate on GPU

Subdivision Surfaces

Silhouettes

Shadow VolumeShadowed Scene

Page 7: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Evaluation

(a) Control meshes(b) Rendering using the two geometry images

(c) The geometry image storing normal vectors

(d) The geometry image storing limit positions

(a) Control meshes(b) Rendering using the two geometry images

Page 8: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Detection

Directed visibility interpolation for silhouette extraction (+ for visible, - for invisible)

Page 9: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Detection

+

+ + +

+++ +

+

-

-- - - - - -

-

-

-

--

-

--

---

+

+ + +

+++ +

+

-

-- - - - - -

-

-

-

--

-

--

---

(a) Silhouette detection using normal vector of adjacent facets in [17]

(b) Silhouette detection using the directed visibility interpolation method

Page 10: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Detection

Cracks caused by numeric instability [17]

Smooth linked silhouettes

Page 11: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Detection

Cracks caused by numeric instability [17]

Smooth linked silhouettes

Page 12: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Detection

Shadow leaks caused by the cracks [17]

Our result with the same light source

Page 13: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Silhouette Rendring

(a) a silhouette image (b) silhouettes

Page 14: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Shadow Volume Generation

Page 15: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Comparison with [17]

Render-to-TextureRender-to-Texture FPSFPS

Our methodOur method 11 ~75~75

[17][17] Num_of_Patches*3Num_of_Patches*3 ~15~15

Page 16: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Implementation and Results

(a) Shadows and silhouettes of the mode in Figure 1 (288 patches), ~75fps

(b) shadows and silhouettes of a face-shaped model (288 patches), ~75fps

(c) shadow and silhouettes of a complex model (480 patches), ~37fps

Page 17: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Demo&Source Code

http://www.cs.wichita.edu/~tang/SubShadow/subShadow.htm.

Page 18: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

Conclusion & future works Extension to geometry imagesSpeed is limited by the RTVA efficiency

Page 19: Geometry Image-based Shadow Volume Algorithm for Subdivision Surfaces

ThanksThanks !!

Q&AQ&A