| Compositing and Transparency Mapping | |
| Garret Smith | |
| next>> | |
| Basic Theory | |
Compositing
Transparency Mapping
|
|
| <<prev | next>> |
| Potential Uses | |
Compositing
Transparency Mapping
Both Together
|
|
| <<prev | next>> |
| How to do it | |
Procedure
|
|
| <<prev | next>> |
| Step 1 | |
Start with a source image. The better the quality, the better the results.
The more contrast between the image you want to incorporate into your scene
and the background the better.
|
|
| <<prev | next>> |
| Step 2 | |
Create a mask around the part of the image you want to appear. Tools like Adobe Photoshop and Corel PhotoPaint have masking tools that allow the creation of masks by color, border, or similarity to currently masked regions. If you want to mask a highly variable area, try masking around it and inverting the mask. This can be slightly tedious. |
|
| <<prev | next>> |
| Step 3 | |
Save the mask as a seperate image. Again, Photoshop and PhotoPaint allow you to save masks drectly. Take note of the dimensions of the image and mask. (1176x2124 in my case) |
|
| <<prev | next>> |
| Step 4 | |
On to ModelerCreate a simple shape in modeler to project the image onto Use the dimensions of the image as a guide for the size of the object My image was 1176 x 2124 so I made a box 12 x 21 x 0.1 Keep the rectangle or other shape very thin so no unexpected shadows arise The key is to maintain the aspect ratio so the image does not get stretched or squashed |
|
| <<prev | next>> |
| Step 5 | |
On to Layout - Texture
Load the object into Layout Open the Surface Editor Press the "T" next to Color Select a Planar projetion and load the color image Select the "Pixel Blending" and "Texture Antialiasing" options Press the "Automatic Sizing" button to scale the bitmap to fit the polygon Ensure that the "World Coordinates" checkbox is empty |
|
| <<prev | next>> |
| Step 6 | |
On to Layout - Transparency
Do the same with the Transparency settings, but load the mask created earlier Ensure that what you want to see is black, and what you want to be transparent is white |
|
| <<prev | next>> |
| Step 7 | |
On to Layout - BumpDo with the bump channel the same as the Color and Transparency channels I obtained good results by using the transparency mask in the bump channel
Which one looks better to you?
|
|
| <<prev | next>> |
| Results | |
|
Previous slide: The tree on the right used bump mapping Grove of Trees
|
|
| <<prev | next>> |
| Other Possibilities | |
Use a transparency map with a procedural or repeating texture |
|
| <<prev | next>> |
| Other Possibilities | |
Create a camera filter or frame
Note: Transparency Masks can be grayscale! The lighter the hue, the higher the transparency |
|
| <<prev | next>> |
| Recap | |
Pros
Cons
|
|
| <<prev | |