POV-Ray : Newsgroups : povray.general : Alpha Bending : Re: Alpha Bending Server Time
12 Aug 2024 21:19:38 EDT (-0400)
  Re: Alpha Bending  
From: Lance Birch
Date: 11 Jan 1999 18:08:46
Message: <369a847e.0@news.povray.org>
I was going to start work on a MAX plug-in that did the same thing, only my
C++ is scratchy, so I don't think it's going to develop into anything...

The main thing you have to do is have a depth/bulge map of the distortion.
For instance, white is total strength black is none.  Then you use this and
calculate the pixel offset distance and retreave the pixel from the
background image.  You can also shade this a bit to give it more depth.  The
problem I encountered was which direction to take it from.  I'm going to try
(with a MAX plug-in) to extract the normal channel (the channel which
contains all normal vectors for the image) and use that to get the
direction...

--
Lance.


---
For the latest MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

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