Computer Graphics
Università dell’Insubria
Facoltà di Scienze MFN di Varese Corso di Laurea in Informatica
Lezione 14:
Lezione 14:
Lezione 14:
Lezione 14:
Rendering non fotorealistico
Marco Tarini
Corso di Laurea in Informatica Anno Accademico 2010/11
Rendering non fotorealistico
• N.P.R. = Non Photorealistic Rendering
• un rendering dove l'obiettivo non è il realismo ma:
– la chiarezza
• comunicare informazione 3D nel modo più comprensibile possibile (all’occhio)
• detto “illustrative rendering”
M a r c o T a r i n i ‧ C o m p u t e r G r a p h i c s ‧ 2 0 1 0 / 1 1 ‧ U n i v e r s i t à d e l l ’ I n s u b r i a
• detto “illustrative rendering”
– oppure l'imitazione di uno stile umano:
• stile toon (o cartoon, cartone animato)
• stile disegno a matita
• stile stampa
• stile chiaroscuro a matita
• ...
• detti “imitative renderings”
Rendering non fotorealistico
• Esempio: rendering in stile disegni a matita
M a r c o T a r i n i ‧ C o m p u t e r G r a p h i c s ‧ 2 0 1 0 / 1 1 ‧ U n i v e r s i t à d e l l ’ I n s u b r i a
Rendering non fotorealistico
• Esempio: hatching
modello 3D rendering (in tempo reale)
M a r c o T a r i n i ‧ C o m p u t e r G r a p h i c s ‧ 2 0 1 0 / 1 1 ‧ U n i v e r s i t à d e l l ’ I n s u b r i a Emil Praun, Hugues Hoppe,
Matthew Webb, Adam Finkelstein 2001
Rendering non fotorealistico
• Esempio: renderings toon style
Questi sono rederings off-line.
Ma esistono algoritmi per il nostro HW grafico per ottenere questo tipo di effetti
M a r c o T a r i n i ‧ C o m p u t e r G r a p h i c s ‧ 2 0 1 0 / 1 1 ‧ U n i v e r s i t à d e l l ’ I n s u b r i a
tipo di effetti in tempo tempo tempo reale tempo reale reale ! reale
bordi come linee scure shading quantizzato
(due gradazioni di verde, invece di una sfumatura continua)
Rendering non fotorealistico
rendering imitativo (NPR)
M a r c o T a r i n i ‧ C o m p u t e r G r a p h i c s ‧ 2 0 1 0 / 1 1 ‧ U n i v e r s i t à d e l l ’ I n s u b r i a