POV-Ray : Newsgroups : povray.binaries.images : Cylinder lights have a black end-cap? Server Time
15 Aug 2024 04:24:55 EDT (-0400)
  Cylinder lights have a black end-cap? (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mark Hanford
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 16:59:39
Message: <3d600abb$1@news.povray.org>
It's outside an opaque sphere{0,15 texture{...}}, but I'll put it in anyway
to stop the warning


"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> in news:3d600212$1@news.povray.org Mark Hanford wrote:
>
> > sphere{
> >   0, 20
>
>     put a transparent pigment here
>
> >   interior{
> >
>
> or else you'll se the container object with the default (black) texture.
>
> Ingo


Post a reply to this message

From: 25ct
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 17:13:26
Message: <3d600df6@news.povray.org>
"Mark Hanford" <mar### [at] theinternetcom> wrote in message
news:3d6000c7$1@news.povray.org...
> But wouldn't this start as a point?  I need a visible diameter at the lamp
> end of the beam.
>
> Ideally I wanted a spotlight, but couldn't see how to make the start of it
> wide enough.

      I may be wrong here, but couldn't you just move the cone back until the
desired diameter is met with the inner rim of your lamp? Would this work?

   ~Steve~


>
> Mark
>
> "Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk> wrote in message
> news:3d5ffdae@news.povray.org...
> > I had this problem too but I vaguely remembered this cropping up before
> and used a tight cone instead.
> >
> > Mick
> >
> >
> >
>
>


Post a reply to this message

From: Peter Popov
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 17:37:11
Message: <7n40mucvb653or3ljh0lr7u953qu6rs34b@4ax.com>
On Sun, 18 Aug 2002 20:27:38 +0100, "Mark Hanford"
<mar### [at] theinternetcom> wrote:

>I've been trying to use cylinder lights to create a search-light effect,
>using atmospheric media.  I have noticed that the end of the cylinder light
>shows as a black disk, rather than just 'running out'.

A similar problem has been reported in early July by Rohan Bernett.
Maybe it's worth investigating deeper.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Mark Hanford
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 17:37:55
Message: <3d6013b3@news.povray.org>
Okay, thanks for the input, here's another sample that shows what I think is
odd behaviour:

Am I right in assuming that my light beam will be no bigger than Beam_Width?
If that is the case (and even if not, I think)  then the bottom of the beam
is enclosed entirely by the shade, and so the black shadow should be
covered, no?

This was supposed to be a simple scene to fill in the beginning of a movie
we made :(  This light stuff is really stumping me.


The actual lamp part of the image is:

  #declare Beam_Width=0.06;
  #macro FloodLight(Direction, Position)
    union{
      cylinder{0, Beam_Width*1.1*y, Beam_Width*1.1}
      sphere{0, Beam_Width*1.1}
      rotate Direction
      translate Position
      texture{Tex_Base}
      no_shadow
    }
    light_source{
        0 color rgb <0.7, 0.7, 1>*15
        cylinder
        point_at 10*y
        radius Beam_Width*0.9
        falloff Beam_Width
        tightness 0
        rotate Direction
        translate Position}
  #end


Post a reply to this message


Attachments:
Download 'sample.jpg' (3 KB)

Preview of image 'sample.jpg'
sample.jpg


 

From: Mark Hanford
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 17:42:35
Message: <3d6014cb$1@news.povray.org>
If it helps, I can post the scene in the relevent (p.t.s-f or p.b?) group...

"Peter Popov" <pet### [at] vipbg> wrote in message
news:7n40mucvb653or3ljh0lr7u953qu6rs34b@4ax.com...
> On Sun, 18 Aug 2002 20:27:38 +0100, "Mark Hanford"
> <mar### [at] theinternetcom> wrote:
>
> >I've been trying to use cylinder lights to create a search-light effect,
> >using atmospheric media.  I have noticed that the end of the cylinder
light
> >shows as a black disk, rather than just 'running out'.
>
> A similar problem has been reported in early July by Rohan Bernett.
> Maybe it's worth investigating deeper.
>
>
> Peter Popov ICQ : 15002700
> Personal e-mail : pet### [at] vipbg
> TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Mark Hanford
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 17:48:57
Message: <3d601649@news.povray.org>
Oh, and I've just noticed that even if the whole bunch of objects
(beam+shade) is well behind another object, the black disk still sometimes
shows infront, so it's not just objects which the beam terminus is "inside".

M


"Mark Hanford" <mar### [at] theinternetcom> wrote in message
news:3d6014cb$1@news.povray.org...
> If it helps, I can post the scene in the relevent (p.t.s-f or p.b?)
group...
>
> "Peter Popov" <pet### [at] vipbg> wrote in message
> news:7n40mucvb653or3ljh0lr7u953qu6rs34b@4ax.com...
> > On Sun, 18 Aug 2002 20:27:38 +0100, "Mark Hanford"
> > <mar### [at] theinternetcom> wrote:
> >
> > >I've been trying to use cylinder lights to create a search-light
effect,
> > >using atmospheric media.  I have noticed that the end of the cylinder
> light
> > >shows as a black disk, rather than just 'running out'.
> >
> > A similar problem has been reported in early July by Rohan Bernett.
> > Maybe it's worth investigating deeper.
> >
> >
> > Peter Popov ICQ : 15002700
> > Personal e-mail : pet### [at] vipbg
> > TAG      e-mail : pet### [at] tagpovrayorg
>
>


Post a reply to this message

From: Christopher James Huff
Subject: Re: Cylinder lights have a black end-cap?
Date: 18 Aug 2002 23:30:03
Message: <chrishuff-05ED8D.22165818082002@netplex.aussie.org>
In article <3d600212$1@news.povray.org>,
 "Mark Hanford" <mar### [at] theinternetcom> wrote:

> I just tried a sphere{0,15 interior{media{...}}} instead of atmospheric
> media, with the same problem

Looking at some of the other messages, it looks like this isn't the 
problem, though it could be something else related to media handling of 
cylinder lights. I'm not sure what is wrong...

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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