• 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 v5 Texture Filter Editor questions/issues

Messages
1,637
Country
unitedstates
I am working my way into the Texture Filter Editor with some questions after my first attempt. With your suggestion, I took some samples of my 1GB image into small 1000x1000 px images, each hovering 3MB max. But since I had created the links with the big tiff originally, I just deleted the single image, and save the TFE to use for the questions below.

1. Looking at my first screenshot, I had placed 3-band geotiff samples. Looking at the Properties pane it says nirChannel 3 and RedChannel 0. Does this mean RedChannel has no band thus "0", or is the Red Channel (infrared) known as channel "0"?

TFE1.jpg
TFE1.jpg

2. If there is no infrared channel in the image, why am I able to see a preview image? Is this just TFE doing its magic and making up for no channel? Or is it using the NirCHannel?

3. So will I see a difference or will the properties be different when I load a 4-band image. Will it produce better results? I haven't gotten that far because of below.

3. Whenever I select another sample image TFE crashes. I just press continue but as soon as I try to select another image... crash message again.

TFE002.jpg
TFE002.jpg

Now here's where it got a little strange, remember I said I originally had a large 1GB image and I had since removed. Well it was still tied to this TFE somhow as I could pan and zoom out of my sample image and see the entire 1GB image.... but it's not loaded anymore! Maybe that is causing the crash?

So I decided to start from scratch. I closed down scenPROC and reopened again TFE but I did not load and previous TFE script. I went to Add Image and dropped the nine sample images. I liked how I could grab all nine at one and did not have to add them individually. But again, as soon as I click on an image TFE would crash showing the error message. No that big red x on the bottom panel, there was an input image icon and an output icon there but I had made no connections yet.

TFE003.jpg
TFE003.jpg
 
1. Looking at my first screenshot, I had placed 3-band geotiff samples. Looking at the Properties pane it says nirChannel 3 and RedChannel 0. Does this mean RedChannel has no band thus "0", or is the Red Channel (infrared) known as channel "0"?
The settings specify which channels contains the red and NIR band. Default is first band (0) for red and fourth band (3) for the NIR. But that assumes you load 4 band imagery. If you have 3 band imagery only or imagery without a NIR band using the NDVI step won't work.
2. If there is no infrared channel in the image, why am I able to see a preview image? Is this just TFE doing its magic and making up for no channel? Or is it using the NirCHannel?
I would have to check the code, but I think it defaults to an all white channel for NIR in that case. So it will show an image, but the values are not actual NDVI values.
3. So will I see a difference or will the properties be different when I load a 4-band image. Will it produce better results? I haven't gotten that far because of below.
As I said above, this step only works if you imagery has a NIR channel. You can't really see in the editor if your imagery has 3 or 4 bands, but as a developer you should know this and build your filter based on that.
3. Whenever I select another sample image TFE crashes. I just press continue but as soon as I try to select another image... crash message again.
I have seen this error message before. It seems to be something with GeoTIFF. Typically I use plain BMP or TIF for the sample images, they don't have to be georeferenced for the texture filter editor.
Now here's where it got a little strange, remember I said I originally had a large 1GB image and I had since removed. Well it was still tied to this TFE somhow as I could pan and zoom out of my sample image and see the entire 1GB image.... but it's not loaded anymore! Maybe that is causing the crash?
I have no idea, I have never seen that before. But the error you mentioned above has nothing to do with the image size.
So I decided to start from scratch. I closed down scenPROC and reopened again TFE but I did not load and previous TFE script. I went to Add Image and dropped the nine sample images. I liked how I could grab all nine at one and did not have to add them individually. But again, as soon as I click on an image TFE would crash showing the error message. No that big red x on the bottom panel, there was an input image icon and an output icon there but I had made no connections yet.
This is the same error as above, I would suggest to not use GeoTIFFs for the samples. This issue is on the todo list, but I haven't been able to find a robust fix yet:

 
Back
Top