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
|