POV-Ray : Newsgroups : povray.newusers : triangle with normal and color at each corner Server Time
5 Nov 2024 11:19:23 EST (-0500)
  triangle with normal and color at each corner (Message 1 to 5 of 5)  
From: Ansgar Philippsen
Subject: triangle with normal and color at each corner
Date: 15 Jul 1999 04:49:10
Message: <378DA0E3.7197E0CC@ubaclu.unibas.ch>
Hi

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 ?

TNX in advance
                                  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

From: Ken
Subject: Re: triangle with normal and color at each corner
Date: 15 Jul 1999 04:56:00
Message: <378DA03A.21EF5EE7@pacbell.net>
Ansgar Philippsen wrote:
> 
> Hi
> 
> 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 ?
> 
> TNX in advance
>                                   Ansgar

  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/

-- 
Ken Tyler
  
mailto://tylereng@pacbell.net
http://home.pacbell.net/tylereng/links.htm


Post a reply to this message

From: Ansgar Philippsen
Subject: Re: triangle with normal and color at each corner
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

From: Eitan Tal
Subject: Re: triangle with normal and color at each corner
Date: 15 Jul 1999 13:55:52
Message: <378e20a8@news.povray.org>
Ansgar Philippsen wrote in message <378DA0E3.7197E0CC@ubaclu.unibas.ch>...
>Hi
>
>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 ?
>
>TNX in advance
>                                  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.
>
>
>

make a .gif file of your triangle and bound it with the
size and shape you like


Post a reply to this message

From: Nieminen Mika
Subject: Re: triangle with normal and color at each corner
Date: 19 Jul 1999 03:22:49
Message: <3792d249@news.povray.org>
Eitan Tal <eit### [at] netvisionnetil> wrote:
: make a .gif file

  Why? It's much more easy to use a texture.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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