Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ortho4XP for FSX/P3D

Featured Replies

  • Replies 478
  • Views 241.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • kjjj11223344
    kjjj11223344

    Not yet, that is a feature I hope to add in the future. If you want to add accurate autogen right now from OpenStreetMap, I suggest looking at scenproc: https://www.scenerydesign.org/scenproc/

  • I just found out about ortho4xp for P3D last night and made my first tile with no problems:) Awesome! I'm an avid Xplane user and have tons of ortho for it. I have many tiles that are near perfect..

  • cwburnett
    cwburnett

    @OzWhitey Re Scenproc, there are basically three big steps that it all comes down to, and each of these big steps needs to be in your .spc file. 1) Importing the data - so you can pull data

3 minutes ago, Raheem Adeleke Quadri said:

I can't find this line "ESP_resample_loc=F:\\ortho4xpvm\\resample.exe" in Ortho4xp.CFG and I couldn't find "Build for ESP"

resample.exe is in fsx/p3d sdk.

Zicheng Cai

4 minutes ago, Cai Zicheng said:

resample.exe is in fsx/p3d sdk.

I know that, I can't find the line that should be edited in ortho4xp.cfg, and also I cant see any box like BUILD FOR ESP.

Hi kjjj

This program has the potential to be a real game changer for P3D but I am having problems getting it to work right.

1)   Python3.5 and all required packages are installed correctly

2)   resample.exe is in place

3)   ortho4xp.cfg modifiedas instructed to locate resample.exe

4)   latest version of your program in use and ortho4xp_v130.exe  from the dist folder runs without errors and outputs "stuff" (see d) and e) below).

BUT

a)   there is no sign of "Build for ESP" an a check box

b)   BGLs are not created/output to the orthophotos folder  

c)   there is no sign of an ADDON_SCENERY folder

d)  the orthophotos folder contains downloaded orthoimagery JPGs 

e)   the tiles folder contains (for area +49-001:

earth nav data folder

terrain folder containing .TER files

textures folder containing DDS and PNG files

ortho4xp_+49-001.cfg

Data+49-001.mesh

Data+49-001.poly

Data+49-001.node

Data+49-001.alt

Data+49-001.apt

 

What have I done wrong???

Aussibob

Great program, Ortho looks great in P3D.

Although it takes extremely long time to generate a tile. Generating a ZL16 tile would generally take me 10-20 minutes for X-Plane but generating a ZL16 tile for P3D took me 2 hours and 30 minutes. Any reason for this?

Tim Rosander

signature-dark.png

3 hours ago, aussibob1 said:

Hi kjjj

This program has the potential to be a real game changer for P3D but I am having problems getting it to work right.

Here's what I have figured out. You have to compile the scenery into bgl files yourself using P3D SDK. I have written a MATLAB script to do so in batch and parallel, and you can translate into whatever language you code in.

 

clear classes;close all;clc
sceneryFolder = "H:\Ortho4XP_FSX_P3D-airport_auto_patch\Orthophotos\+30-100\+30-098\BI_18";
resampleFilePath = "C:\Program Files\Lockheed Martin\Prepar3D v4 SDK 4.3.29.25520\World\Terrain\resample.exe";
fileList = dir(sceneryFolder);
fileList(1:2,:) = [];
infList = [];
infFolder = fileList.folder
for index = 1:size(fileList,1)
	if strcmp(extractAfter(fileList(index).name,"."),'inf')
		infList = [infList;fileList(index).name];
	end
end
fprintf("Inf Search Complete\n")
parfor infIndex = 1:size(infList,1)

	cmdStr = strcat('"',resampleFilePath,'"'," ",infFolder,"\",infList(infIndex,:))
	system(cmdStr)

end

 

Zicheng Cai

  • Author
On 7/14/2018 at 3:38 PM, Cai Zicheng said:

Just one question though, the tool generates two folders - terrain/ and texture/. How do you add these to P3D?

If you select build for esp, it will create an ADDON_SCENERY folder inside the folder for the area you selected inside the Orthophotos folder.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

  • Author
On 7/14/2018 at 4:24 PM, Raheem Adeleke Quadri said:

I can't find this line "ESP_resample_loc=F:\\ortho4xpvm\\resample.exe" in Ortho4xp.CFG and I couldn't find "Build for ESP"

Weird, can you try the download again? I will post a video with the steps required.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

  • Author
15 hours ago, 09tir98 said:

Great program, Ortho looks great in P3D.

Although it takes extremely long time to generate a tile. Generating a ZL16 tile would generally take me 10-20 minutes for X-Plane but generating a ZL16 tile for P3D took me 2 hours and 30 minutes. Any reason for this?

What step took the longest? Besides creating different image formats than for xplane, the only extra step that’s extra for P3D is running resample, which can take a while.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

  • Author
17 hours ago, aussibob1 said:

Hi kjjj

This program has the potential to be a real game changer for P3D but I am having problems getting it to work right.

1)   Python3.5 and all required packages are installed correctly

2)   resample.exe is in place

3)   ortho4xp.cfg modifiedas instructed to locate resample.exe

4)   latest version of your program in use and ortho4xp_v130.exe  from the dist folder runs without errors and outputs "stuff" (see d) and e) below).

BUT

a)   there is no sign of "Build for ESP" an a check box

b)   BGLs are not created/output to the orthophotos folder  

c)   there is no sign of an ADDON_SCENERY folder

d)  the orthophotos folder contains downloaded orthoimagery JPGs 

e)   the tiles folder contains (for area +49-001:

earth nav data folder

terrain folder containing .TER files

textures folder containing DDS and PNG files

ortho4xp_+49-001.cfg

Data+49-001.mesh

Data+49-001.poly

Data+49-001.node

Data+49-001.alt

Data+49-001.apt

 

What have I done wrong???

Aussibob

I will post a video with a quick tutorial :).

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

4 hours ago, kjjj11223344 said:

What step took the longest? Besides creating different image formats than for xplane, the only extra step that’s extra for P3D is running resample, which can take a while.

The resample step is what took so long. That step took 2 hours.

Tim Rosander

signature-dark.png

I ran creation of a single BI17 tile yesterday using exe version and shut the process down eventually as still in progress after 7 hours ... also noted a high overhead in storage space required.... 61 GB ..... surely something must be amiss???

 

PS ... run a reasonably fast PC .... will check out the video, see if anything jumps out at me ....

Edited by AKStirling

Thank you for an excellent video tutorial - clearly shows the steps. Feeling rather embarrassed that I could not see the "Build for ESP" before!!!

All I have to do now is figure out why the "Batch Build" will not work as shown in the video. Followed all the steps shown in tutorial - click on Batch Build" and nothing happens.

As a test I used the "Assemble Vector Data' in the Ortho4XP_v130 panel and the program worked fine - it's just getting the damned "Batch Build" button to work.

Aussibob ..... trying out your 'Assemble Vector Data' approach .... currently at step: BuildImagery/DSF .... did you then click on 'All in one'????   

Request to kjjj - would you mind posting the video to YouTube as my ESP won't let me access the link given .....????

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.