Board index FlightGear Development Scenery

Photoscenery generator for Julia compiler

Questions and discussion about enhancing and populating the FlightGear world.

Re: Photoscenery generator for Julia compiler

Postby SchoolBusesC2 » Mon Nov 22, 2021 2:41 pm

merspieler wrote in Fri Nov 19, 2021 4:49 pm:Just a thought... do you know if the other scenery, which you say works, is .png or .dds?


I think PNG? Though not 100% sure... is there any fix/workaround for this issue currently?
SchoolBusesC2
 
Posts: 19
Joined: Sat Aug 18, 2018 1:08 am
Callsign: N1440/JBU1440
OS: Manjaro

Re: Photoscenery generator for Julia compiler

Postby merspieler » Mon Nov 22, 2021 3:55 pm

Let me check the png vs dds theory...
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Photoscenery generator for Julia compiler

Postby merspieler » Mon Nov 22, 2021 6:51 pm

yep... converting the tiles, the airport is on, to png "solves" the issue... at the cost of longer loading times and more disk space, ram and vram usage.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Photoscenery generator for Julia compiler

Postby SchoolBusesC2 » Mon Nov 22, 2021 9:16 pm

merspieler wrote in Mon Nov 22, 2021 6:51 pm:yep... converting the tiles, the airport is on, to png "solves" the issue... at the cost of longer loading times and more disk space, ram and vram usage.


Ah, OK. I assume just converting one or two tiles shouldn't make that much of a difference, right?
SchoolBusesC2
 
Posts: 19
Joined: Sat Aug 18, 2018 1:08 am
Callsign: N1440/JBU1440
OS: Manjaro

Re: Photoscenery generator for Julia compiler

Postby merspieler » Mon Nov 22, 2021 9:18 pm

Idk your PC specs but if you're able to run larger areas with ortho scenery, you should be fine.

I've reported this finding to the mailing list so hopefully someone will take a look at it.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Photoscenery generator for Julia compiler

Postby junkang.jiao » Fri Dec 03, 2021 1:08 pm

Photoscenary.jl works very well now, but if the picture under is too large, the lag is obvious when flying in FG.

When I test, as long as it is greater than 2048x2048, there will be lag, which is very obvious.

my computer
Graphics card GTX2060 6G
RAM:64G
junkang.jiao
 
Posts: 16
Joined: Sun Sep 12, 2021 6:12 am

Re: Photoscenery generator for Julia compiler

Postby pslat » Mon Dec 13, 2021 6:40 pm

Hi, just want to say thanks for this. It made it nice and easy for me to download hi res scenery around my favorite airports. Something that caught me though was that I needed the nightly build of flightgear to use the downloaded scenery. It took me some time to figure that out This isn't clear until the final step of your instructions where you say 'Check the option Menu > View > Rendering Options > Satellite Photoscenery', which doesn't exist in 2020.3.11, the latest public release on the Flightgear download page. I think this should be made clear for others following your instructions, i.e that you must be running 2020.4 of Flightgear to use the photoscenery.
Great work though Abassign, thanks!
pslat
 
Posts: 1
Joined: Sun Dec 12, 2021 3:52 pm

Re: Photoscenery generator for Julia compiler

Postby miguel » Wed Dec 15, 2021 5:32 pm

Image



Flying over Andalucia (Spain) in Granada.
Olive groves.
Terrain: photoscenary julia.
A nice autumn afternoon miguel.
miguel
 
Posts: 226
Joined: Wed Aug 19, 2015 5:05 pm

Re: Photoscenery generator for Julia compiler

Postby SchoolBusesC2 » Fri Jan 07, 2022 4:07 pm

merspieler wrote in Mon Nov 22, 2021 9:18 pm:Idk your PC specs but if you're able to run larger areas with ortho scenery, you should be fine.

I've reported this finding to the mailing list so hopefully someone will take a look at it.


OK, I'll give it a shot! Could you let me know which two tiles to convert? I'm not sure how to convert coordinates to the tile that they're in.
SchoolBusesC2
 
Posts: 19
Joined: Sat Aug 18, 2018 1:08 am
Callsign: N1440/JBU1440
OS: Manjaro

Re: Photoscenery generator for Julia compiler

Postby merspieler » Fri Jan 07, 2022 4:27 pm

just go there with the ufo, click on the ground and press d, that should give you the the right coordinates printed to the log/console and iirc also copied to your clipboard.

As for fixing this, the dev who implemented it has no clue, what could be wrong here... just a simple flip didn't do the trick
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Photoscenery generator for Julia compiler

Postby SchoolBusesC2 » Tue Jan 11, 2022 12:54 am

Thanks for the UFO tip! That worked! As for the fix, that's interesting...
SchoolBusesC2
 
Posts: 19
Joined: Sat Aug 18, 2018 1:08 am
Callsign: N1440/JBU1440
OS: Manjaro

Re: Photoscenery generator for Julia compiler

Postby wlbragg » Sun Jan 23, 2022 9:05 pm

Anyone know how to execute Julia compiler in a linux desktop shortcut configuration?

Such as...

Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/media/xxx/Julia-Photoscenery/julia -t 4 photoscenary.jl --connect "127.0.0.1:5501" -r 20 -s 4 --over 2 --map 2 --path /media/xxx/Julia-Photoscenery/Photosceneryv
Name=Julia-Photoscenery


I don't know how to configure the executable args in this instance. For flightgear I use an sh file like this...
Code: Select all
#!/bin/sh
cd $(dirname $0)
cd install/flightgear/bin
export LD_LIBRARY_PATH=../../simgear/lib:../../openscenegraph/lib:../../openrti/lib:../../plib/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
./fgfs >log.txt 2>&1 --launcher --fg-root=$PWD/../fgdata/ $@


Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/media/xxx/FlightGearBuild/fgfs2020.sh
Name=FlightGear
Icon=/media/xxx/FlightGearBuild/install/flightgear/share/icons/hicolor/32x32/apps/flightgear.png


I tried making an sh file for it same as I do for FlightGear, but I don't know if I can even execute julia that way. I don't see why you couldn't though.

My sh attempt was...

Code: Select all
julia -t 4 photoscenary.jl --connect "127.0.0.1:5501" -r 20 -s 4 --over 2 --map 2 --path /media/xxx/Julia-Photoscenery/Photoscenery $@
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Photoscenery generator for Julia compiler

Postby xDraconian » Mon Jan 24, 2022 5:01 am

That should work fine @wlbragg

Be aware that you didn't copy it exactly. There is a missing letter 'v' at the end of the path.
xDraconian
 
Posts: 406
Joined: Sun Jan 21, 2018 6:53 am
Version: Git
OS: Linux Mint

Re: Photoscenery generator for Julia compiler

Postby wlbragg » Tue Jan 25, 2022 8:29 pm

There is a missing letter 'v' at the end of the path.

Can you explain, I'm not seeing it.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Photoscenery generator for Julia compiler

Postby xDraconian » Wed Jan 26, 2022 7:45 am

Exec=/media/xxx/Julia-Photoscenery/julia -t 4 photoscenary.jl --connect "127.0.0.1:5501" -r 20 -s 4 --over 2 --map 2 --path /media/xxx/Julia-Photoscenery/Photosceneryv
xDraconian
 
Posts: 406
Joined: Sun Jan 21, 2018 6:53 am
Version: Git
OS: Linux Mint

PreviousNext

Return to Scenery

Who is online

Users browsing this forum: No registered users and 5 guests