POV-Ray : Newsgroups : povray.newusers : media and streaming light rays : Re: media and streaming light rays Server Time
30 Jul 2024 14:20:54 EDT (-0400)
  Re: media and streaming light rays  
From: Hughes, B 
Date: 11 Mar 2004 00:14:43
Message: <404ff5c3$1@news.povray.org>
"Mike Thorn" <fil### [at] roboticsresourcescom> wrote in message
news:404fe8e3$1@news.povray.org...
> Hello all,

Hi...

> In short, I'm trying to recreate the media effects displayed in the sample
> image for the menu item under Insert | Special Effects | Atmospheric
Media.

Ugh... that's one of my little contributions. That room with a window isn't
as simple as it looks. Simple to get the media looking good, I mean. Media
seldom is easy when it comes to using it under varying circumstances, as you
must know by now.

> reading my code, so please feel free to download my 939KB file here:
> http://www.roboticsresources.com/spottedcowstudios/media.pov . I know it's
> huge...long story. Skip from line 103 to line 24150 if you don't want to
die
> of boredom. You may get a bunch of errors on the LDRAW stuff; just comment
> it out or cut it completely. Oh, and you'll need the Lens.inc file I'm
> using: http://www.roboticsresources.com/spottedcowstudios/lens.inc.
>
> And as for what I'm trying to do (no, the pillar of smoke is not what I
> want!): there is a light source behind the white figure standing in the
> middle of the cloud (comment out the media and you'll see him there). What
I
> want to do is create an animation where the light source moves vertically
> behind him, illuminating media around the figure so that it looks like you
> can see the light rays (sometimes you see this with the sun and clouds, or
> in a dusty room with strong sunlight).

Ok. Wow, that is quite a file so I was glad to find out that the fix might
be as uncomplicated as reducing the scattering value by a factor of ten to
0.01 instead of the current 0.1. Apparently it's only a matter of a largish
box in which the media scatters too much, thus making for a thick density.
You might need to tweak it further, for instance the 'extinction' might be
able to go higher or add slight 'absorption'.

Unfortunately, asking for help with media can entail all sorts of "in the
eye of the beholder" stuff, so you might get varying opinions (even from
yourself) until it looks the way you want it.

My question to you would be: is that stretched background image what you
intended? I'm guessing it's Earth clouds.

-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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