honours graphics 2008 session 12. today’s focus non-photorealistic rendering …other topics...
TRANSCRIPT
![Page 1: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/1.jpg)
Honours Graphics 2008
Session 12
![Page 2: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/2.jpg)
Today’s focus
• Non-photorealistic rendering
• …other topics requested in class…
![Page 3: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/3.jpg)
Non-photorealistic rendering
• Sometimes graphics applications require the use of non-photorealistic rendering to achieve some effect (artistic expression, alternate spectrum rendering, etc)
• For example: cel-shading, pencil etching, calligraphy (japanese big brush style), etc
![Page 4: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/4.jpg)
Non-photorealistic rendering
False color imaging
![Page 5: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/5.jpg)
Non-photorealistic rendering
Pencil sketching Quake
![Page 6: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/6.jpg)
Non-photorealistic rendering
Artistic impression
![Page 7: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/7.jpg)
Non-photorealistic rendering
Calligraphy (Japanese Big Brush)
![Page 8: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/8.jpg)
Non-photorealistic rendering
Cel-shading
![Page 9: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/9.jpg)
Cel-shading
• Also “cell-shading” and “cartoon shading”
• 3D impression of models in traditional cartoon-style lighting, along with pronounced contouring
![Page 10: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/10.jpg)
Cel-shading, how-to
• Quite easy to do even on older graphics hardware
• Two parts: lighting and contouring
![Page 11: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/11.jpg)
Cel-shading, how-to, cont.
• Lighting follows the classic diffuse model, but the resultant color value is instead indexed into a one-dimensional array; instead of
a blocky lighting array is used
![Page 12: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/12.jpg)
Cel-shading, how-to, cont.
• Contouring is done through inverse backface removal
• First render model normally using cel-lighting
• Set to render black wire-frame• Set lines to render thick• Set to cull front faces• Render model (z-buffer handles
elimination of invisible contours)
![Page 13: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/13.jpg)
Cel-shading, result
![Page 14: Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…](https://reader036.vdocument.in/reader036/viewer/2022062423/5697bfee1a28abf838cb9a46/html5/thumbnails/14.jpg)
Topic defined by students
• …