POV-Ray : Newsgroups : povray.beta-test : spotlight falloff 90 + media Server Time
2 Nov 2024 17:19:52 EDT (-0400)
  spotlight falloff 90 + media (Message 1 to 5 of 5)  
From: Mael
Subject: spotlight falloff 90 + media
Date: 15 Oct 2001 03:05:10
Message: <3bca8aa6$1@news.povray.org>
pov renders strange black artifacts when using a spotlight falloff 90 with
media

the scene gives correct results if no media is used with the falloff 90
it also gives correct image if we keep the media and the falloff is no 90

pov3.5b6 win2000 Athlon 900MHz 256MB


light_source
{
  <0,25,5>
  color rgb 1
  spotlight radius 10 falloff 90 point_at <0,0,0>

  media_interaction on
}

camera
{
  location  <0, 0,-5>
  direction z up y right x look_at <0,0,0>
}

sphere
{
  0,1
  hollow
  pigment { color rgb <1,1,1,0.85> }
  finish { diffuse 1 ambient 0 }
  interior
  {
    media {  scattering { 1, rgb <.83,.79,.75>*2 extinction 1/2 }
        samples 10
        method 3
          }
  }
}


Post a reply to this message

From: Kari Kivisalo
Subject: Re: spotlight falloff 90 + media
Date: 15 Oct 2001 03:34:21
Message: <3BCA917E.8AA0A46F@engineer.com>
Mael wrote:
> 
> pov renders strange black artifacts when using a spotlight falloff 90 with
> media

Same here. Win98 SE Athlon 1GHz. The limit seems to be 89.9999996.

_____________
Kari Kivisalo


Post a reply to this message

From: Bob H 
Subject: Re: spotlight falloff 90 + media
Date: 15 Oct 2001 04:16:30
Message: <3bca9b5e@news.povray.org>
"Kari Kivisalo" <ray### [at] engineercom> wrote in message
news:3BCA917E.8AA0A46F@engineer.com...
> Mael wrote:
> >
> > pov renders strange black artifacts when using a spotlight falloff 90
with
> > media
>
> Same here. Win98 SE Athlon 1GHz. The limit seems to be 89.9999996.

spotlight is supposed to use radius and falloff values less than 90, so not
too surprising it would have peculiarities at ~90.

I'll take this opportunity to say that a variable sized origin would be a
great thing, which has been suggested many times by many people.  I guess
that would have been tried long ago if anyone could have managed to create
it.

Bob H.


Post a reply to this message

From: Mael
Subject: Re: spotlight falloff 90 + media
Date: 15 Oct 2001 04:24:22
Message: <3bca9d36$1@news.povray.org>
> spotlight is supposed to use radius and falloff values less than 90, so
not
> too surprising it would have peculiarities at ~90.

yes, sure, not really a bug
But i wonder why it works when not using media
if there are problemes with value =90 (>90 ?) may be the parser can send a
warning ?

M


Post a reply to this message

From: Warp
Subject: Re: spotlight falloff 90 + media
Date: 15 Oct 2001 04:27:10
Message: <3bca9ddd@news.povray.org>
Mael <mae### [at] hotmailcom> wrote:
: yes, sure, not really a bug

  Not a bug, but certainly a good place for a warning.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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