Fine Tone Control in Hardware Hatching
description
Transcript of Fine Tone Control in Hardware Hatching
![Page 1: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/1.jpg)
Fine Tone Controlin Hardware Hatching
Matthew WebbEmil PraunHugues HoppeAdam Finkelstein
Princeton UniversityPrinceton UniversityMicrosoft ResearchPrinceton University
![Page 2: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/2.jpg)
Goal• Describe two new real-
time hatching schemes that provide enhanced control of tone
– Volume Scheme• Color
– Threshold Scheme• Per-pixel lighting
operations
Demo
![Page 3: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/3.jpg)
ApproachSet of textures
Mesh
Preprocess
Result
Real-Time
Stroke Session
![Page 4: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/4.jpg)
Previous Work• Real-Time NPR
[Kowalski et al. ’99, …]
[Markosian et al. ’97] [Hertzmann et al.
2000]
[Winkenbach et al. ’94, ’96]
[Gooch et al.’99]
[Hertzmann et al. 2000] [Sousa et al. ’99]
• Offline Hatching
![Page 5: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/5.jpg)
Previous Work
• Real-Time Hatching– Screen-space “filter”
[Lake et al. 2000]
– Fixed density strokes [Elber ’99]
![Page 6: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/6.jpg)
Previous Work – Stroke Collections• Prioritized Stroke Textures
[Salisbury et al. ’94][Winkenbach et al. ’94]
• Art Maps[Klein et al. 2000]
tone
scal
e
![Page 7: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/7.jpg)
Previous Work – Tonal Art Maps• Real Time Hatching [Praun 2001]
– Blend specially designed texture maps– High degree of coherence limits artifacts
tone
sc
ale
![Page 8: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/8.jpg)
Previous Work – TAM Limitations
• Coarse collections of Strokes– Leads to blending in
‘waves’ of strokes
• Limited artist control– No color– Small number of
example strokes
![Page 9: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/9.jpg)
Method
• Extend the concept of the TAM
– Volume TAM• Fine Tone Control• Color
– Threshold scheme:• Fine Tone Control• Per Pixel Lighting
![Page 10: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/10.jpg)
ApproachSet of textures
Mesh
Preprocess
Result
Real-Time
Stroke Session
![Page 11: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/11.jpg)
Volume TAM
• Fine Tone Control
• Color
• Greater Artistic Control
![Page 12: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/12.jpg)
Volume TAM creation
• Volume TAM consists of 120 images
• Artist works on most detailed level
• Computer generates TAM images from subsets of artist’s strokes
![Page 13: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/13.jpg)
Volume TAM creation
Stroke Session
64 images [256 x 256 px]
32 images [128 x 128 px ]
16 images [64 x 64 px]
8 images [32 x 32 px]
![Page 14: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/14.jpg)
Volume TAM Observations• Few pixels change between adjacent images in the pyramid• Since approximating a single tone, a pixel tends not to
change between successive images in the pyramid
17 18 19 20
diff 17, 18 diff 19, 20diff 18, 19
![Page 15: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/15.jpg)
Pixel Transition
Threshold TAM Creation
![Page 16: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/16.jpg)
Pixel Transition
Threshold TAM Creation
![Page 17: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/17.jpg)
Threshold TAM Creation
Divide range into7 bins
![Page 18: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/18.jpg)
Threshold TAM Creation
Why 7 bins?
-16 channels (rgba x 4)- 2 channels used for other processing
- for each bin need to encode xi andΔyi
- use 7 x 2 = 14 remaining channels
![Page 19: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/19.jpg)
Threshold TAM Creation
Why 7 bins?
-16 channels (rgba x 4)- 2 channels used for other processing
- for each bin need to encode xi andΔyi
- use 7 x 2 = 14 remaining channels
![Page 20: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/20.jpg)
Threshold Scheme• Encode transition ‘bin’ as an image
x1 x2 x3 x4 x5 x6 x7
Δy1 Δy2 Δy3 Δy4 Δy5 Δy6 Δy7
![Page 21: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/21.jpg)
Threshold Scheme
• Pixel value =
i
ii xIyotherwise0
)1( if1
Each pixel of each frame is calculated
x4 Δy4
![Page 22: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/22.jpg)
Finer Control
Praun 2001 Volume TAM 7 Thresholds
![Page 23: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/23.jpg)
Per Pixel Effects
![Page 24: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/24.jpg)
Per Pixel Effects
![Page 25: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/25.jpg)
Results demo
![Page 26: Fine Tone Control in Hardware Hatching](https://reader036.fdocuments.us/reader036/viewer/2022062323/56816830550346895dddd70c/html5/thumbnails/26.jpg)
Future Work• Silhouettes• Texture
Compression• Bounded Hue,
Intensity Error• Scenes
– Shadowing– Haloing