|
|
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |