• 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.

P3D v3 Struggling With resample error when trying to compile photos

Messages
15
Country
norway
Trying to combine 3 photos With resample and get a error.
See screenshot of the error. Pixelwidth must be greater than zero.



Resample error.JPG


My .inf file:

[Source]
Type = MultiSource
NumberOfSources = 3
[Source1]
Type = BMP
Layer = Imagery
SourceDir = "C:\Users\ivarh\Documents\Sakhir_photoscenery"
SourceFile = "OBKHsouth.bmp"
Variation = All
ulyMap = 26.0368346388889
ulxMap = 50.5160969444444
xDim = 5.364420572924805e-6
yDim = 4.820400661889648e-6
[Source2]
Type = BMP
Layer = Imagery
SourceDir = "C:\Users\ivarh\Documents\Sakhir_photoscenery"
SourceFile = "OBKHnorth.bmp"
Variation = All
ulyMap = 26.0534238611111
ulxMap = 50.5160969444444
xDim = 5.364420572924805e-6
yDim = 4.819715711791992e-6
[Source3]
Type = BMP
Layer = Imagery
SourceDir = "C:\Users\ivarh\Documents\Sakhir_photoscenery"
SourceFile = "SakhirF1.bmp"
Variation = All
ulyMap = 26.0418328611111
ulxMap = 50.5007761666667
xDim = 5.364420572900391e-6
yDim = 4.820197211376953e-6
[Destination]
DestDir = "C:\Users\ivarh\Documents\Sakhir_photoscenery"
DestBaseFileName = "SakhirPhotoscenery"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85

I do not understand why xdim and ydim is changing from the .inf file to completely different numbers in the resampler.
The images are 4096x4096.BMP 24 bit. Source 1 as an example below which has the following data:

Name=OBKHsouth
North=26.0368346388889
South=26.0170902777778
West=50.5160969444444
East=50.5380696111111

I have generated the xdim and ydim by using this formula and inserted into the .inf file. Windows calculator is used for the calculation.
North-South=Y. Then Y/4096=Ydim 4.820400661889648e-6
East-west=X. Then X/4096=Xdim 5.364420572924805e-6

Anyone have any idea what is going on here?
 
Messages
15
Country
norway
Disregard. I found a small minus symbol in the actual inf file that should not be there… (not in the inf file above…)

Made this post after struggling for 5 hours and after making the post the pickle was found after 1 minute… :rolleyes:
 
Top