| Adding a Background Image to a POV-Ray Generated Image Using Alpha Channels and PhotoShop | |||||||||||||||||||||||||||||||||||||||||||||
POV-Ray can create images with an alpha channel, which can be used to determine transparency. This tutorial will show one way to use the alpha channel and add a background image that is visible through the POV-Ray generated graphic. Note: You should only use this method if your end result needs to have an alpha layer. For example, Max OS X's window server uses alpha channels to determine transparencies and drop shadows. Or by doing further changes to the alpha layer, you may be able to get some effects that you can not with any other method. This tutorial should give you an idea of some of the blending options that can be done using alpha layers. If you just want to put a background image behind a POV-Ray image, it is much easier to save the POV-Ray image in the PNG file format. Open the PNG in Photoshop, and paste a background in a layer behind the POV-Ray image. It will produce the same results in this tutorial, but your PNG will NOT have alpha channels. |
|||||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||
Figure 1: Transparent LEGO bricks generated by POV-Ray |
Figure 2: A Simple Flat Image Star Field |
||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||
Figure 3: Transparent LEGO bricks with Star Field |
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
| Help Desk Tutorial: Adding a Background Image to POV-Ray Using
Alpha Channels & Photoshops Version 1.0 Created by James Reynolds [4], (james@scl.utahAVOIDSPAM.edu [5]) http://www.ldraw.org/ [6] |
|||||||||||||||||||||||||||||||||||||||||||||