|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Attachments:
Download 'PatternLights.JPG' (41 KB)
Preview of image 'PatternLights.JPG'
|
|
| |
| |
|
|
From: Bill DeWitt
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 26 Feb 2000 19:36:25
Message: <38b87189@news.povray.org>
|
|
|
| |
| |
|
|
"Chris Huff" <chr### [at] yahoocom> wrote :
>
> I finally got around to implementing patterned light sources,
>
That's pretty cool...
Post a reply to this message
|
|
| |
| |
|
|
From: Ross Litscher
Subject: Re: Patterned light sources - PatternLights.JPG (1/1)
Date: 26 Feb 2000 21:09:23
Message: <38b88753@news.povray.org>
|
|
|
| |
| |
|
|
yes, yes... this with a bunch of glass and a bunch of photons.
Post a reply to this message
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |