POV-Ray : Newsgroups : povray.newusers : triangle with normal and color at each corner : Re: triangle with normal and color at each corner Server Time
5 Sep 2024 22:19:19 EDT (-0400)
  Re: triangle with normal and color at each corner  
From: Ansgar Philippsen
Date: 15 Jul 1999 10:56:11
Message: <378DF6E8.60A12796@ubaclu.unibas.ch>
Ken wrote:

> > I am looking for a way to generate a triangle that has a normal and
> > color at each corner. Currently, the smooth_triangle will apparently
> > only handle a normal at each corner. Have I overlooked something trivial
> > ? Can this be done at all in POVRAY ?
>
>   Chris Colefax has an include file that will color each corner of a
> triangle. I am not sure how it handles normal calculations if at all
> but if you need more info on his file don't hesitate to email him
> directly. He is very helpful in this regard.
>
> http://www.geocities.com/SiliconValley/Lakes/1434/

Works just great ! Normals can be handled just as well
(colour_smooth_triangle)

TNX a lot Ansgar

--
 Sometimes I think the surest sign that intelligent
 life exists elsewhere in the universe is that none
 of it has tried to contact us.


Post a reply to this message

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