POV-Ray : Newsgroups : povray.binaries.scene-files : Light Beams in a Dusty Atmosphere Server Time
1 Sep 2024 14:23:36 EDT (-0400)
  Light Beams in a Dusty Atmosphere (Message 1 to 9 of 9)  
From: Sven Littkowski
Subject: Light Beams in a Dusty Atmosphere
Date: 15 Nov 2006 07:19:05
Message: <455b05b9@news.povray.org>
Hi everyone.

Is there any sample code how to create a dusty atmosphere where lightsources 
create visible light beams, and where the air around a lightsource is 
iluminated (particles?)?

I know I once saw such an image rendered with POV-Ray, but I don't remember 
anymore and have no access to the details or sourcecode.

Thanks,

Sven


Post a reply to this message

From: Alain
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 15 Nov 2006 22:44:05
Message: <455bde85$1@news.povray.org>
Sven Littkowski nous apporta ses lumieres en ce 15/11/2006 07:19:
> Hi everyone.

> Is there any sample code how to create a dusty atmosphere where lightsources 
> create visible light beams, and where the air around a lightsource is 
> iluminated (particles?)?

> I know I once saw such an image rendered with POV-Ray, but I don't remember 
> anymore and have no access to the details or sourcecode.

> Thanks,

> Sven 


More than one way.
Acurate but slow: fill the scene with scathering media.
Somewhat faster: as above, but the media is contained around the beam by some 
container.
Both use a strong light_source to illuminate the media.
Faked but faster: the beam path is materialised by a long conical container 
filled with emissive media.
Here, the actual light is just for show as the media itself is luminous.
Using the last 2, you need to increase max_trace_level, particularly if you have 
multiple beams that may visualy cross each other.


-- 
Alain
-------------------------------------------------
If you are good, you will be assigned all the work. If you are really good, you 
will get out of it.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 16 Nov 2006 08:43:08
Message: <455c6aec$1@news.povray.org>
Alain,

can you give me an example code? I just start to work with media...   :-(

Thanks,

Sven


> More than one way.
> Acurate but slow: fill the scene with scathering media.
> Somewhat faster: as above, but the media is contained around the beam by 
> some container.
> Both use a strong light_source to illuminate the media.
> Faked but faster: the beam path is materialised by a long conical 
> container filled with emissive media.
> Here, the actual light is just for show as the media itself is luminous.
> Using the last 2, you need to increase max_trace_level, particularly if 
> you have multiple beams that may visualy cross each other.
>
>
> -- 
> Alain
> -------------------------------------------------
> If you are good, you will be assigned all the work. If you are really 
> good, you will get out of it.


Post a reply to this message

From: Alain
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 16 Nov 2006 17:16:28
Message: <455ce33c$1@news.povray.org>
Sven Littkowski nous apporta ses lumieres en ce 16/11/2006 08:43:
> Alain,

> can you give me an example code? I just start to work with media...   :-(

> Thanks,

> Sven


>> More than one way.
>> Acurate but slow: fill the scene with scathering media.
>> Somewhat faster: as above, but the media is contained around the beam by 
>> some container.
>> Both use a strong light_source to illuminate the media.
>> Faked but faster: the beam path is materialised by a long conical 
>> container filled with emissive media.
>> Here, the actual light is just for show as the media itself is luminous.
>> Using the last 2, you need to increase max_trace_level, particularly if 
>> you have multiple beams that may visualy cross each other.


>> -- 
>> Alain
>> -------------------------------------------------
>> If you are good, you will be assigned all the work. If you are really 
>> good, you will get out of it. 


Minimal samples for the suggestions.
1-
media{scattering{1 rgb 1}samples 100}//scene whide media using isotropic scattering
light_source{0, rgb 100//very bright so you can easily see the beam
	spot_light radius 2 falloff 3 point_at x rotate -32*y}
//A tight spot light shining to the right and away

2-
union{//link light and media cone so they can be oriented together
cone{0,0, 1000*x,53 pigment{rgbt 1}interior{media{scattering{1 rgb 1}samples 10}}}
light_source{0, rgb 100//very bright so you can easily see the beam
	spot_light radius 2 falloff 3 point_at x}
rotate -32*y}

3-
cone{0,0, 1000*x,53 pigment{rgbt 1}interior{media{emission 50}samples 10}rotate 
32*y}
//this won't shed any light, unless you are using radiosity.

-- 
Alain
-------------------------------------------------
No matter how good she looks, some other guy is sick and tired of putting up 
with her shit.
	Men's Room, Linda's Bar and Grill, Chapel Hill , NC


Post a reply to this message

From: Sven Littkowski
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 17 Nov 2006 02:58:49
Message: <455d6bb9$1@news.povray.org>
Alain,

thanks a lot!

I tried it out, but the current beta version does not reach yet the full 
performance of the last full version of POV-Ray. Seems I have to wait... 
:-(

I will try to get the last full version and try the render!

Greetings,

Sven


Post a reply to this message

From: Thomas de Groot
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 17 Nov 2006 03:26:27
Message: <455d7233$1@news.povray.org>
"Sven Littkowski" <sve### [at] jamaica-focuscom> schreef in bericht 
news:455d6bb9$1@news.povray.org...
> Alain,
>
> thanks a lot!
>
> I tried it out, but the current beta version does not reach yet the full 
> performance of the last full version of POV-Ray. Seems I have to wait... 
> :-(

Beta is beta, Sven  :-)

>
> I will try to get the last full version and try the render!
>
How so? If you can use the beta, you have already a full version? Or do I 
miss something here?
By the way, Megapov is also really worthwhile.

Thomas


Post a reply to this message

From: Sven Littkowski
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 17 Nov 2006 11:55:51
Message: <455de997@news.povray.org>
Beta is not yet fully reaching the performance.

That's why I need to get the last "regular" version. The betas always 
overwite the .exe files of the regular version.

Greetings,

Sven


Post a reply to this message

From: Alain
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 17 Nov 2006 20:33:35
Message: <455e62ef$1@news.povray.org>
Sven Littkowski nous apporta ses lumieres en ce 17/11/2006 11:55:
> Beta is not yet fully reaching the performance.

> That's why I need to get the last "regular" version. The betas always 
> overwite the .exe files of the regular version.

> Greetings,

> Sven 


Install the beta in it's own subfolder.
That way, you have both versions available. It's the proposed and recomended way 
of doing it.

-- 
Alain
-------------------------------------------------
Hardware, n.: The parts of a computer system that can be kicked.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Light Beams in a Dusty Atmosphere
Date: 18 Nov 2006 08:25:43
Message: <455f09d7@news.povray.org>
True, true. I should have done so...   :-)

Thanks,

Sven




> Install the beta in it's own subfolder.
> That way, you have both versions available. It's the proposed and 
> recomended way of doing it.
>
> -- 
> Alain
> -------------------------------------------------
> Hardware, n.: The parts of a computer system that can be kicked.


Post a reply to this message

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