SlideShare a Scribd company logo
1 of 21
Download to read offline
Joe Wise, Divyanshu Bhardwaj, Renu Hiremath
Non-Photorealistic
Rendering Techniques
● Most rendering techniques seek to emulate real world
● Material properties
● Smooth lighting behavior
● Normal mapping
Background
● However, not all uses of computer graphics call for realism
● Paintings
● Hand drawn
● Cartoons
Background
Non-Photorealistic
Rendering Techniques
Using graphics to create images that are not possible
● Our project focuses on Toon Shading
● Shading techniques to make 3D images appear cartoon-like
● Hard light breaks
● Outlines
Toon Shading
Dragon Ball Z Over the Garden Wall
Standard Phong Shading Toon ShadingOutlining
● We don’t directly apply result of N●L to light component,
which produces smooth gradient
● Instead, we use that value to sample an array of values with
three sections that jump in value
● i.e. {0.3, 0.3, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7}
● Additionally, if the R●Espec
is greater than some threshold, we
color the specular highlight. We found the ideal threshold to be
0.9
Toon Shading
● Outlining done as a post-processing effect
● First, we convert pixel buffer to a grayscale image
● Then, we apply a Sobel Operator to the image to find the edges
● Finally, we color those edges black
Outlining
Combined
● In addition to this basic toon shader and outliner, we also
implemented several other toon-style shaders that utilize
different texture mappings
Going Further
● It is not always desirable to have every object in a scene at the
same level of detail.
● Often in cartoons, background objects don’t have the same
level of lighting detail as foreground objects
Detail Mapping
Close FarMedium
● Texture below starts off
with a sharp gradation,
blurs as it moves down.
● We sample the texture
horizontally same as before
● We use the Z value of each
pixel to sample the texture
vertically.
● We can also use the
normals to traverse texture
vertically
● In this version, detail fades
out at the edges rather than
based on depth
● We utilized textures to create a toon back light effect
● Gives backlight effect without actual lights
Backlight Mapping
● Texture has darker region
for shadows and white strip
on bottom for backlight
● We use the normal of each
pixel to sample the texture
vertically
● Normals less in line with
the eye get the backlight
● We can map opacity values to our model as well
Opacity Mapping
Joe Wise, Divyanshu Bhardwaj, Renu Hiremath
Non-Photorealistic
Rendering Techniques

More Related Content

What's hot

Tutorial for album cover
Tutorial for album coverTutorial for album cover
Tutorial for album coverRAVE19u3
 
My Album Cover
My Album CoverMy Album Cover
My Album Coverracrev763
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abmshanneprincesspanamb
 
6. production reflection(3)
6. production reflection(3)6. production reflection(3)
6. production reflection(3)Daniel Thompson
 
Making of the poster
Making of the posterMaking of the poster
Making of the posterElizaakua
 
Making of the poster
Making of the posterMaking of the poster
Making of the posterElizaakua
 
Abstract Halloween Tutorial
Abstract Halloween TutorialAbstract Halloween Tutorial
Abstract Halloween Tutorialstephonsimeon
 
Changes to film poster after more feedback
Changes to film poster   after more feedbackChanges to film poster   after more feedback
Changes to film poster after more feedbacka2mn
 
Double page spread drafts
Double page spread draftsDouble page spread drafts
Double page spread draftszoetoase
 
Preliminary Task: Final Designs Screenshots
Preliminary Task: Final Designs ScreenshotsPreliminary Task: Final Designs Screenshots
Preliminary Task: Final Designs ScreenshotsPriyankaRadha
 
Video Game Production Experiments PP
Video Game Production Experiments PP Video Game Production Experiments PP
Video Game Production Experiments PP KaiTodd
 
1. production experiments
1. production experiments1. production experiments
1. production experimentsHarryBorwell
 
Computer Techniques In Photoshop 1
Computer Techniques In Photoshop 1Computer Techniques In Photoshop 1
Computer Techniques In Photoshop 1moncrief
 
