POV-Ray : Newsgroups : povray.unofficial.patches : Incidence Pattern Server Time
3 Jul 2024 05:09:59 EDT (-0400)
  Incidence Pattern (Message 1 to 3 of 3)  
From: Tom Hudson
Subject: Incidence Pattern
Date: 25 Nov 2002 15:55:07
Message: <web.3de28daec5322107f0bb2dee0@news.povray.org>
I was trying to produce a realistic atmosphere for an image, becoming hazy
towards the horizon. I tried using media but it didn't produce quite the
results I wanted (or took too long to render) and static gradients are too
limiting.
I've since written a new pattern which can do exactly this kind of thing.
It works by varying the value returned between 0.0 and 1.0 as the angle
between the camera rays and the surface normal vary.
It can be used as both a texture and a pigment.

It has a wide range of applications, from LCD screens to computationally
cheap atmosphere, you can see examples and get the incidence patch at:

http://povray.singular.org.uk/


If there's another way to do this already I couldn't find it, either way
this is my "hello world", I hope it proves useful.

Tom


Post a reply to this message

From: Christoph Hormann
Subject: Re: Incidence Pattern
Date: 25 Nov 2002 16:20:53
Message: <3DE29433.B9F07BF7@gmx.de>
Tom Hudson wrote:
> 
> [...]
> 
> If there's another way to do this already I couldn't find it, either way
> this is my "hello world", I hope it proves useful.

Hello and welcome, but i have to discourage you, this has already been
done before:

http://martial.rameaux.free.fr/mael/MLPov.html#AOI

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 15 Nov. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Tom Hudson
Subject: Re: Incidence Pattern
Date: 25 Nov 2002 18:00:14
Message: <web.3de2a9d27038509f0bb2dee0@news.povray.org>
Christoph Hormann wrote:
>
>Tom Hudson wrote:
>>
>> [...]
>>
>> If there's another way to do this already I couldn't find it, either way
>> this is my "hello world", I hope it proves useful.
>
>Hello and welcome, but i have to discourage you, this has already been
>done before:
>
>http://martial.rameaux.free.fr/mael/MLPov.html#AOI
>
So it has, and it's more flexible too.
If I'd known that existed before I wouldn't have had to write my own. So
much for search engines.
Ah well, I had fun doing it, and I'm quite pleased with how some of the
example animations came out.

Tom

PS - I'm not sure you actually _have_ to discourage me.


Post a reply to this message

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