Instant Scenery V2

A quiet place for budding model makers to share thoughts, get answers to questions and request and share references.

Moderators: Guru's, The Ministry

User avatar
TSR2
The Ministry
Posts: 16344
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Instant Scenery V2

Post by TSR2 »

Hi George, :hello:

So if I understand correctly I take the tile image as created by FSearthtile and make two further copies. One of them purely black and white where black will be water, white will be the tiled image. On the second copy I could use something like a blur tool to "blend" the black and white thus forming a "coast"? Then referencing these in the ini file as you have done will cause the three files to be in effect sampled together?
Ben.:tunes:

ImageImageImage

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: Instant Scenery V2

Post by GHD »

Correct. Ensure that the tiffs are saved with LZW compression.

BTW. Here is Goliath in FSX. To make it more accurate, the Dock needs to be modelled either with a flattem, or, more accurately with a GMax model.

Image
George

Image

User avatar
TSR2
The Ministry
Posts: 16344
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Instant Scenery V2

Post by TSR2 »

Cheers George. :thumbsup: The latest version of GIMP makes the black and white bit relatively easy, so I'm doing that bit now. Its slow steps for me, so a GMAX model is light years away. I did get Samsun converted although placing it has been a bit tricky, lots of trial and error. Its amazing how little there is left of the docks now. They've completely obliterated it and replaced it with flats that no one can afford and a monstrosity pertaining to be a "Titanic Museum".

I'm off to treat the good lady to a Chinese takeaway as I think I'm about to get lynched :lol:
Ben.:tunes:

ImageImageImage

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: Instant Scenery V2

Post by GHD »

TSR2 wrote: I did get Samsun converted although placing it has been a bit tricky, lots of trial and error.
Did you remember to minimise the draw calls and convert the textures.
Its amazing how little there is left of the docks now. They've completely obliterated it and replaced it with flats that no one can afford and a monstrosity pertaining to be a "Titanic Museum".
I only visited the loft in H&W once in the early seventies and the place was surrounded by armed soldiers.
George

Image

User avatar
TSR2
The Ministry
Posts: 16344
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Instant Scenery V2

Post by TSR2 »

That was par for the course in those days. I remember going into my Dads "work" just along the road and it was like getting into fort knox :lol:
Ben.:tunes:

ImageImageImage

User avatar
TSR2
The Ministry
Posts: 16344
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Instant Scenery V2

Post by TSR2 »

Hi George,

Back again. I'm typing my sources into the inf file for resample.exe and I've hit a slight snag. I don't have the lat / long info for the files. I may be being thick, but is there a way to get this info from the files I have created? :worried:
Ben.:tunes:

ImageImageImage

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: Instant Scenery V2

Post by GHD »

Look in the folder containing the bmp and you should find an inf file with the lat, lon etc. which you will need for your multi-source inf.

Use a different destination directory so that you preserve the original.
George

Image

User avatar
TSR2
The Ministry
Posts: 16344
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Instant Scenery V2

Post by TSR2 »

Hi George,

Thanks for that. I followed those instructions (I think) and the resample seemed to work in that it generated the BGL file, but the masks seem to be in the wrong place. In the screen below you can see the silhouette of HMS Caroline in the mask (circled on the right) and the actual position of HMS Caroline from the BMP on the left. The code from the resample.inf file is also below, can you see anything wrong?

Image

Code: Select all

; Resample INFormation file
; Variations test with land/water and blend masks pulled from multiple files.

[Destination]
DestDir = "Output"
DestBaseFileName     =  Area_Lp1_SnapOff_N054382751_N054360809_W005553474_W005510742
BuildSeasons       = 0
UseSourceDimensions    = 1
CompressionQuality   = 100


[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "SourceData"
SourceFile = "Area_Lp1_SnapOff_N054382751_N054360809_W005553474_W005510742.bmp"
Lon               = -5.92632293701172       ;for top left and bottom right is: -5.85205078125
Lat               = 54.6409857273102       ;for top left and bottom right is: 54.6022439002991
NumOfCellsPerLine = 5192       ;Pixel is not used in FSX
NumOfLines        = 3611       ;Pixel is not used in FSX
CellXdimensionDeg = 1.43051147460938E-05
CellYdimensionDeg = 1.07288360595703E-05
PixelIsPoint      = 0
SamplingMethod    = Point
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0

[Source2]
Type = TIFF
Layer = None
SourceDir = "SourceData"
SourceFile = "Area_Lp1_SnapOff_N054382751_N054360809_W005553474_W005510742_BLEND.tif"
Lon               = -5.92632293701172       ;for top left and bottom right is: -5.85205078125
Lat               = 54.6409857273102       ;for top left and bottom right is: 54.6022439002991
NumOfCellsPerLine = 5192       ;Pixel is not used in FSX
NumOfLines        = 3611       ;Pixel is not used in FSX
CellXdimensionDeg = 1.43051147460938E-05
CellYdimensionDeg = 1.07288360595703E-05
PixelIsPoint      = 0
SamplingMethod    = Point

[Source3]
Type = TIFF
Layer = None
SourceDir = "SourceData"
SourceFile = "Area_Lp1_SnapOff_N054382751_N054360809_W005553474_W005510742_WATER.tif"
Lon               = -5.92632293701172       ;for top left and bottom right is: -5.85205078125
Lat               = 54.6409857273102       ;for top left and bottom right is: 54.6022439002991
NumOfCellsPerLine = 5192       ;Pixel is not used in FSX
NumOfLines        = 3611       ;Pixel is not used in FSX
CellXdimensionDeg = 1.43051147460938E-05
CellYdimensionDeg = 1.07288360595703E-05
PixelIsPoint      = 0
SamplingMethod    = Point


Ben.:tunes:

ImageImageImage

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: Instant Scenery V2

Post by GHD »

Is [Source1] exactly the same as that produced by FSET?

What resolution did you use in FSET?
George

Image

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: Instant Scenery V2

Post by GHD »

Hi Ben,

I think the problem is NumOfCellsPerLine, you have 5192. I have repeated the download (at resolution 1) and I get 6357:

[Source1]
Type = BMP
Layer = Imagery
SourceDir = .
SourceFile = Area_Lp1_SnapOff_N054382751_N054360809_W005563474_W005510742.bmp
Lon = -5.94298839569092 ;for top left and bottom right is: -5.85205078125
Lat = 54.6409857273102 ;for top left and bottom right is: 54.6022439002991
NumOfCellsPerLine = 6357 ;Pixel is not used in FSX
NumOfLines = 3611 ;Pixel is not used in FSX
CellXdimensionDeg = 1.43051147460938E-05
CellYdimensionDeg = 1.07288360595703E-05
PixelIsPoint = 0
SamplingMethod = Point
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0


I did a quick and dirty blend and water mask and this is what I see when dragging the bgl onto TmfViewer from the SDK:

Image

In fact you could have downloaded at resolution 0, however, this may have produced four bmps.
George

Image

Post Reply