Evidence of editing and constructing front cover images
Evidence of editing and constructing front cover imagesEvidence of editing and constructing front cover images
Evidence of editing and constructing front cover imagesEvieTheodore
 

What's hot (20)

Doc4
Doc4Doc4
Doc4
 
Tutorial for album cover
Tutorial for album coverTutorial for album cover
Tutorial for album cover
 
My Album Cover
My Album CoverMy Album Cover
My Album Cover
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abm
 
6. production reflection(3)
6. production reflection(3)6. production reflection(3)
6. production reflection(3)
 
Making of the poster
Making of the posterMaking of the poster
Making of the poster
 
Making of the poster
Making of the posterMaking of the poster
Making of the poster
 
Abstract Halloween Tutorial
Abstract Halloween TutorialAbstract Halloween Tutorial
Abstract Halloween Tutorial
 
Tools
ToolsTools
Tools
 
Changes to film poster after more feedback
Changes to film poster   after more feedbackChanges to film poster   after more feedback
Changes to film poster after more feedback
 
Laser eyes
Laser eyesLaser eyes
Laser eyes
 
Experiments
ExperimentsExperiments
Experiments
 
Green Screen
Green ScreenGreen Screen
Green Screen
 
Double page spread drafts
Double page spread draftsDouble page spread drafts
Double page spread drafts
 
Preliminary Task: Final Designs Screenshots
Preliminary Task: Final Designs ScreenshotsPreliminary Task: Final Designs Screenshots
Preliminary Task: Final Designs Screenshots
 
Video Game Production Experiments PP
Video Game Production Experiments PP Video Game Production Experiments PP
Video Game Production Experiments PP
 
1. production experiments
1. production experiments1. production experiments
1. production experiments
 
Photoshop Overlays
Photoshop OverlaysPhotoshop Overlays
Photoshop Overlays
 
Computer Techniques In Photoshop 1
Computer Techniques In Photoshop 1Computer Techniques In Photoshop 1
Computer Techniques In Photoshop 1
 
Evidence of editing and constructing front cover images
Evidence of editing and constructing front cover imagesEvidence of editing and constructing front cover images
Evidence of editing and constructing front cover images
 

Similar to Cel Shader

Scratch a pixel - Reflection
Scratch a pixel - ReflectionScratch a pixel - Reflection
Scratch a pixel - ReflectionYiwei Gong
 
Modeling 101: headshots and bodyshots
Modeling 101: headshots and bodyshotsModeling 101: headshots and bodyshots
Modeling 101: headshots and bodyshotsnatrules12
 
44024540 the-industrial-designer-s-guide-to-sketching
44024540 the-industrial-designer-s-guide-to-sketching44024540 the-industrial-designer-s-guide-to-sketching
44024540 the-industrial-designer-s-guide-to-sketchingAlfredo Gracida
 
FMP - Production Reflection
FMP - Production ReflectionFMP - Production Reflection
FMP - Production ReflectionDaisyPotter
 
Mtm by dalibor lekin
Mtm by dalibor lekinMtm by dalibor lekin
Mtm by dalibor lekinNomer Adona
 
4 Step Drawing Process
4 Step Drawing Process4 Step Drawing Process
4 Step Drawing Processmarsha devine
 
Digital image processing Tool presentation
Digital image processing Tool presentationDigital image processing Tool presentation
Digital image processing Tool presentationdikshabehl5392
 
Depth image recognition using isomorphic graph theory
Depth image recognition using isomorphic graph theoryDepth image recognition using isomorphic graph theory
Depth image recognition using isomorphic graph theoryChristian Kehl
 
halftoning-160808191912.pdf
halftoning-160808191912.pdfhalftoning-160808191912.pdf
halftoning-160808191912.pdfSayantanMajhi2
 

Similar to Cel Shader (14)

Scratch a pixel - Reflection
Scratch a pixel - ReflectionScratch a pixel - Reflection
Scratch a pixel - Reflection
 
Neon glow
Neon glowNeon glow
Neon glow
 
