![]() |
|
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Blend Mask TIF format
I'm trying to create a blend mask, if I create a 24BIT BITMAP it seems to work fine but when I create a TIF (8BIT/GRAYSCALE) I get an error during the compilation "unknown data type" when it reads the blend mask data and compiles the photo scenery without the blend mask, any ideas on what am I doing wrong with saving the TIF file?
|
|
#2
|
|||
|
|||
|
I believe that SbuilderX will look for an 8-bit BMP as a blendmask.
Dick |
|
#3
|
|||
|
|||
|
I have a tutorial and also read a sticky at another forum that said it should be TIFF. anyways its not a problem with SBUILDER, the resample itself doesn't work with my TIFF... is there any difference at all between a TIFF and a BMP source? (mybe file size?) if there is no difference than it doesn't really matter...
|
|
#4
|
|||
|
|||
|
Why not post the inf file?
Dick |
|
#5
|
|||
|
|||
|
there you go:
Code:
[Source] Type = MultiSource NumberOfSources = 3 [Source1] Type = BMP Layer = Imagery SourceDir = "." SourceFile = "L16X78226X78250Y53215Y53235.BMP" Variation = Day Channel_BlendMask = 3.0 NullValue = 255,255,255 SamplingMethod = Gaussian ulyMap = 32.0290348187359 ulxMap = 34.8541259765625 xDim = 1.07288360595692E-05 yDim = 9.09811409371567E-06 [Source2] Type = BMP Layer = Imagery SourceDir = "." SourceFile = "L16X78226X78250Y53215Y53235_LM.BMP" Variation = Night Channel_BlendMask = 3.0 NullValue = 255,255,255 SamplingMethod = Gaussian ulyMap = 32.0290348187359 ulxMap = 34.8541259765625 xDim = 1.07288360595692E-05 yDim = 9.09811409371567E-06 [Source3] Type = TIFF Layer = None SourceDir = "." SourceFile = "L16X78226X78250Y53215Y53235_B.TIF" SamplingMethod = Gaussian ulyMap = 32.0290348187359 ulxMap = 34.8541259765625 xDim = 1.07288360595692E-05 yDim = 9.09811409371567E-06 [Destination] DestDir = "." DestBaseFileName = "LLBG_Photo01" DestFileType = BGL LOD = Auto UseSourceDimensions = 1 CompressionQuality = 90 |
|
#6
|
|||
|
|||
|
Tiff is a fairly flexible format. You have to make sure that the proper options are used, 8 bit, grayscale, min is black.
scott s. . |
|
#7
|
|||
|
|||
|
its an 8-bit grayscale, what do you mean by "min is black" ?
|
|
#8
|
|||
|
|||
|
that's a tag that says to interpret 0 as black, 255 as white. Don't know if resample reads that tag, just know that tiff supports it. (the tag name is "Photometric"). You might also look at any compression in the tiff. I think resample is OK with none or Packbits.
scott s. . |
|
#9
|
|||
|
|||
|
is there any difference between using a 24BIT BMP blend mask to a TIFF blend mask? or that it doesn't worth my effort at all...?
|
|
#10
|
|||
|
|||
|
I think a 24 bit bmp probably works, because the info in each cahannel is identical, so 3.0 will cause resample to read the first channel (red I guess) of the bmp and interpret it as the blend data, so it will work. I only use tiff, because I use GIS software which creates geoTiff and I don't have to figure out the xdim, ydim stuff for resample.
scott s. . |
|
#11
|
|||
|
|||
|
thanks scott
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blend Mask | Em00119 | Ground2k4, SBuilder, SBuilderX | 6 | 16-01-2010 23:42 |
| AFCAD Layout Done...what next? | thetford569 | Airport Design Editor | 12 | 09-12-2009 10:53 |
| XML Mask Images | Doia | Gauges | 4 | 09-11-2009 11:14 |
| Blend Masks and Autogen | Buzz313th | FSX terrain | 19 | 27-10-2008 18:44 |
| Possible too add blend mask later afterwards? | tabrenna | FSX terrain | 2 | 07-01-2008 16:51 |