|
![](/i/fill.gif) |
Gouraud Shading may be used with smooth-triangles,
look it up in the docs.
Essentially, you give a corner for a triangle plus
a surface normal for every corner, like this:
smooth_triangle{
Corner_1, Normal_1, Corner_2,Normal_2, Corner_3,Normal_3
}
POV-Ray will interpolate the normals on the surface.
Its supposedly best to have the normals be unit-length-vectors,
which can be easily achieved with vnormalize().
That's just a rough outline, the docs explain a little more in detail.
Regards,
Tim
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
"annelize" <ann### [at] tiscali dk> schrieb im Newsbeitrag
news:web.3d702a8b215c86447aca4b930@news.povray.org...
> Hi
> I just started learning Pov-Ray and I'm trying out different things. Is
> tehre any way I can create Gouraud Shading ??
>
> annelize :-)
>
Post a reply to this message
|
![](/i/fill.gif) |