|
![](/i/fill.gif) |
Simon wrote:
> Hi,
> as you can see there are many black spots on the image below.
> I can't get rid of them and still get the result I want. Why are they there
> and how can I make them go away?
>
I had a similar problem with a "smooth" heightfield a while back. This
is because, IIRC, some of the triangles' normal is pointing the wrong
way. Try "double_illuminate".
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{location<6,1.25,-6>look_at a orthographic}
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Francois Labreque wrote:
>
>
> Simon wrote:
>
> > Hi,
> > as you can see there are many black spots on the image below.
> > I can't get rid of them and still get the result I want. Why are they
there
> > and how can I make them go away?
> >
>
> I had a similar problem with a "smooth" heightfield a while back. This
> is because, IIRC, some of the triangles' normal is pointing the wrong
> way. Try "double_illuminate".
>
>
Thanks.
This removes the black spots.
Post a reply to this message
|
![](/i/fill.gif) |