POV-Ray : Newsgroups : povray.newusers : Spotlights and media emission Server Time
1 Nov 2024 07:26:03 EDT (-0400)
  Spotlights and media emission (Message 1 to 5 of 5)  
From: Verm
Subject: Spotlights and media emission
Date: 9 Feb 2006 16:10:19
Message: <43ebafbb$1@news.povray.org>
I'm having issues with spotlights and emmiting media where I get black 
dots in the media with a spotlight.

If I comment out the spotlight line then it renders fine.

I was messing about with lightsys but eventually simplified the scene to 
this. I don't really need a spotlight but was wondering if anyone could 
cast any light on this?

-----------
light_source{ y*30 color rgb 1
   //comment out the following line to get it to render ok
   spotlight radius 90 falloff 90 tightness 1 point_at y*-1

}

camera {
   location  <0, 2, -2.0>
   right     x*image_width/image_height
   look_at 0
}

plane {
   y, -1
   pigment { color rgb 0.5 }
}

sphere {  0, 1
    hollow
    texture {
       pigment { rgbt 1}
       finish { ambient 0 diffuse 0  }
    }
    interior {
       media {
          intervals 3
          emission 0.5
          density { spherical }
       }
    }
}
-----------------


Post a reply to this message

From: Alain
Subject: Re: Spotlights and media emission
Date: 10 Feb 2006 16:31:06
Message: <43ed061a@news.povray.org>
Verm nous apporta ses lumieres en ce 09/02/2006 16:10:
> I'm having issues with spotlights and emmiting media where I get black 
> dots in the media with a spotlight.
> 
> If I comment out the spotlight line then it renders fine.
> 
> I was messing about with lightsys but eventually simplified the scene to 
> this. I don't really need a spotlight but was wondering if anyone could 
> cast any light on this?
> 
> -----------
> light_source{ y*30 color rgb 1
>   //comment out the following line to get it to render ok
>   spotlight radius 90 falloff 90 tightness 1 point_at y*-1
> 
> }
> 
> camera {
>   location  <0, 2, -2.0>
>   right     x*image_width/image_height
>   look_at 0
> }
> 
> plane {
>   y, -1
>   pigment { color rgb 0.5 }
> }
> 
> sphere {  0, 1
>    hollow
>    texture {
>       pigment { rgbt 1}
>       finish { ambient 0 diffuse 0  }
>    }
>    interior {
>       media {
>          intervals 3
>          emission 0.5
>          density { spherical }
>       }
>    }
> }
> -----------------
Just did a test render with and without the spotlight, and both are identical. NO
black dot at all. 
Using both 3.6 and 3.7 beta at resolution of 1024*768 and 1800*1800.

-- 
Alain
-------------------------------------------------
'hAS ANYONE SEEN MY cAPSLOCK KEY?'


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Spotlights and media emission
Date: 10 Feb 2006 16:50:00
Message: <web.43ed0a699dbcfba46c4803960@news.povray.org>
Verm <pov### [at] thirteeendynucom> wrote:
> I'm having issues with spotlights and emmiting media where I get black
> dots in the media with a spotlight.
>
> If I comment out the spotlight line then it renders fine.
>
> I was messing about with lightsys but eventually simplified the scene to
> this. I don't really need a spotlight but was wondering if anyone could
> cast any light on this?
>

I had a look and see your problem.
What you are seeing is a coincident surface type problem.  This relates to
the fact that your spotlight radius and falloff are the same.  If you make
them different (even very minutely - 89.9999) it should go away.

> -----------
> light_source{ y*30 color rgb 1
>    //comment out the following line to get it to render ok
>    spotlight radius 90 falloff 90 tightness 1 point_at y*-1
>
> }

-tgq


Post a reply to this message

From: Verm
Subject: Re: Spotlights and media emission
Date: 10 Feb 2006 19:10:55
Message: <43ed2b8f$1@news.povray.org>
Trevor G Quayle wrote:
> Verm <pov### [at] thirteeendynucom> wrote:
> 
>>I'm having issues with spotlights and emmiting media where I get black
>>dots in the media with a spotlight.
>>
>>If I comment out the spotlight line then it renders fine.
>>
>>I was messing about with lightsys but eventually simplified the scene to
>>this. I don't really need a spotlight but was wondering if anyone could
>>cast any light on this?
>>
> 
> 
> I had a look and see your problem.
> What you are seeing is a coincident surface type problem.  This relates to
> the fact that your spotlight radius and falloff are the same.  If you make
> them different (even very minutely - 89.9999) it should go away.
> 
ahha doh didn't think of that thanks.


Post a reply to this message

From: Stephen
Subject: Re: Spotlights and media emission
Date: 11 Feb 2006 02:07:31
Message: <b03ru15k8enh9va2jlvon2ej2npemqb6hr@4ax.com>
On Thu, 09 Feb 2006 21:10:17 +0000, Verm <pov### [at] thirteeendynucom>
wrote:

>I'm having issues with spotlights and emmiting media where I get black 
>dots in the media with a spotlight.

I've had problems with spotlights and emitting media as well. I posted
an animation and a image but no one picked up on it. My problem
occurred when the camera was very close to the spotlight. It looked to
me as if the cone of the spot was acting as a magnifier.

In povray.binaries.animations
The Curious (co) Incident of the Cam in the Light. - density03b2x.mpg

And in povray.binaries.images
Guessing game - density08c2X.png


Post a reply to this message

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