POV-Ray : Newsgroups : povray.general : goraud shading : Re: goraud shading Server Time
3 Aug 2024 14:14:28 EDT (-0400)
  Re: goraud shading  
From: Christoph Hormann
Date: 19 Jan 2004 15:08:59
Message: <i3qtd1-3p7.ln1@triton.imagico.de>
Chris Cera wrote:
> Is there a way to configure povray to do goraud shading?
> 
> smooth_triangle for mesh{} and setting normals for mesh2{} seem
> to do phong shading.  For this particular picture, I'd rather
> interpolate colors.  Is there an easy way to do this?

goraud shading is a technique specific to scanline renderers and since 
POV-Ray is a raytracer...

You might be able to get the result you are after with per vertex 
texturing:  http://www.povray.org/documentation/view/192/

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.