|
![](/i/fill.gif) |
A degenerate triangle is usually one where at least two of the points
are the same (so you get a line or a point instead of a triangle).
This particular triangle works just fine with POV 3.1 for me.
If you accidently typed something like:
smooth_triangle{
v1,n1,
v2,n2,
v2,n3 // note this line
}
then it would be degenerate.
-Nathan
david sharp wrote:
>
> My understanding has been that a degenerate triangle is
> just three points that don't really make a triangle.
> Could someone please explain why POV-Ray complains that
> the following smooth_triangle is "degenerate"? (v1,v2, and v3
> come out fine as a plain 'flat' triangle).
>
> #declare v1=<116.50351, 37.28418, -14.46650>;
> #declare n1=<-0.87727, -0.19526, 0.43849>;
> #declare v2=<73.18535, 44.36221, -1.11751>;
> #declare n2=<-0.90956, 0.27350, 0.31289>;
> #declare v3=<123.66611, 65.86183, 12.58927>;
> #declare n3=<-0.8777, -0.19526, 0.43849>;
>
> smooth_triangle{
> v1,n1,
> v2,n2,
> v3,n3
> }
>
> Thanks for any help.
Post a reply to this message
|
![](/i/fill.gif) |