• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Resample not compile

Messages
23
Country
brazil
Hello everyone! When trying to compile a photoreal image through Resample I can't generate the bgl. Help me please I am attaching the image and INF file.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,295
Country
netherlands
Hi,

What kind of error do you get from resample?

Also, it seems you forgot to attach your INF file.
 
Messages
23
Country
brazil
Hi Arno thanks for the reply ,when I drag the inf file Resample doesn't compile just opens and closes a window very fast that I can't see the error please help me.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,295
Country
netherlands
Resample is a command line tool, so try to compile from the command prompt so that you can see the error message that is there.
 
Messages
23
Country
brazil
Arno, I'm attaching my files.
 

Attachments

  • Aeroclube_001.txt
    1 KB · Views: 78
  • Aeroclube.jpg
    Aeroclube.jpg
    3.4 MB · Views: 80
  • Photo01.txt
    488 bytes · Views: 75

tgibson

Resource contributor
Messages
10,607
Country
us-california
To open a command window in System 7 you use Windows Explorer/My Computer to browse to the folder with resample and your INF file in it, then use Shift/right click and Open Command Window Here.
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,295
Country
netherlands
Another easy way to open the command prompt in Windows 10 is to browse to the folder with your INF file in the File Explorer and then type "cmd" (without the quotes) in the box that shows the current folder location. That will open a command prompt there. Once you are in the command prompt you can type "resample yourfile.inf" to start the resample compilation.
 
Messages
234
Country
germany
@BlackBird621
Use an 8-bit grayscale TIFF (TIF) for your blend and water mask.
And you must use the same coordinates for the masks and the background image.
The masks must also have the same size as your background image.

So that I could test it, I created a blend and water mask.

Then it also works with the resample.exe...

resample.jpg


The result in the tmfviewer...

TmfViewer.jpg


And the modified inf file which works for me....

Code:
[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Aeroclube.bmp"
Variation = January, February, March, April, May, June, July, August, September, October, November, December
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
ulyMap = -7.08453928344496
ulxMap = -34.8500061035156
xDim = 5.36441802978516E-06
yDim = 5.32338332967959E-06

[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Aeroclube_b.tif"
SamplingMethod = Gaussian
ulyMap = -7.08453928344496
ulxMap = -34.8500061035156
xDim = 5.36441802978516E-06
yDim = 5.32338332967959E-06

[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Aeroclube_w.tif"
SamplingMethod = Gaussian
ulyMap = -7.08453928344496
ulxMap = -34.8500061035156
xDim = 5.36441802978516E-06
yDim = 5.32338332967959E-06 


[Destination]
DestDir = "."
DestBaseFileName = "Aeroclube"
DestFileType = BGL
LOD = Auto
CompressionQuality = 85
 

tgibson

Resource contributor
Messages
10,607
Country
us-california
I never knew about that one, Arno. It works in System 7 as well.
 
Messages
23
Country
brazil
Hi everyone. I tried to compile the file but I was unsuccessful would ask of the friend Bushpilot if he could post or send me the files Aeroclube Blendmask and watermask and the path he used to compile it was by cmd.
 
Messages
234
Country
germany
However, when creating the bmp file with Gimp, you should use the following export settings so that resemple.exe can handle it.

2020-12-22_184420.jpg
 
Messages
23
Country
brazil
Hi everyone. I want to thank you for the information you gave me, I managed to successfully compile the archive of my photoreal people like you and that make the world a better Christmas for all.
 
Top