POV-Ray : Newsgroups : povray.general : Cloud technique ???? Server Time
9 Aug 2024 13:19:36 EDT (-0400)
  Cloud technique ???? (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mike
Subject: Re: Cloud technique ????
Date: 10 Aug 2000 17:57:06
Message: <39932539.F6B6D11C@aol.com>
I got it to work by putting a small sphere around the camera, double
illuminating it, and hacking the source so that it calculates phong on
the reverse side.  Works pretty good except for the point nature of the
light makes it blink on and off rather suddenly.  There's an animation
in p.b.a

-Mike


Post a reply to this message

From: Chris Colefax
Subject: Re: Cloud technique ????
Date: 10 Aug 2000 19:27:47
Message: <39933a73@news.povray.org>
Mike <Ama### [at] aolcom> wrote:
> I was pondering how to do this and the clouds, sky, and sun are easy
> enough to do.  The only thing left was the lens flare and sun glow, but
> notice that in the cloud program the flare and glow vary with the sun
> intensity through the clouds.  Could post_process read the filter value
> of the sun through the clouds and use this to adjust the intensity of
> those?

A while ago I created a cloud animation that includes a sun lens effect,
with the brightness affected by the cloud density (~400 Kb AVI):

   http://www.geocities.com/ccolefax/movies/clouds.avi


The simple technique seems to work quite well, giving a glow around the
cloud edges, and leaving the sun disc itself visible through thick cloud,
when the rays and glow are not.  No doubt more complex flare effects could
be created using MegaPOV's features, but the original animation would just
about render in POV 3.0.


Post a reply to this message

From: Chris Huff
Subject: Re: Cloud technique ????
Date: 11 Aug 2000 10:53:44
Message: <chrishuff-39832F.09545011082000@news.povray.org>
In article <39932539.F6B6D11C@aol.com>, Mike <Ama### [at] aolcom> 
wrote:

> I got it to work by putting a small sphere around the camera, double
> illuminating it, and hacking the source so that it calculates phong on
> the reverse side.  Works pretty good except for the point nature of the
> light makes it blink on and off rather suddenly.  There's an animation
> in p.b.a

Could you share this "hack"? In my opinion, the lack of highlight 
effects on the reverse side of a double_illuminated object is a bug.

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Mike
Subject: Re: Cloud technique ????
Date: 11 Aug 2000 12:10:56
Message: <39942599.312E90CF@aol.com>
> Could you share this "hack"?

Comment out this conditional part from do_phong

if (Cos_Angle_Of_Incidence > 0.0)
  {
  }

If you look near the top of lighting.c, you'll notice that phong,
specular, and other functions execute if the object bears the
double_illuminate flag, the highlights are just skipped inside each
function if the light is behind the point.

-Mike


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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