POV-Ray : Newsgroups : povray.binaries.images : new iridescence Server Time
30 Jul 2024 16:24:22 EDT (-0400)
  new iridescence (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: new iridescence
Date: 1 Dec 2011 03:23:39
Message: <4ed7398b$1@news.povray.org>
On 1-12-2011 4:19, clipka wrote:
> Some soap bubbles, rendered with a complete re-design of the iridescence
> feature.
Excellent! A little treat for Jim's shells... ;-)

Thomas


Post a reply to this message

From: clipka
Subject: Re: new iridescence
Date: 1 Dec 2011 07:43:59
Message: <4ed7768f$1@news.povray.org>
Am 01.12.2011 07:39, schrieb waggy:
> clipka wrote:
>> Some soap bubbles, rendered with a complete re-design of the iridescence
>> feature.
>
> Oh!  Very nice!  Will this fix make it into 3.7?

I think so. It will break scenes relying on the crappy(*) existing 
iridescence, so it's better to introduce it with the transition from 3.6 
to 3.7, rather than 3.7.0 to 3.7.1 or something.

(*For starters, the existing implementation doesn't respect a light 
source's color, or even brightness for that matter.)


Post a reply to this message

From: clipka
Subject: Re: new iridescence
Date: 1 Dec 2011 08:21:05
Message: <4ed77f41@news.povray.org>
Am 01.12.2011 04:23, schrieb clipka:
> .... and two pearls.

now with blurred reflection.


Post a reply to this message


Attachments:
Download 'test.png' (201 KB)

Preview of image 'test.png'
test.png


 

From: clipka
Subject: Re: new iridescence
Date: 1 Dec 2011 08:25:18
Message: <4ed7803e$1@news.povray.org>
Am 01.12.2011 09:23, schrieb Thomas de Groot:
> On 1-12-2011 4:19, clipka wrote:
>> Some soap bubbles, rendered with a complete re-design of the iridescence
>> feature.
> Excellent! A little treat for Jim's shells... ;-)

Yup.


Post a reply to this message

From: Jim Holsenback
Subject: Re: new iridescence
Date: 1 Dec 2011 08:37:41
Message: <4ed78325$1@news.povray.org>
On 11/30/2011 10:19 PM, clipka wrote:
> Some soap bubbles, rendered with a complete re-design of the iridescence
> feature.

Outstanding ... I'll keep an eye on revision control. I'm anxious to get 
it a test drive. Since, it would seem, that my sea shell attempt at 
using iridescence is what inspired you to dig into this, I have a 
question about the aoi pattern that was mentioned as an alternative ... 
you wouldn't expect it (aoi) to respond to other pattern modifiers 
correct, as it doesn't appear to. However when I read the doc passage, 
"It gives a value proportional to the angle between the ray and the 
surface" it makes me think that's correct behavior. If this is true 
enough, perhaps I should make a slight addition to that passage to clarify.

Jim


Post a reply to this message

From: Jim Holsenback
Subject: Re: new iridescence
Date: 1 Dec 2011 08:38:50
Message: <4ed7836a$1@news.povray.org>
On 12/01/2011 03:23 AM, Thomas de Groot wrote:
> On 1-12-2011 4:19, clipka wrote:
>> Some soap bubbles, rendered with a complete re-design of the iridescence
>> feature.
> Excellent! A little treat for Jim's shells... ;-)
>
> Thomas
>

don't you just love good news first thing in the morning!


Post a reply to this message

From: clipka
Subject: Re: new iridescence
Date: 1 Dec 2011 09:32:35
Message: <4ed79003$1@news.povray.org>
Am 01.12.2011 14:37, schrieb Jim Holsenback:
> On 11/30/2011 10:19 PM, clipka wrote:
>> Some soap bubbles, rendered with a complete re-design of the iridescence
>> feature.
>
> Outstanding ... I'll keep an eye on revision control. I'm anxious to get
> it a test drive.

You are clear for take-off.

> Since, it would seem, that my sea shell attempt at
> using iridescence is what inspired you to dig into this, I have a
> question about the aoi pattern that was mentioned as an alternative ...
> you wouldn't expect it (aoi) to respond to other pattern modifiers
> correct, as it doesn't appear to. However when I read the doc passage,
> "It gives a value proportional to the angle between the ray and the
> surface" it makes me think that's correct behavior. If this is true
> enough, perhaps I should make a slight addition to that passage to clarify.

The description in the docs is correct. The mechanism is actually pretty 
similar to the slope pattern, except that the reference direction is not 
a constant "up" direction, but the direction of the light ray to the 
observer.

As the surface normal is only well-defined at the object's surface, you 
can't do stuff such as scaling, translating or rotating the pattern, or 
perturbing it (as that is essentially a non-uniform translation of the 
pattern).

You can perturb the surface normal though, which affects the aoi pattern.


Post a reply to this message

From: nemesis
Subject: Re: new iridescence
Date: 1 Dec 2011 10:50:27
Message: <4ed7a243$1@news.povray.org>
clipka escreveu:
> Am 01.12.2011 04:23, schrieb clipka:
>> .... and two pearls.
> 
> now with blurred reflection.

awesome!

how about some slight SSS, now? ;)

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: clipka
Subject: Re: new iridescence
Date: 1 Dec 2011 13:09:42
Message: <4ed7c2e6$1@news.povray.org>
Am 01.12.2011 16:50, schrieb nemesis:

> how about some slight SSS, now? ;)

Unfortunately, SSLT doesn't play nice with iridescence yet.


Post a reply to this message

From: Alain
Subject: Re: new iridescence
Date: 1 Dec 2011 14:31:19
Message: <4ed7d607@news.povray.org>

> Am 01.12.2011 07:39, schrieb waggy:
>> clipka wrote:
>>> Some soap bubbles, rendered with a complete re-design of the iridescence
>>> feature.
>>
>> Oh! Very nice! Will this fix make it into 3.7?
>
> I think so. It will break scenes relying on the crappy(*) existing
> iridescence, so it's better to introduce it with the transition from 3.6
> to 3.7, rather than 3.7.0 to 3.7.1 or something.
>
> (*For starters, the existing implementation doesn't respect a light
> source's color, or even brightness for that matter.)

I don't think that it will realy break those scenes.
Yes! They will render diferently, but the new result probably won't be 
bad. In fact, I won't be surpirsed if the result using your corrected 
code gets beter.



Alain


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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