POV-Ray : Newsgroups : povray.newusers : light fading in water Server Time
5 Nov 2024 01:21:31 EST (-0500)
  light fading in water (Message 1 to 4 of 4)  
From: Mick Hazelgrove
Subject: light fading in water
Date: 20 Oct 2000 14:57:14
Message: <39f0958a@news.povray.org>
I want to make light fade in water. I've been through all the available
tuorials and tried everything I can find in the manual.

I want to make a figure, viewed from a high angle, fade away as you look
down in the water at him so that his feet are probably not visible.

Has anyone tried this, any tips, code or help gratefully received.

Thanks

Mick


Post a reply to this message

From: Bob H 
Subject: Re: light fading in water
Date: 20 Oct 2000 15:23:52
Message: <39f09bc8@news.povray.org>
"Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk> wrote in message
news:39f0958a@news.povray.org...
> I want to make light fade in water. I've been through all the available
> tuorials and tried everything I can find in the manual.
>
> I want to make a figure, viewed from a high angle, fade away as you look
> down in the water at him so that his feet are probably not visible.
>
> Has anyone tried this, any tips, code or help gratefully received.

It's been done, and done a few different ways I'd say.
What you would use is either fade_distance and fade_power in the water object
(fade_color esp. useful in MegaPOV) or difference the "figure" away from the
water object having that textured with a gradient y pattern going from clear to
unclear along -y.  Then put the figure, or person, back into the scene at a
slightly reduced scale (can be imperfect if scaled too much or the object is
complex).
Another way is to use media or ground fog (type 2) inside the water object.

Bob


Post a reply to this message

From: Margus Ramst
Subject: Re: light fading in water
Date: 20 Oct 2000 16:11:44
Message: <39F098DC.E09841EA@peak.edu.ee>
Mick Hazelgrove wrote:
> 
> Has anyone tried this, any tips, code or help gratefully received.
> 

Have you looked Christoph Hormann's tutorials?
http://www.schunter.etc.tu-bs.de/~chris/raytracing.html

Some sort of light fading is one thing to add (either with fade_distance &
fade_colour or media). Another is variable reflection, in combination with
conserve_energy, which makes the water more reflective & less transparent at
shallow angles (I am of course assuming you use MegaPOV)

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: light fading in water
Date: 21 Oct 2000 04:37:11
Message: <39f155b7@news.povray.org>
Thanks You've given me the clue I needed.

Mick

"Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk> wrote in message
news:39f0958a@news.povray.org...
> I want to make light fade in water. I've been through all the available
> tuorials and tried everything I can find in the manual.
>
> I want to make a figure, viewed from a high angle, fade away as you look
> down in the water at him so that his feet are probably not visible.
>
> Has anyone tried this, any tips, code or help gratefully received.
>
> Thanks
>
> Mick
>
>
>


Post a reply to this message

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