artistic rendering project beta release
DESCRIPTION
Artistic Rendering Project Beta Release. Jeremy Shopf 11/21/06. Recap. Combine shape from shading with shading acquistion Inspired by “Image-based Material Editing” Get depth map from luminance Apply arbitrary BRDFs to depth map Awesome results. First Attempt. Get shape - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/1.jpg)
Artistic Rendering ProjectBeta Release
Jeremy Shopf
11/21/06
![Page 2: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/2.jpg)
Recap
• Combine shape from shading with shading acquistion
• Inspired by “Image-based Material Editing”
• Get depth map from luminance
• Apply arbitrary BRDFs to depth map
• Awesome results
![Page 3: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/3.jpg)
First Attempt
• Get shape– Convert RGB to luminance– Use edge-preserving blur– Compress to simulate human visual system– Resulting values are used as depth– Calculate gradient
• Get shading from shape– Assume isotropic surface shading– Estimate light direction in painting– Calculate angle of each pixel normal with light– For each pixel of a given angle, average all colors
• Not good– Try and fit a function to it using least squares
• Data too random to get anything remotely accurate
![Page 4: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/4.jpg)
Source Image
![Page 5: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/5.jpg)
First Attempt est kaput
![Page 6: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/6.jpg)
Second Attempt
• Find pixel with the greatest luminance– This must be the color the
material exhibits when its normal is approximately the lighting direction
• Find pixel with the lowest luminance– Weight by distance from
pixel with greatest luminance
• Define shading function as all pixels between the brightest and darkest pixels
0.0 1.0N dot L
![Page 7: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/7.jpg)
Result..
0.0 1.0N dot L
![Page 8: Artistic Rendering Project Beta Release](https://reader035.vdocument.in/reader035/viewer/2022062720/56813422550346895d9b0f2c/html5/thumbnails/8.jpg)
Improvements
• What about when the artist chooses non-intuitive shading values
• Pick greatest luminance as start, and closest pixel outside of object as end
• Apply to painterly rendering!