POV-Ray : Newsgroups : povray.binaries.images : Patterned light sources - PatternLights.JPG (1/1) Server Time
3 Oct 2024 07:12:47 EDT (-0400)
  Patterned light sources - PatternLights.JPG (1/1) (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: TonyB
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 26 Feb 2000 21:43:09
Message: <38b88f3d@news.povray.org>
Great work, but why

>light_source {< -8, 5,-3>*2,
>    pigment {onion
>        color_map {
>            [0 color Red]
>            [0.5 color Green]
>            [1 color Blue]
>        }
>        translate < -5, 0.5,-3>*2
>    }


>    color Yellow


---------^-^-^

>    map_type 0
>}

?


Post a reply to this message

From: Chris Huff
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 26 Feb 2000 22:07:14
Message: <chrishuff_99-B948BA.22084126022000@news.povray.org>
In article <38b88f3d@news.povray.org>, "TonyB" 
<ben### [at] panamac-comnet> wrote:

> Great work, but why
> 
> >light_source {< -8, 5,-3>*2,
> >    pigment {onion
> >        color_map {
> >            [0 color Red]
> >            [0.5 color Green]
> >            [1 color Blue]
> >        }
> >        translate < -5, 0.5,-3>*2
> >    }
> 
> 
> >    color Yellow
> 
> 
> ---------^-^-^
> 
> >    map_type 0
> >}

Oh, that is something I forgot about. You can specify both the solid 
color and a pigment, the pigment overrides the color. I had both 
specified while I was working on some code that hadn't yet been changed 
to use the pigment, and just never deleted it from the .pov file.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Chris Huff
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 26 Feb 2000 22:09:46
Message: <chrishuff_99-D2BB88.22111426022000@news.povray.org>
In article <38b88753@news.povray.org>, "Ross Litscher" 
<lit### [at] osuedu> wrote:

> yes, yes... this with a bunch of glass and a bunch of photons.

Well...since I haven't gotten the mappings working yet, it would just 
look like caustics with the pattern(the pattern itself won't be 
refracted/reflected). I am still working on that part.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 04:57:42
Message: <38b8f516@news.povray.org>
Great. This has wonderful possibilities. Look forward to seeing it in the
next megapatch

Mick

--
*************************************************************
       http://www.minda.swinternet.co.uk/index.htm

*************************************************************
"Chris Huff" <chr### [at] yahoocom> wrote in message
news:chrishuff_99-A21D37.19332226022000@news.povray.org...
> I finally got around to implementing patterned light sources, here are
> the first results. The patch isn't quite finished yet, see my post in
> .unofficial.patches for details. Here is the code for these two light
> sources:
> light_source {< -8, 5,-3>*2,
>     pigment {onion
>         color_map {
>             [0 color Red]
>             [0.5 color Green]
>             [1 color Blue]
>         }
>         translate < -5, 0.5,-3>*2
>     }
>     color Yellow
>     map_type 0
> }
> light_source {< 2, 5,-5>*2,
>     pigment {onion
>         color_map {
>             [0 color Red]
>             [0.5 color Green]
>             [1 color Blue]
>         }
>         translate < 2, 5,-5>*2
>     }
>     color Yellow
>     map_type 0
> }
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/
>
>


Post a reply to this message

From: Ken
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 05:01:16
Message: <38B8F541.C0956320@pacbell.net>
Mick Hazelgrove wrote:
> 
> Great. This has wonderful possibilities. Look forward to seeing it in the
> next megapatch

I agree. I was just thinking how easy it would be to simulate a prism
color spectrum using a rainbow color map with a gradient pattern. It
would be much faster than using photons with dispersion and would give
you greater control over the colors. This is just one idea for this
feature !

-- 
Ken Tyler -  1300+ 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: Bob Hughes
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 05:52:19
Message: <38b901e3@news.povray.org>
What happens if the color map is scaled very small or the frequency increased a
lot?  Maybe some interesting colorations at certain places and the rest more or
less like white light perhaps?

Bob


Post a reply to this message

From: ingo
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 06:03:18
Message: <8EE773FB3seed7@204.213.191.228>
Bob Hughes wrote:

>What happens if the color map is scaled very small or the frequency
>increased a lot?

Do this with two light_sources and yo get interference patterns tha can be 
used to measure, and thus triangulate, objects. Mmm, where is my optics 
book ...

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Chris Huff
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 09:16:55
Message: <chrishuff_99-DBB136.09182427022000@news.povray.org>
In article <38b901e3@news.povray.org>, "Bob Hughes" 
<per### [at] aolcom?subject=PoV-News:> wrote:

> What happens if the color map is scaled very small or the frequency 
> increased a lot?  Maybe some interesting colorations at certain 
> places and the rest more or less like white light perhaps?

Unless you used heavy anti-aliasing, you would get moire effects. I am 
not really certain how multiple sources would interact with small-scale 
pigments though...could be interesting.
If you did use anti-aliasing, I think the color would tend more toward 
50% gray.(unless you used unusually bright colors)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Chris Huff
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 09:19:25
Message: <chrishuff_99-CF8BF6.09205427022000@news.povray.org>
In article <38B8F541.C0956320@pacbell.net>, lin### [at] povrayorg 
wrote:

> I agree. I was just thinking how easy it would be to simulate a prism
> color spectrum using a rainbow color map with a gradient pattern. It
> would be much faster than using photons with dispersion and would give
> you greater control over the colors.

Hmm, maybe for simple shapes, and images which don't have to look 
super-realistic.
It would also be useful for simulating rainbows from objects out of 
view...

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Steve
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 27 Feb 2000 09:31:33
Message: <slrn8bibbl.2dt.sjlen@zero-pps.localdomain>
Chris

I hope that this makes it into MegaPov soon, I can think
of many uses for it, such as you have a garden and you
want it to look asthough the sunlight is shining through
the trees behind the camera, but you don't want the 
added parse and render time that you get with trees, or
you want a room with blinds on the window but don't
want to see the blinds, etc, etc.   You could do 
a real good disco animation with this. IMP should love
this feature, light patterns on a moving vehicle, wow. 

Keep up the good work. 

-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  1:15pm  up 1 day,  9:06,  5 users,  load average: 2.02, 2.00, 1.92


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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