|
|
annelize <ann### [at] tiscalidk> wrote:
> I just started learning Pov-Ray. I'm trying to add different shading to my
> objects. Is there anyway I can create a Gouraud Shading??
As it has been noted, Gouraud shading is something exclusive to polygons,
and mainly developed for scanline rendering. The idea is that for scanline
rendering it's cheaper to do Gouraud shading than Phong shading. However,
the results look a lot worse (specially at polygons which should have a
highlight). I don't see any reason for use this lighting model (even, if
you wanted to use it with meshes) because the result is not nice and Phong
works a lot better.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|