|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|