Difference between revisions of "Using enblend to fill the "Hole in the floor""

From PanoTools.org Wiki
Jump to: navigation, search
m (correct trivial typos)
m (linkified)
Line 1: Line 1:
This is a simple example for filling the "Hole in the Floor" using regular textures in the nadir image:
+
This is a simple example for filling the "Hole in the Floor" using regular textures in the [[nadir]] image:
  
Prerequisites: You need image manipulation software which is able to create and manipulate alpha layers.
+
Prerequisites: You need image manipulation software which is able to create and manipulate alpha layers such as [[Photoshop]] or the [[Gimp]].
  
This is the original nadir cubeface (extracted by Panocube)
+
This is the original [[nadir]] cubeface (extracted by [[PanoCube]])
  
 
[[Image:Original.jpg]]
 
[[Image:Original.jpg]]
  
* Now switch to the alpha mask of your paint software. Here is an example as it may look in Photoshop:
+
* Now switch to the alpha mask of your paint software. Here is an example as it may look in [[Photoshop]]:
  
 
[[Image:Blendc1.jpg]]
 
[[Image:Blendc1.jpg]]
Line 19: Line 19:
 
[[Image:Part2.jpg]]
 
[[Image:Part2.jpg]]
  
Don't forget: The areas must have sufficient overlap. Otherwise enblend cannot work correctly.
+
Don't forget: The areas must have sufficient overlap. Otherwise [[enblend]] cannot work correctly.
  
* Save both images as TIFF (with the alpha mask)
+
* Save both images as [[TIFF]] (with the alpha mask)
  
* Now run enblend to have these images blended. The final image will look like this:
+
* Now run [[enblend]] to have these images blended. The final image will look like this:
  
 
[[Image:Test.jpg]]
 
[[Image:Test.jpg]]
  
If you want to play around with above examples, please download the files here: [[http://bernie.x-net.at/blend/blend.zip]]
+
If you want to play around with above examples, please [http://bernie.x-net.at/blend/blend.zip download the files from Bernhard Vogl's site]

Revision as of 17:26, 11 May 2005

This is a simple example for filling the "Hole in the Floor" using regular textures in the nadir image:

Prerequisites: You need image manipulation software which is able to create and manipulate alpha layers such as Photoshop or the Gimp.

This is the original nadir cubeface (extracted by PanoCube)

Original.jpg

  • Now switch to the alpha mask of your paint software. Here is an example as it may look in Photoshop:

Blendc1.jpg

  • Paint in the Alpha Mask using a brush with no feather to mask out unwanted areas. If you do everything right, the unwanted areas will have a red overlay:

Part1.jpg

  • Create a new image with the same size. Cut out a usable area from the original image and place it in the area where the unwanted areas are in the above image. Don't forget to create an appropriate alpha-mask. The new image may look like this:

Part2.jpg

Don't forget: The areas must have sufficient overlap. Otherwise enblend cannot work correctly.

  • Save both images as TIFF (with the alpha mask)
  • Now run enblend to have these images blended. The final image will look like this:

Test.jpg

If you want to play around with above examples, please download the files from Bernhard Vogl's site