|
|
Nathan Kopp wrote:
>
> There's actually a LOT of math involved in that, especially if you want to
> handle all sorts of sky vectors (rolling the camera). Luckily for you, the
> math has been done already. I did it for my lens flare include file, and
> adapted it for a "background" INC file (yet to be released).
Ah. I haven't looked at any lens flare files yet, but as I was doing the
copyright text thing I was thinking, you know, that might be how they do
those lens flare thingies.... :)
> The background.inc file creates a plane with a user-defined texture which is
> lined up with the camera's view at a user-defined distance from the camera.
> The math would basically be the same for putting everything in foreground, but
> the user would specify a much shorter distance and probably want to clip the
> plane (or use a different object, like a text object).
>
> I'll post here again when I finish cleaning up the INC files.
>
> -Nathan
>
Looking forward to it. In the meantime I'll see if I can assimilate some
lens flaring code... :)
--
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usitnet (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
You can bug the living bejesus out of me live on ICQ @ 491461
(If I don't get back to you within a month, I'm out of prozac in some
dark corner somewhere screaming things quite unintelligable but -- most
curiously -- thick with a sumerian accent.)
"The comedy is over" -i pagliacci
Post a reply to this message
|
|