POV-Ray : Newsgroups : povray.binaries.images : black spots on hf Server Time
17 Aug 2024 08:25:15 EDT (-0400)
  black spots on hf (Message 1 to 3 of 3)  
From: Simon
Subject: black spots on hf
Date: 27 Oct 2001 21:27:03
Message: <3bdb5ee7@news.povray.org>
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?


Post a reply to this message


Attachments:
Download 'main.jpg' (71 KB)

Preview of image 'main.jpg'
main.jpg


 

From: Francois Labreque
Subject: Re: black spots on hf
Date: 27 Oct 2001 22:26:54
Message: <3BDB6CA6.8070705@videotron.ca>
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

From: Simon
Subject: Re: black spots on hf
Date: 28 Oct 2001 01:42:11
Message: <3bdba8c3@news.povray.org>
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

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