POV-Ray : Newsgroups : povray.unofficial.patches : Attenuation feature/bug? Server Time
2 Sep 2024 16:19:27 EDT (-0400)
  Attenuation feature/bug? (Message 1 to 10 of 10)  
From: TonyB
Subject: Attenuation feature/bug?
Date: 31 Oct 1999 14:38:07
Message: <381c9a9f@news.povray.org>
Hi. I don't know anything about this attenaution patch, or what it is
exactly for. I've just seen SamuelT. do some real nice stuff with it. I
decided to try it myself and to my surprise, this happened:

camera {location <1,2,-3>*10 look_at 0}
light_source {y*10 2}
plane {y,0 pigment {rgb .5}}
sphere {y*6,4 pigment {rgbf 1} interior {fade_power 2 fade_distance 4
fade_color rgb <1,3,2>}}

Try it for yourselves... Is this a bug or some feature of the attenuation?
Did I do something wrong, perhaps?


Post a reply to this message

From: SamuelT 
Subject: Re: Attenuation feature/bug?
Date: 31 Oct 1999 16:23:20
Message: <381CB4B0.E9E7B992@aol.com>
Hmm, that is indeed a strange thing. When I raised the light_source, the dots
disappeared. Even if I put y*10.000001 for the light_source. Anything over ten
unit high makes the dots go away. Looks like a bug to me. You scene is neat,
by the way. The glow (after changing the light_source) is cool.

I just tried lower numbers and they make the dots go away too. Maybe 10 is the
magic number?

TonyB wrote:

> Hi. I don't know anything about this attenaution patch, or what it is
> exactly for. I've just seen SamuelT. do some real nice stuff with it. I
> decided to try it myself and to my surprise, this happened:
>
> camera {location <1,2,-3>*10 look_at 0}
> light_source {y*10 2}
> plane {y,0 pigment {rgb .5}}
> sphere {y*6,4 pigment {rgbf 1} interior {fade_power 2 fade_distance 4
> fade_color rgb <1,3,2>}}
>
> Try it for yourselves... Is this a bug or some feature of the attenuation?
> Did I do something wrong, perhaps?

--
Samuel Benge

STB### [at] aolcom

"And you can fly
 High as a kite if you want to
 Faster than light if you want to
 Speeding through the universe
 Thinking is the best way to travel"

          -The Best Way to Travel, The Moody Blues


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Attenuation feature/bug?
Date: 31 Oct 1999 18:01:01
Message: <381cca2d@news.povray.org>
In article <381CB4B0.E9E7B992@aol.com> , "SamuelT." <STB### [at] aolcom> wrote:

> Hmm, that is indeed a strange thing. When I raised the light_source, the dots
> disappeared. Even if I put y*10.000001 for the light_source. Anything over ten
> unit high makes the dots go away. Looks like a bug to me. You scene is neat,
> by the way. The glow (after changing the light_source) is cool.
>
> I just tried lower numbers and they make the dots go away too. Maybe 10 is the
> magic number?

Depending on precision, the light will be inside or outside the sphere, that
is why moving it a bit removes the effect.


     Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: SamuelT 
Subject: Re: Attenuation feature/bug?
Date: 31 Oct 1999 18:47:59
Message: <381CD69D.5CF177E2@aol.com>
Ha ha ha! Funny me..... I hadn't inspected the code that closely. Sure enough, the
light was directly on the edge of the sphere....

Thorsten Froehlich wrote:

> In article <381CB4B0.E9E7B992@aol.com> , "SamuelT." <STB### [at] aolcom> wrote:
>
> > Hmm, that is indeed a strange thing. When I raised the light_source, the dots
> > disappeared. Even if I put y*10.000001 for the light_source. Anything over ten
> > unit high makes the dots go away. Looks like a bug to me. You scene is neat,
> > by the way. The glow (after changing the light_source) is cool.
> >
> > I just tried lower numbers and they make the dots go away too. Maybe 10 is the
> > magic number?
>
> Depending on precision, the light will be inside or outside the sphere, that
> is why moving it a bit removes the effect.
>
>      Thorsten
>
> ____________________________________________________
> Thorsten Froehlich
> e-mail: mac### [at] povrayorg
>
> I am a member of the POV-Ray Team.
> Visit POV-Ray on the web: http://mac.povray.org

--
Samuel Benge

STB### [at] aolcom

"And you can fly
 High as a kite if you want to
 Faster than light if you want to
 Speeding through the universe
 Thinking is the best way to travel"

          -The Best Way to Travel, The Moody Blues


Post a reply to this message

From: TonyB
Subject: Re: Attenuation feature/bug?
Date: 31 Oct 1999 20:43:25
Message: <381cf03d@news.povray.org>
And why does this matter?


Post a reply to this message

From: Ken
Subject: Re: Attenuation feature/bug?
Date: 31 Oct 1999 20:51:55
Message: <381CF1D5.1AA1EA9F@pacbell.net>
TonyB wrote:
> 
> And why does this matter?

 I imagine the dots that are being seen are becuase POV-Ray is treating it
like a coincident surfaces problem where it cannot tell if the light is
inside the surface or outside the surface.

-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Attenuation feature/bug?
Date: 1 Nov 1999 04:19:17
Message: <381d5b15@news.povray.org>
TonyB <ben### [at] panamaphoenixnet> wrote:
: And why does this matter?

http://www.students.tut.fi/~warp/povVFAQ.html#blackspots

explains also this.

-- 
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

From: Ken
Subject: Re: Attenuation feature/bug?
Date: 1 Nov 1999 05:10:51
Message: <381D66A9.F7CD27EA@pacbell.net>
Nieminen Juha wrote:
> 
> TonyB <ben### [at] panamaphoenixnet> wrote:
> : And why does this matter?
> 
> http://www.students.tut.fi/~warp/povVFAQ.html#blackspots
> 
> explains also this.

 Strangely this is the first time I have heard of this particular problem
and was surprised that you have it included in the VFAQ. Good job Warp :)

-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Attenuation feature/bug?
Date: 1 Nov 1999 07:07:31
Message: <381d8283@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
:  Strangely this is the first time I have heard of this particular problem
: and was surprised that you have it included in the VFAQ. Good job Warp :)

  We see from this that even advanced users should read the VFAQ... ;)

-- 
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

From: Ken
Subject: Re: Attenuation feature/bug?
Date: 1 Nov 1999 07:15:24
Message: <381D83CF.A97AFCCA@pacbell.net>
Nieminen Juha wrote:
> 
> Ken <tyl### [at] pacbellnet> wrote:
> :  Strangely this is the first time I have heard of this particular problem
> : and was surprised that you have it included in the VFAQ. Good job Warp :)
> 
>   We see from this that even advanced users should read the VFAQ... ;)

Well I figured out for myself what was causing the problem and even replied
as such hours before you did. I just didn't know that little one liner had
been included in the VFAQ. No need to memorize it when you are an advanced
user :)

-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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