POV-Ray : Newsgroups : povray.general : finish emission Server Time
25 Dec 2024 21:04:54 EST (-0500)
  finish emission (Message 1 to 7 of 7)  
From: Mike Horvath
Subject: finish emission
Date: 8 Sep 2016 01:16:05
Message: <57d0f415$1@news.povray.org>
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission

Is emission always a single number, or does it take a color vector too? 
I have emission 1 in my scene and am wondering if I should use a light 
source's color value as well.


Mike


Post a reply to this message

From: Stephen
Subject: Re: finish emission
Date: 8 Sep 2016 01:40:44
Message: <57d0f9dc$1@news.povray.org>
On 9/8/2016 6:16 AM, Mike Horvath wrote:
> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
>
>
> Is emission always a single number, or does it take a color vector too?
> I have emission 1 in my scene and am wondering if I should use a light
> source's color value as well.
>
>

It takes a colour vector.


-- 

Regards
     Stephen


Post a reply to this message

From: Mike Horvath
Subject: Re: finish emission
Date: 8 Sep 2016 02:20:56
Message: <57d10348$1@news.povray.org>
On 9/8/2016 1:40 AM, Stephen wrote:
> On 9/8/2016 6:16 AM, Mike Horvath wrote:
>> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
>>
>>
>>
>> Is emission always a single number, or does it take a color vector too?
>> I have emission 1 in my scene and am wondering if I should use a light
>> source's color value as well.
>>
>>
>
> It takes a colour vector.
>
>

Is it better to use the color vector than "1"?


Post a reply to this message

From: Stephen
Subject: Re: finish emission
Date: 8 Sep 2016 02:53:41
Message: <57d10af5$1@news.povray.org>
On 9/8/2016 7:21 AM, Mike Horvath wrote:
> On 9/8/2016 1:40 AM, Stephen wrote:
>> On 9/8/2016 6:16 AM, Mike Horvath wrote:
>>> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
>>>
>>>
>>>
>>>
>>> Is emission always a single number, or does it take a color vector too?
>>> I have emission 1 in my scene and am wondering if I should use a light
>>> source's color value as well.
>>>
>>>
>>
>> It takes a colour vector.
>>
>>
>
> Is it better to use the color vector than "1"?

It depends what you want the effect to be. If you want a white emission 
then use a digit.
If you want something more interesting then use the vector.

   absorption srgb <0.000,1.000,1.000> * Absorption_Factor
   emission   srgb <1.000,0.000,0.000> * Emission_Factor


-- 

Regards
     Stephen


Post a reply to this message

From: Mike Horvath
Subject: Re: finish emission
Date: 8 Sep 2016 03:46:16
Message: <57d11748$1@news.povray.org>
On 9/8/2016 2:53 AM, Stephen wrote:
> On 9/8/2016 7:21 AM, Mike Horvath wrote:
>> On 9/8/2016 1:40 AM, Stephen wrote:
>>> On 9/8/2016 6:16 AM, Mike Horvath wrote:
>>>> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Is emission always a single number, or does it take a color vector too?
>>>> I have emission 1 in my scene and am wondering if I should use a light
>>>> source's color value as well.
>>>>
>>>>
>>>
>>> It takes a colour vector.
>>>
>>>
>>
>> Is it better to use the color vector than "1"?
>
> It depends what you want the effect to be. If you want a white emission
> then use a digit.
> If you want something more interesting then use the vector.
>
>    absorption srgb <0.000,1.000,1.000> * Absorption_Factor
>    emission   srgb <1.000,0.000,0.000> * Emission_Factor
>
>


I'm not talking about emissive media. I am talking about the emission 
keyboard in the finish statement.

Also, I'm not sure how to update the lens effects script.

http://www.oocities.org/ccolefax/lenseffects.html

It defines pigments and finishes at different times and places in the 
code. Very tricky.


Mike


Post a reply to this message

From: Stephen
Subject: Re: finish emission
Date: 8 Sep 2016 04:01:04
Message: <57d11ac0$1@news.povray.org>
On 9/8/2016 8:46 AM, Mike Horvath wrote:
> On 9/8/2016 2:53 AM, Stephen wrote:
>> On 9/8/2016 7:21 AM, Mike Horvath wrote:
>>> On 9/8/2016 1:40 AM, Stephen wrote:
>>>> On 9/8/2016 6:16 AM, Mike Horvath wrote:
>>>>> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Is emission always a single number, or does it take a color vector
>>>>> too?
>>>>> I have emission 1 in my scene and am wondering if I should use a light
>>>>> source's color value as well.
>>>>>
>>>>>
>>>>
>>>> It takes a colour vector.
>>>>
>>>>
>>>
>>> Is it better to use the color vector than "1"?
>>
>> It depends what you want the effect to be. If you want a white emission
>> then use a digit.
>> If you want something more interesting then use the vector.
>>
>>    absorption srgb <0.000,1.000,1.000> * Absorption_Factor
>>    emission   srgb <1.000,0.000,0.000> * Emission_Factor
>>
>>
>
>
> I'm not talking about emissive media. I am talking about the emission
> keyboard in the finish statement.
>

I don't use it. I am stuck on Pov 3·6.

But since "The syntax and effect are virtually identical to ambient".

Use it the way you would with ambient to add a bit of lighting. You can 
also use it with radiosity to make an object glow a colour.



> Also, I'm not sure how to update the lens effects script.
>
> http://www.oocities.org/ccolefax/lenseffects.html
>
> It defines pigments and finishes at different times and places in the
> code. Very tricky.
>
>

Sorry, it is years since I looked at it and even then it was as a plugin.

I would be tempted to load the file(s) in a spreadsheet and filter it on 
ambient and emission. Just to see how often they are referenced. It 
might be a simple find & replace, job.



-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: finish emission
Date: 8 Sep 2016 04:08:30
Message: <57d11c7e$1@news.povray.org>
Am 08.09.2016 um 07:16 schrieb Mike Horvath:
> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.3#Using_Emission
> 
> Is emission always a single number, or does it take a color vector too?
> I have emission 1 in my scene and am wondering if I should use a light
> source's color value as well.

The emission can be a colour, but it is automatically multiplied by the
pigment colour. So to get a coloured emission, you can _either_ use a
white pigment and set `emission` to the desired colour, _or_ use a
pigment of the desired colour and set `emission` to a float.

And yes, you should indeed do one of these things in a looks_like object
if the light source itself isn't white.


Post a reply to this message

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