![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Jaime Vives Piqueres
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 25 Apr 2009 02:33:54
Message: <49f2aed2@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Your results have come out much better than mine did though - it was the first
> time I used photons, so I probably didn't understand what I was doing
> properly...
Are you supposing that I know what I'm doing with photons? ...then you
are wrong! ;)
Seriously, I only managed to get them right by using two passes, because
on "direct" usage I was getting only the photons but not the original light
source... by loading the photons on a second pass I got both the light and
the photons.
> My plan had a "part two" to it (which I also didn't manage to do properly) - I
> wanted to render the light and fixture, without any other scene elements, to a
> full spherical camera, and use that as the transparency map for the light in a
> real scene (possibly with the fixture modified with no_shadow). If you get what
> I mean...
>
> It's still on my list of things to experiment with, but perhaps as you are
> having far more success than I ever did, it might be something you would find
> interesting?
Very interesting idea... and I didn't think of it! But now you ruined my
Saturday plans... I'm not able to resist the temptation!
How will you proceed? ...perhaps projecting it into a sphere?
--
Jaime
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Ive
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 25 Apr 2009 06:28:13
Message: <49f2e5bd@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jaime Vives Piqueres wrote:
> Hi again:
>
> After Edouard mentioned IES light data files, I tried an experiment I
> envisioned sometime ago: creating a realistic spot fixture and let it
> reflect and refract some photons. The tests with just one spot seemed to
> work nicely, but when I integrated it on the hotel scene with the same
> photon spacing, the results don't look so great...
>
> --
> Jaime
>
Just to make sure I do understand it right: you did *not* actually use
IES files, you 'just' did model a realistic spotlight with a refracting
mirror?
If my memory does serve me well there was (maybe a few years ago) a post
by someone who did in fact use IES files within POV-Ray. But while I'm
thinking about it, I have no idea how this could be achieved.
-Ive
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Ive
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 25 Apr 2009 06:31:22
Message: <49f2e67a$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
refracting mirror?
err, what I wanted to say was reflecting mirror and/or refracting glass
cover.
-Ive
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Jaime Vives Piqueres
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 25 Apr 2009 06:42:05
Message: <49f2e8fd$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> refracting mirror?
>
> err, what I wanted to say was reflecting mirror and/or refracting glass
> cover.
>
Yes, that was the idea: I modeled with Wings3D a simple reflector with a
simple cover glass. I put a light inside and adjusted the photons to reflect
only on the reflector, and to refract only on the glass (otherwise I was
getting spotty results). It works decently with just one spot, but for a
bunch of them you need a lot of patience.
About the IES files, as I mentioned before, yes, I also remember someone
doing a patch or something to use them with POV-Ray... perhaps it was the
custom POV-Ray version from Dialux?
--
Jaime
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Jaime Vives Piqueres
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 25 Apr 2009 06:46:52
Message: <49f2ea1c$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> My plan had a "part two" to it (which I also didn't manage to do
> properly) - I wanted to render the light and fixture, without any other
> scene elements, to a full spherical camera, and use that as the
> transparency map for the light in a real scene (possibly with the fixture
> modified with no_shadow). If you get what I mean...
>
> It's still on my list of things to experiment with, but perhaps as you
> are having far more success than I ever did, it might be something you
> would find interesting?
Well... the experiment worked great and fast, but has a BIG limitation:
you cannot use area lights with it, because the "fake photons" effect
disappears (logically) due to the soft shadows... &%#$!!! :(
Any ideas? ... I cannot think of anything that will overcome this problem.
--
Jaime
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jaime Vives Piqueres <jai### [at] ignorancia org> wrote:
> Hi again:
>
> After Edouard mentioned IES light data files, I tried an experiment I
> envisioned sometime ago: creating a realistic spot fixture and let it
> reflect and refract some photons. The tests with just one spot seemed to
> work nicely, but when I integrated it on the hotel scene with the same
> photon spacing, the results don't look so great...
Oops. Is that fourteen backwards? Otherwise very nice.
- Ricky
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jaime Vives Piqueres <jai### [at] ignorancia org> wrote:
> > My plan had a "part two" to it (which I also didn't manage to do
> > properly) - I wanted to render the light and fixture, without any other
> > scene elements, to a full spherical camera, and use that as the
> > transparency map for the light in a real scene (possibly with the fixture
> > modified with no_shadow). If you get what I mean...
> >
> > It's still on my list of things to experiment with, but perhaps as you
> > are having far more success than I ever did, it might be something you
> > would find interesting?
>
> Well... the experiment worked great and fast, but has a BIG limitation:
> you cannot use area lights with it, because the "fake photons" effect
> disappears (logically) due to the soft shadows... &%#$!!! :(
>
> Any ideas? ... I cannot think of anything that will overcome this problem.
Ahh, I see the flaw. The "shadow map" from the light and fitting is an
approximation, but from your experiment it sounds like it's not a close enough
one to actual photons...
Hmm, perhaps a no_area_light object modifier added to the SDL? That would
probably be useful in general to be honest.
I can't think of a multiple light solution that would work, and even if there
was one it wouldn't be a general solution to a scene.
Sorry my idea wasn't a winner in the end!
> Jaime
Cheers,
Edouard.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Jaime Vives Piqueres
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 27 Apr 2009 07:36:01
Message: <49f598a1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Ahh, I see the flaw. The "shadow map" from the light and fitting is an
> approximation, but from your experiment it sounds like it's not a close
> enough one to actual photons...
No, in fact it is very close to the photons effect, in some aspects better
looking, although not correct, of course. See attached pics...
> Hmm, perhaps a no_area_light object modifier added to the SDL? That would
> probably be useful in general to be honest.
Yes, I think that would be the only solution: the sphere with the
"photon map" could be flagged as "no_area_light". But I cannot think of any
other situation where it will be useful such a modifier...
> I can't think of a multiple light solution that would work, and even if
> there was one it wouldn't be a general solution to a scene.
Well, lets wait... we all know POV-Ray unexplored possibilities are
endless, and perhaps there is already a clever way to do it, waiting for
someone to discover it.
> Sorry my idea wasn't a winner in the end!
It was a very good idea, and just in case, I will archive it under my
/stalled folder...
--
Jaime
Post a reply to this message
Attachments:
Download 'fakespot_map.jpg' (22 KB)
Download 'fakespot_test.jpg' (22 KB)
Preview of image 'fakespot_map.jpg'
![fakespot_map.jpg](/povray.binaries.images/attachment/%3C49f598a1%40news.povray.org%3E/fakespot_map.jpg?preview=1)
Preview of image 'fakespot_test.jpg'
![fakespot_test.jpg](/povray.binaries.images/attachment/%3C49f598a1%40news.povray.org%3E/fakespot_test.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Jaime Vives Piqueres
Subject: Re: Spotlights with photons (143KB) (Was: Hotel crime scene)
Date: 27 Apr 2009 07:37:38
Message: <49f59902$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Oops. Is that fourteen backwards? Otherwise very nice.
Oops, indeed... Thanks!
--
Jaime
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jaime Vives Piqueres <jai### [at] ignorancia org> wrote:
> I was practicing with Chief Architect, and did this hotel corridor... it was
> so boring that I decided to have some fun adding some story to it.
Am I right that the bit about the mirrored 14 involves the janitor?
--
jussi
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |