Jump to content

Resample Unable to Compile into BGL?


Recommended Posts

I am unable to compile into a BGL using resample. I am following the instuctions on this thread: https://www.flightsim.com/vbfs/showthread.php?250762-How-to-create-photoreal-scenery-for-FSX

 

According to the thread above, you drag and drop you INF file onto resample and it will compile for you. But when I do, the resample window opens or a split second and closes. Most of the time there are no white words there but some times there is. Also, I am not making Nauru, but I am making Cayo Coco airport. (MUCC). Here is my CayoCoco.inf:

 

[source]

Type = MultiSource

NumberOfSources = 3

 

[source1]

Type = BMP

Layer = Imagery

SourceDir = "."

SourceFile = "CayoCoco.bmp"

Variation = January, February, March, April, May, June, July, August, September, October, November, December

Channel_BlendMask = 2.0

Channel_LandWaterMask = 3.0

ulyMap = 22.4719545077393

ulxMap = -78.3544921875

xDim = 5.36441802978516E-06

yDim = 4.95746620506463E-06

 

[source2]

Type = BMP

Layer = None

SourceDir = "."

SourceFile = "CayoCocoBlendmask.bmp"

SamplingMethod = Gaussian

ulyMap = 22.4719545077393

ulxMap = -78.3544921875

xDim = 5.36441802978516E-06

yDim = 4.95746620506463E-06

 

[source3]

Type = BMP

Layer = None

SourceDir = "."

SourceFile = "CayoCocoWatermask.bmp"

SamplingMethod = Gaussian

ulyMap = -0.487512

ulxMap = 166.904955

xDim = 5.2577237215909090909091E-06

yDim = 5.2348547149122807017543E-06

 

 

[Destination]

DestDir = "."

DestBaseFileName = "Photo01"

DestFileType = BGL

LOD = Auto

UseSourceDimensions = 1

CompressionQuality = 85

 

Please help! Thanks. :D

Link to comment
Share on other sites

Gosh, it's a while since I compiled BGL files and I can barely remember how to do it now. However, the problem usually lies in the inf file not being correctly formatted

 

In this case, I note the source directory is . You need to insert your source directory here between the " and the ". Same for your destination directories.

 

Do the file names you have used actually match the files you are trying to compile?

 

IAN

 

IAN

Ryzen 5800X3D, Nvidia 3080 - 32 Gig DDR4 RAM, 1TB & 2 TB NVME drives - Windows 11 64 bit MSFS 2020 Premium Deluxe Edition Resolution 2560 x 1440 (32 inch curved monitor)

Link to comment
Share on other sites

Does anyone know how to fix this? Help!

 

When this happens it's almost always a formatting error in the inf file - even a misplaced period and it will fail.

 

In your case, the lines in source 3:

 

ulyMap = -0.487512

ulxMap = 166.904955

xDim = 5.2577237215909090909091E-06

yDim = 5.2348547149122807017543E-06

 

don't match the other two sources.

 

You can also use "variation = all" in place of individual months as you're not using any seasonal textures.

 

Reading about using resample in the SDK often helps overcome many problems too.

Regards, Kendall
Link to comment
Share on other sites

a) [source1], try simply "Variation = Day"

 

b) And shouldn't [source2] (BlendMask) and [source3] (WaterMask) obligatory be of type TIFF, not BMP ?

 

Wim

 

Wim, I've read debate about this and if I recall correctly one can actually use a BMP for masks but it has to be saved to a certain type, but I've always used Tiff myself.

 

EDIT: Here's a link I've saved discussing ithe use of BMP's for masks. http://www.fsdeveloper.com/forum/threads/photoreal-blend-mask-issues.220239/

 

 

If the OP hasn't already done so, he should fully absorb all of Tiberius' excellent tutorial pinned at the top of in the scenery design forum here at Flightsim.com.

 

https://www.flightsim.com/vbfs/showthread.php?250762-How-to-create-photoreal-scenery-for-FSX

Regards, Kendall
Link to comment
Share on other sites

Wim, I've read debate about this and if I recall correctly one can actually use a BMP for masks but it has to be saved to a certain type, but I've always used Tiff myself.

 

EDIT: Here's a link I've saved discussing ithe use of BMP's for masks. http://www.fsdeveloper.com/forum/threads/photoreal-blend-mask-issues.220239/

 

 

If the OP hasn't already done so, he should fully absorb all of Tiberius' excellent tutorial pinned at the top of in the scenery design forum here at Flightsim.com.

 

https://www.flightsim.com/vbfs/showthread.php?250762-How-to-create-photoreal-scenery-for-FSX

 

Hi. Thank you so much for the time you put into helping me! :)

 

What do you mean by "one can actually use a BMP for masks but it has to be saved to a certain type". How do you save it to a certain type?

 

And does TIFF files work better for masks than .bmp does?

 

Also, I have already read all of Tiberius' tutorial before I started, then I followed each step one by one.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...