FSDeveloper Community

Go Back   FSDeveloper Community > Development > Scenery design > Terrain design > Ground2k4, SBuilder, SBuilderX

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2010, 03:33
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
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?
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
  #2  
Old 07-02-2010, 09:14
rhumbaflappy rhumbaflappy is offline
  Users Flag!
Location: Delavan
Join Date: Jun 2004
Posts: 1,419
I believe that SbuilderX will look for an 8-bit BMP as a blendmask.

Dick
Reply With Quote
  #3  
Old 08-02-2010, 05:17
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
Quote:
Originally Posted by rhumbaflappy View Post
I believe that SbuilderX will look for an 8-bit BMP as a blendmask.

Dick
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...
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
  #4  
Old 08-02-2010, 08:57
rhumbaflappy rhumbaflappy is offline
  Users Flag!
Location: Delavan
Join Date: Jun 2004
Posts: 1,419
Why not post the inf file?

Dick
Reply With Quote
  #5  
Old 08-02-2010, 10:20
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
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
when I save the blend as BMP and change the type at source 3 to BMP it works fine, when its in TIF format it doesn't apply the blend
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
  #6  
Old 08-02-2010, 17:14
scott967 scott967 is offline
  Users Flag!
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,062
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.
.
Reply With Quote
  #7  
Old 09-02-2010, 02:16
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
its an 8-bit grayscale, what do you mean by "min is black" ?
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
  #8  
Old 09-02-2010, 14:27
scott967 scott967 is offline
  Users Flag!
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,062
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.
.
Reply With Quote
  #9  
Old 09-02-2010, 17:20
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
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...?
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
  #10  
Old 10-02-2010, 00:21
scott967 scott967 is offline
  Users Flag!
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,062
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.
.
Reply With Quote
  #11  
Old 10-02-2010, 03:35
ido_ ido_ is offline
  Users Flag!
Join Date: Nov 2006
Posts: 57
Send a message via MSN to ido_
thanks scott
__________________
Ido Rosenthal
ISP Team
www.ait-aviation.org/ISP
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 07:42.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.