Sign in to follow this  
Guest mjtibbs

Possible to convert TP's downloaded scenery files to non FS9 type scenery?

Recommended Posts

Hi there,Basically I have VFR Generation X Photo Scenery installed and I noticed there is no texture sub-folder in any of these sceneries, however there are large .bgl files in the scenery folders.I take it this is because its using the FSX type standard of scenery.I know TP uses the FS9 standard (thousands of bmps in the texture folder).My question is, is there anyway to convert what TP has already downloaded, into this standard FSX type scenery, because I get no blurries at all with Gen X even at 300+ knots, however Im still affected by blurries in TP even with a fibre frame of 2.5 and in a microlight.it starts of great but after 5 mins i start getting blurries requiring a pause.thanks.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

The answer is : yet it is possible but only with a lot of programming effort. The steps are outlined hereDecode DXT1 textures (quality loss as compared to source images from online server)concatenate to a huge TIFF fileGeotag Tiff or alternatively put coordinates into INI file for resampleConvert to BGL format with Microsoft's RESAMPLE.EXE tool from FSX SDKRequires lots of memory (several gigabytes are fine), it takes forever to do large areas and requires the Flight Simulator X SDK.

Share this post


Link to post
Share on other sites

I've been doing just that. Tileproxy gave me the idea!It's early stages yet but when finished my freeware tool will download tiles for a given area and build a BGL using resample.The only problem I see are copyright issues with the images. Did you get much "harassment" with regard to this?

Share this post


Link to post
Share on other sites

I've been getting no harassment from Acme Globe Services yet. They are probably too busy to either sue me or hire me.

Share this post


Link to post
Share on other sites

Thanks for the info gents.Im kind of busy right now to manually try and convert to single BGL. (I would probably make a big mess of it anyway lol)MatthewS, do you have a rough ETA on your Photoscene tool? It would be awesome to have TP scenery in a single BGL to stop the blurries.I really cant handle blurries anymore and I may lay off TP until I can have the tiles converted to a single BGL.Incidentally, what is it that allows all the textures to be packed into a single BGL as opposed to the FS9 style of having thousands of individual texture files?Is there an actually name for the new FSX style of scenery?Cheers!EDIT: On a quick thought, would use of the Photoscene tool (once finished) not make it very easy to be blacklisted from gee00gle if you were to download all tiles over a generous area. Also if M$ V00rt00l uurth where to impose such lameness of a bandwidth qouta, no doubt it would be affected too?-Finally, would you add an option to use the pre-downloaded jpegs in the cache folder as well as directly from a server? that would save bandwidth

Share this post


Link to post
Share on other sites

I think it is just called "FSX photoscenery" ;)The new feature is a wavelet-like compression (similar to JPEG 2000 but faster) of the images which is much more efficient than using individual DXT1 compressed files.But in a filesystem filter driver I cannot dynamically create or modify such a BGL. The file format and the image compression format are all Microsoft specific and not documented at all. There exist some research papers about the image compression format, that's basically it. No code, nuffin.The FS9 format, in contrast is pretty well known and documented. but horribly efficient for a large visible radius.

Share this post


Link to post
Share on other sites

>I think it is just called "FSX photoscenery" ;)>>The new feature is a wavelet-like compression (similar to JPEG>2000 but faster) of the images which is much more efficient>than using individual DXT1 compressed files.>>But in a filesystem filter driver I cannot dynamically create>or modify such a BGL. The file format and the image>compression format are all Microsoft specific and not>documented at all. There exist some research papers about the>image compression format, that's basically it. No code,>nuffin.>>The FS9 format, in contrast is pretty well known and>documented. but horribly efficient for a large visible>radius.>>^^thx for the speedy answer.oh by the way, did you hard-code the JPEG to DXT1 conversion in the filter driver from scratch, or does it use like an external .dll or somthing?

Share this post


Link to post
Share on other sites

uses public domain DXT1 compression from the makers of Doom. id software.It's more than JPG->DXT1. For Virtual Earth, it's concatenation of JPEGs, scaling, cropping, possibly colorization, brightness matching and DXT1 compression. ;)For Google Earth, colorization and brightness matching is not needed.

Share this post


Link to post
Share on other sites

Photoscene currently consists of 2 parts:-1) Tile downloader2) BGL maker (using tiles from part 1 - the Tile downloader)I wonder if its safer for me to remove the Tile downloader part from Photoscene. That way all Photoscene would do is composite existing tiles and pass them through Resample to create the BGL. In other words Photoscene would not actually download tiles but simply use tiles that already exist (downloaded via Tileproxy or some other tool).Surely that would remove any legal issues since Photoscene would not actually be downloading the tiles in the first place.But what about Virtual Earth specifically? Are they any legal restrictions with the Virtual Earth tile server?

Share this post


Link to post
Share on other sites

Thats impressive regarding the JPEG / DXT1 stuff Christian! great work!on Photoscene, I'd be happy with just the BGL maker! I dunno, I guess its easy for me to say but you sound really "concerned" about the legal aspects.Id say just go for it, and do some cunning "not quite configured on default install" like we have seen somewhere else recently :-walksmile

Share this post


Link to post
Share on other sites

Matthew,But how will this affect the ability to attach autogen as outlined in my post on Lake Tahoe in TP screenshots thread.? Any thoughts? Re WOZ

Share this post


Link to post
Share on other sites

Not sure about attaching true "autogen" but FSX KML can be used to place scenery objects.Currently FSX KML only supports placing objects along a polyline, but populating objects inside a polygon is planned.What does this mean?You could draw polygons around forests and have FSX KML populate those forests with the appropriate scenery objects (ie the same tree models that are used by the FS autogen).So you would use FSX KML to create your BGL containing trees, and FSX Photoscene to create a BGL containing photoscenery. Not sure whether it would be as efficient as true autogen though.See my signature below for link to FSX KML.

Share this post


Link to post
Share on other sites

>Matthew,>But how will this affect the ability to attach autogen as>outlined in my post on Lake Tahoe in TP screenshots thread.?>Any thoughts? >You can use the Autogen SDK Annotator.

Share this post


Link to post
Share on other sites

>Photoscene currently consists of 2 parts:->>1) Tile downloader>2) BGL maker (using tiles from part 1 - the Tile downloader)>>I wonder if its safer for me to remove the Tile downloader>part from Photoscene. >>That way all Photoscene would do is composite existing tiles>and pass them through Resample to create the BGL. >>In other words Photoscene would not actually download tiles>but simply use tiles that already exist (downloaded via>Tileproxy or some other tool).>>Surely that would remove any legal issues since Photoscene>would not actually be downloading the tiles in the first>place.>>>But what about Virtual Earth specifically? Are they any legal>restrictions with the Virtual Earth tile server? Hi Mathew, I am really looking forward to whatever program you create. I used to download imagery with USA Photomaps (I think that was what is was called) which is freeware and accesses the same source images as Virtual Earth, so I am not sure that you need to worry about legal issues if you are not trying to sell the images. I then created my own photoscenery for FS9 from those images using TerraBuilder. The problem with this was that it was really tedious and time consuming having to stitch images together in Photoshop (or Photopaint) and even worse trying to figure out the exact lat and longitude coordinates for each composite image. I never could get the airport photoscenery to line up very accurately to runways etc... That is one thing I really like about TileProxy, it's just plug n play. It would be good though to have the downloaded scenery performing better in the simulator, if that is what BGL creation would do.Good luck with the program,Tony.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this