I followed the wiki for doing alpha blending, when geoconvert is finished, the alpha blending doesn’t show. The TM log, says (files unable to load) and lists the .tiff files
Todd
I followed the wiki for doing alpha blending, when geoconvert is finished, the alpha blending doesn’t show. The TM log, says (files unable to load) and lists the .tiff files
Todd
Hi
Maybe,file name is wrong. ‘tif’ is correct.
Puh... not exactly what I have. I have the Problem, that Geoconverter can convert my bmp source files to ttc. It produce even _mask files (From where he think he can take the information I don't know, the size is always 1 kb. Also not all ttc files have a corresponding mask file…)
If I put the masks in the alpha channel and save the tif (I can see the working alpha channel in a viewer) and I change the file format in the .inf file to .tif, the geoconverter ist doing something but does not write any ttc and mask ttc files. There is no output.
I thought it is, because Paint Shop Pro X7 does not write the correct tif format. So I install gimp and export the tif in a format recommended in the IPACS tutorial. Starting up geoconverter again: Result: no files.
I tried both: 1 Bit Alpha Channel and 8 bit Alpha Channel.
Any Idea?
<[file][][]
<[tmcolormap_regions][][]
<[bool] [write_images_with_mask][true]>
<[bool] [write_ttc_files][true]>
<[string8][folder_destination_ttc][./scenery2/images/]>
<[bool] [always_overwrite][true]>
<[string] [folder_source_files][D:/Aerofly FS 2 Flight Simulator Development/FSET/L5/Tansania/]>
<[list][region_list][]
<[tmcolormap_region][element][0]
<[uint32] [level] [6]>
<[vector2_float64] [lonlat_min] [22.50 -0.00]>
<[vector2_float64] [lonlat_max] [45.00 -21.893784]>
>
<[tmcolormap_region][element][0]
<[uint32] [level] [7]>
<[vector2_float64] [lonlat_min] [22.50 -0.00]>
<[vector2_float64] [lonlat_max] [45.00 -21.893784]>
>
<[tmcolormap_region][element][0]
<[uint32] [level] [8]>
<[vector2_float64] [lonlat_min] [22.50 -0.00]>
<[vector2_float64] [lonlat_max] [45.00 -21.893784]>
>
<[tmcolormap_region][element][0]
<[uint32] [level] [9]>
<[vector2_float64] [lonlat_min] [22.50 -0.00]>
<[vector2_float64] [lonlat_max] [45.00 -21.893784]>
>
>
>
>
inf:
-----
[Destination]
DestDir = D:\Aerofly FS 2 Flight Simulator Development\FSET\Scenery\scenery
DestBaseFileName = Area_Lp8_SnapOff_N000000000_S010564881_E033450000_E045000000
BuildSeasons = 0
UseSourceDimensions = 1
CompressionQuality = 100
LOD = Auto,13
[Source]
Type = Custom
SourceDir = D:\Aerofly FS 2 Flight Simulator Development\FSET\L5\Tansania
SourceFile = Area_Lp8_SnapOff_N000000000_S010564881_E033450000_E045000000.tif
Lon = 33.75 ;for top left and bottom right is: 45
Lat = 0 ;for top left and bottom right is: -10.9471893310547
NumOfCellsPerLine = 12288 ;Pixel is not used in FSX
NumOfLines = 15943 ;Pixel is not used in FSX
CellXdimensionDeg = 0.00091552734375
CellYdimensionDeg = 0.0006866455078125
PixelIsPoint = 0
SamplingMethod = Point
0.00-tmmodule: (tmsystimer,1)
0.00-tmmodule: init modules=(tmsystimer=ok) done
0.00-tmsyswin: Program version 1.4.3
0.00-tmsyswin: Copyright (C) 1998-2017 IPACS
0.00-tmsyswin: memory=(physical=32578MB, avail=21388MB) (virtual=37442MB, avail=134217727MB) (34 in use)
0.01-tmsyswin: operating system (10.0)= Microsoft Windows 10 or newer
0.01-tmsyswin: monitor size = 474 296
0.01-tmsyswin: fullscreen modes=(1024x768x32x60) (1024x768x32x70) (1024x768x32x75) (1152x864x32x75) (1280x768x32x60) (1280x800x32x60) (1280x960x32x60) (1280x1024x32x60) (1280x1024x32x75) (1360x768x32x60) (1366x768x32x60) (1680x1050x32x60)
0.08-tmsysprogram: application init. commandline='gch2.tmc' userfolder='./'
0.11-tmsyswin: checking if running in windows compatibility mode: (reported=10.0) (real=10.0 '10.0.17134')
0.12-tmsyswin: init window: (mdf=60Hz) (window=0x0x656x519) (client=640x480) (screen=1680x1050) (32bpp) (60Hz) (windowed mode)
0.14-tmrender_directx11:initializing directx= done
0.76-dummy: resolution=640px ss=474.00mm -> res=640
0.76-dummy: create fbo = 640 480
0.77-tmrenderer_font: loading font 'texture/fontdisplay.tff'=(512x512) (h=37) (nc=8365) ok
0.78-elevation: loading configuration file 'gch2.tmc'= 4 regions
0.78-elevation: convenience function. convert INF file to AID file: inf=D:/Aerofly FS 2 Flight Simulator Development/FSET/L5/Tansania/AreaFSInfo_Lp8_SnapOff_N000000000_S010564881_E033450000_E045000000.inf -> aid: img='Area_Lp8_SnapOff_N000000000_S010564881_E033450000_E045000000.tif' tl=(33.750000 0.000000) spp=(0.000916 0.000687)
0.79-elevation:
0.79-elevation: 1 input aerial images found:
0.79-elevation: file 'D:/Aerofly FS 2 Flight Simulator Development/FSET/L5/Tansania/Area_Lp8_SnapOff_N000000000_S010564881_E033450000_E045000000.tif' -> mask='' topleft=(33.750000 0.000000) sppx=(0.000916 0.000687) image=12288x15943 flipv=1
0.79-elevation:
0.80-elevation: building tile list for level 6
0.80-elevation: grid -> 36864.00 40960.00 28672.00 32768.00 -> 1024.00
0.81-elevation: done -> 36 40 28 32 tiles=16
0.81-elevation:
11.99-elevation: building tile list for level 7
12.00-elevation: grid -> 36864.00 40960.00 28672.00 32768.00 -> 512.00
12.00-elevation: done -> 72 80 56 64 tiles=64
and so on ….
I cannot reply for tif, I always work with 24 bit BMPs. If I need a self-made mask, I define it as such in a separate image.
Here, an example where I have an orthophoto and made a blending mask.
The associated AID file looks like this
Note : this works in addition to AFS2-generated masks.
Cheers
Antoine
Thank you, it's working.
Is this also working for reflection and night masks?
I'd assume no, but trial and error is the main rule, that's how I found this undocumented trick...
Cheers
Antoine