• 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 Multichannel + Multisource

Messages
305
Country
us-california
Hi,

I'm trying something a bit more complicated, using one INF file for two seasons of imagery, and use a water mask for both of the seasons pulled from a seperate file.

From what I understand, this is how you set it up:

Code:
[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = TIFF
Layer = Imagery
SourceDir = "."
SourceFile = "summer.tif"
ULXMAP = -116.35289009
ULYMAP = 46.56940795
XDIM = 9.06942098E-06
YDIM = 9.06942095E-06
NullValue = 255,255,206
Variation = Summer
Channel_LandWaterMask = 3.0

[Source2]
Type = TIFF
Layer = Imagery
SourceDir = "."
SourceFile = "winter.tif"
ULXMAP = -116.35289009
ULYMAP = 46.56940795
XDIM = 9.06942098E-06
YDIM = 9.06942095E-06
Variation = Winter
NullValue = 255,255,206
Channel_LandWaterMask = 3.0


[Source3]
Type = BMP
Layer = None
SourceDir = "."
SourceFile = "LandWaterMask.bmp"
ULXMAP = -116.35289009
ULYMAP = 46.56940795
XDIM = 9.06942098E-06
YDIM = 9.06942095E-06
SamplingMethod=Gaussian


[Destination]
DestDir = "."
DestBaseFileName = "Aerial_Image"
UseSourceDimensions = 1
CompressionQuality = 80

However, resample spits it back out.

I tried a single source INF file to confirm that the xMap,yMap,xDim,yDim values are correct, and it did compile just fine.

Any ideas?

Thank!
 
What's the error message resample gives you?
 
Since I drag and drop the INF file on resample, it simply pops up for a split second then disappears.

I wasn't able to get the complicated INF file to work, so I split it up in to two different INF files and added an alpha channel for the water in each image (Summer and Winter).

It creates two BGL files, but hey.. it works! :D
 
CompileHelper does not support compiling with resample, I guess that could be a nice feature for an update (if I ever make one).
 
Hi Arno:

I was just editing this post, as I had forgotten that this did not (yet?) have a generic "non-BGLComp-specific" function to just window a "CMD session" to the GUI, and show the results of text-mode error messages etc.; thanks for clarifying that point! :rolleyes:


Perhaps the alternative here (until you write another feature set into this or another of your wonderful tools), is something such as PowerCMD or Take-Command ? :idea:

PowerCMD:

http://www.powercmd.com/


Take-Command Console / LE ("TCC/LE" - formerly known as 4NT):

http://www.jpsoft.com/tccledes.htm


Of the mutiple CMD-related utility options I've looked at so far (aside from PowerShell and the several GUI's for that tool), these look particularly promising, especially PowerCmd... which allows you to save command line output logs automatically ! ;)





Otherwise, one can simply open a command window session from Start > Run > CMD (and the window stays open until closed by the user); one would then need to change the path in order to direct the CMD session environment focus into the actual Resample mesh project work folder, of course). :twocents:


PS: It would really be great if (as you so nicely did with BGLCompiler) you included some verbose reporting on Resample's arcane and seemingly undocumented errors with your CompileHelper tool ! :wizard:


Hope this helps! :)

GaryGB
 
Last edited:
Copy the sourceses, the INF, and resample to the same directory. Then make a batch file in that directory:

Code:
resample MyPhotoreal.inf
pause

Save the text of the batchfile as MyPhotoreal.bat, and double-click it. Resample will do it's thing, and then pause, leaving the cmd window open.

Or just seach your Windows directory for cmd.exe, and copy it to your work folder. Double-click on the cmd.exe icon, and a dos window will open up. Then type: resample MyPhotoreal.inf

Dick
 
Back
Top