Photography workshop final
Photography workshop finalPhotography workshop final
Photography workshop final
 
Modeling 101: headshots and bodyshots
Modeling 101: headshots and bodyshotsModeling 101: headshots and bodyshots
Modeling 101: headshots and bodyshots
 
GRPHICS06 - Shading
GRPHICS06 - ShadingGRPHICS06 - Shading
GRPHICS06 - Shading
 
44024540 the-industrial-designer-s-guide-to-sketching
44024540 the-industrial-designer-s-guide-to-sketching44024540 the-industrial-designer-s-guide-to-sketching
44024540 the-industrial-designer-s-guide-to-sketching
 
FMP - Production Reflection
FMP - Production ReflectionFMP - Production Reflection
FMP - Production Reflection
 
Mtm by dalibor lekin
Mtm by dalibor lekinMtm by dalibor lekin
Mtm by dalibor lekin
 
4 Step Drawing Process
4 Step Drawing Process4 Step Drawing Process
4 Step Drawing Process
 
Deferred shading
Deferred shadingDeferred shading
Deferred shading
 
Digital image processing Tool presentation
Digital image processing Tool presentationDigital image processing Tool presentation
Digital image processing Tool presentation
 
Depth image recognition using isomorphic graph theory
Depth image recognition using isomorphic graph theoryDepth image recognition using isomorphic graph theory
Depth image recognition using isomorphic graph theory
 
halftoning-160808191912.pdf
halftoning-160808191912.pdfhalftoning-160808191912.pdf
halftoning-160808191912.pdf
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 

Recently uploaded

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Recently uploaded (20)

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 

Cel Shader

  • 1. Joe Wise, Divyanshu Bhardwaj, Renu Hiremath Non-Photorealistic Rendering Techniques
  • 2. ● Most rendering techniques seek to emulate real world ● Material properties ● Smooth lighting behavior ● Normal mapping Background
  • 3. ● However, not all uses of computer graphics call for realism ● Paintings ● Hand drawn ● Cartoons Background
  • 4. Non-Photorealistic Rendering Techniques Using graphics to create images that are not possible
  • 5. ● Our project focuses on Toon Shading ● Shading techniques to make 3D images appear cartoon-like ● Hard light breaks ● Outlines Toon Shading
  • 6. Dragon Ball Z Over the Garden Wall
  • 7. Standard Phong Shading Toon ShadingOutlining
  • 8. ● We don’t directly apply result of N●L to light component, which produces smooth gradient ● Instead, we use that value to sample an array of values with three sections that jump in value ● i.e. {0.3, 0.3, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7} ● Additionally, if the R●Espec is greater than some threshold, we color the specular highlight. We found the ideal threshold to be 0.9 Toon Shading
  • 9. ● Outlining done as a post-processing effect ● First, we convert pixel buffer to a grayscale image ● Then, we apply a Sobel Operator to the image to find the edges ● Finally, we color those edges black Outlining
  • 11. ● In addition to this basic toon shader and outliner, we also implemented several other toon-style shaders that utilize different texture mappings Going Further
  • 12. ● It is not always desirable to have every object in a scene at the same level of detail. ● Often in cartoons, background objects don’t have the same level of lighting detail as foreground objects Detail Mapping
  • 14. ● Texture below starts off with a sharp gradation, blurs as it moves down. ● We sample the texture horizontally same as before ● We use the Z value of each pixel to sample the texture vertically.
  • 15. ● We can also use the normals to traverse texture vertically ● In this version, detail fades out at the edges rather than based on depth
  • 16.
  • 17. ● We utilized textures to create a toon back light effect ● Gives backlight effect without actual lights Backlight Mapping
  • 18. ● Texture has darker region for shadows and white strip on bottom for backlight ● We use the normal of each pixel to sample the texture vertically ● Normals less in line with the eye get the backlight
  • 19. ● We can map opacity values to our model as well Opacity Mapping
  • 20.
  • 21. Joe Wise, Divyanshu Bhardwaj, Renu Hiremath Non-Photorealistic Rendering Techniques