Jump to content
Sign in to follow this  
tonywob

Bringing FSX/ORBX landclass to X-Plane

Recommended Posts

I've spent some time studying the scenery system in FSX and how it uses land-classes. Basically, it splits the world into 1.2km grids, and each grid contains an annotated texture with matching objects. The roads are then placed over these, and blending is basically done by clever texture tiling. As ugly as it might sound, it's very successful and is why we have ORBX and others making scenery people love. The hard part about reproducing this in X-Plane is that firstly the XP scenery system isn't a grid and is done in layers with blending layers in between, and secondly most of the textures aren't UV mapped (meaning I don't know how X-Plane is going to place a texture on a given triangle).
 
I've created my own mesh creator into W2XP so that it can mimic FSX's behaviour, but also mix it with X-Plane's flexibility. So you can now do annotated textures and you can also layer data over the top of it. The difference between FSX and X-Plane is that it is all burnt into the mesh/DSF as opposed to being generated on the fly as you fly.
 
Here's a very early example of the new scenery.

Alabeo_R66_3.jpg
It uses a photoreal texture of farmland and the photoreal texture is annotated. The stream is real and from the mesh. (Which means I can tell it that whenever it uses this image, place a tree at point A, a forest or farm-building at point B and C, etc...

 
The textures will then tile, and as you add more texture types and annotations the scenery will become more varied. I'd imagine you'd need about 10 such tiles for areas like farmland so repeating is difficult to see, but W2XP will take care of making sure things don't repeat by assigning tiles based on land-usage and making sure they join correctly.
 
You can see tiling here (I've only made 2 tiles)
Alabeo_R66_4.jpg
 
You can then take real data and layer it over the top of your generic landclass textures, e.g. In the below shots I've overlayed buildings and forests. The forests have their own texture overlayed onto the scenery (Which is ugly as I didn't take the time to make a decent forest texture)

Alabeo_R66_1.jpg
 
The effect can be very nice, remembering that it isn't photoscenery, but a trick which makes you think it is. So we get the best of both worlds, FSX landclass and XP's terrain without GB's of photoimagery.
Alabeo_R66_2.jpg

 

  • Upvote 15

Share this post


Link to post
Share on other sites

Great news Tony!

Thanks for you hardwork

 

 

IMO You can use default textures ,as a single art work each texture actually looks great , but as you mentioned it's the way they are placed.

You should check those textures , some of them you don't actually see in Xplane for some reason , but the files are there (for example there is a textures for olive fields , this could be great in greek islands)

but now that you have the option to control that , I think Xplane's default textures can show their full glory 

Share this post


Link to post
Share on other sites

 

 


IMO You can use default textures ,as a single art work each texture actually looks great , but as you mentioned it's the way they are placed.

 

Of course, you can place whatever texture you like and annotate it with real objects if you like

Share this post


Link to post
Share on other sites

WOW!! Amazing!! Will it be possible to add seasons this way? Thank You for all the great work you do for The XPlane Community.


100%75%50%d8a34be0e82d98b5a45ff4336cd0dddc

0D8701AB-1210-4FF8-BD6C-309792740F81.gif

Patrick

Share this post


Link to post
Share on other sites

 

 


WOW!! Amazing!! Will it be possible to add seasons this way? Thank You for all the great work you do for The XPlane Community.

 

Yes, since the textures are just in the library system they could change based on seasons. 

  • Upvote 2

Share this post


Link to post
Share on other sites

Of course, you can place whatever texture you like and annotate it with real objects if you like

 

Yeah , so I understood correctly :-)

 

What Im suggesting is instead of creating your own textures , you can check the default ones , there are many of them that you barely see in the sim , and with many different variations.

Share this post


Link to post
Share on other sites

 

 


What Im suggesting is instead of creating your own textures , you can check the default ones , there are many of them that you barely see in the sim , and with many different variations.

 

Well, it's tricky to just use the textures like in the shots above, because they aren't meant to be placed the same way as they are in FSX. e.g. The farmland ones are large repeating textures which span a large area and have no defined objects on them to annotate. To use the same textures, you'd have to cut them into smaller 1km (or whatever you defined as your grid size) areas and photoshop in objects, which LR probably wouldn't allow.

Share this post


Link to post
Share on other sites

Great works Tony, much appreciated. One question though, do you think this "mod" (if it becomes final product) will be usable by mortals like us? 


Vu Pham

i7-10700K 5.2 GHz OC, 64 GB RAM, GTX4070Ti, SSD for Sim, SSD for system. MSFS2020

Share this post


Link to post
Share on other sites

What a creative solution Tony! Well done! Will this feature be part of the W2XP generator?  It really saves the GB's from photoscenery and look way better then mesh alone.


X-Plane11

GTX1070 8GB Vram - i7 4770K cpu @3.5GHz Quad core - 16GB RAM

Share this post


Link to post
Share on other sites

Well, you'd be installing the end result, which is just scenery. So if for example I did a US state scenery, you'd just install it like any other scenery.

 

Actually generating the scenery yourself is not something users could do unless they had programming experience.


What a creative solution Tony! Well done! Will this feature be part of the W2XP generator?  It really saves the GB's from photoscenery and look way better then mesh alone.

 

It is in W2XP (in a sense that it uses W2XP as a library to place the objects). The issue is that the data in OSM is simply too patchy for this to work without plugging in other data, and that's where the complexity lies.

Share this post


Link to post
Share on other sites
The issue is that the data in OSM is simply too patchy for this to work without plugging in other data, and that's where the complexity lies.

And whats why the "original" mesh generator of Laminar is such a beast ... and why it needed years to tune raw data, create appropriate interpretation rules to let it generate a halfway nice looking result.

 

Indeed, users have to understand (a few, like Tony might have already very well understood :wink: ) that getting nice / good looking (and even halfway accurate) scenery is about much, much more than just having a good toll (nevertheless, a good tool is important too ... its like a body without a brain or a heart or a lung .... none of them works alone). And thats why its not a simple process where pushing a few buttons gives great results ...

  • Upvote 2

Share this post


Link to post
Share on other sites

It's about time Austin hires you for XP11 develpment :im Not Worthy:

 

I doubt Tony can adapt to LR development sleepy pace  :wink:

  • Upvote 4

Share this post


Link to post
Share on other sites

Wow, it's phantastic to see your creativity at work. I imagine this opens a whole new playground for large scale scenery design. One thought from a dummy:

Wouldn't the real world data based object collide with the objects that ship with the textures?

And one question: You are using XP's landclass data, alpilotx's/HDMesh, or is there even osm landclass data? Or is this question nonsense?

 

Best regards

Flo

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...