Airplane authors: prepare yourselves! I am now very close to closing the last of my fixable bugs filed against the 10.10 aircraft SDK. This means that the next beta will be the one to test your airplanes against. If there is a problem with your work in 10.10 and you tell us after 10.10 goes final, it may be very hard for us to fix it, so if you’ve been waiting on 10.10 betas, please go get the beta now and be ready to test shortly! If you have been waiting and letting your users try 10.10, start downloading now!
One of the main goals of 10.10 is to have the airplane authoring SDK provide similar visual results when HDR is on and off; another is to have these results remain the same for the rest of the v10 run.
Long Term Future Proofing
Lighting model changes represent one of the trickiest engine changes we can put into X-Plane. When done right they add realism, but they also fundamentally change how an author’s work looks. With 10.10, the v10 lighting model is “done” for the version run, but I don’t think it will be the final model forever. The v10 lighting model definitely contains some compromises to make translucency and v9-style authoring techniques work.
A question came up in the comments as to whether HDR mode with the deferred rendering engine and global lights might become the standard rendering mode for X-Plane 10. I think some day it may be – just as we used to have an option: pixel shaders or not, and now they are always on, I expect that most rendering innovations will eventually become standard over a long enough time frame as hardware continues to scale up.
(We have already seen this in first person shooters: the first ones to feature a deferred rendering engine often provided two rendering modes; now new games tend to be deferred-only.)
We certainly view the deferred engine and HDR mode to be preferred, and that’s why so many effects are HDR only. There are effects we can only do with a deferred renderer, and there are effects that are much cheaper to build into the deferred renderer.
Beyond X-Plane 10
If you are working on an aircraft and you’d like it to work well not only with X-Plane 10, but also X-Plane 11, here are a few things to avoid. These features are supported in X-Plane 10, but we see them as compatibility features, not “good things to use.”
- Avoid using the cockpit texture without real 3-d lighting. This happens when you use ATTR_cockpit without GLOBAL_cockpit_lit. The cockpit texture without 3-d lighting is still supported in version 10 but it is not recommended, and you can get some weird artifacts. Over time these problems will get worse (as the lighting model becomes more sophisticated) and a 3-d panel that doesn’t obey the lighting model may not even be possible after X-Plane 10. Fortunately you can use GLOBAL_cockpit_lit to turn on 3-d lighting and in almost all cases it will “just work”.
- Don’t use ATTR_diffuse_rgb and ATTR_emission_rgb. Instead, paint the color into your albedo and lit textures and use ATTR_light_level.
- Make absolutely sure that everything translucent is marked ‘glass’, and that nothing is translucent unless there is a really good reason. Alpha is really tricky for a deferred renderer! This is good advice for v10 as well.
X-Plane 10.10 beta 10 will be out soon, as well as more detailed instructions on airplane updates.
Hey Ben,
Your doing an amazing JoB ! Kudos.
Quick question and I know you have your plate full. Is there a road map for the cities ? Or any idias you guys have to make them look more city like ? This is the number one comment/complaint I read about on all of the forums.
Regards……..
Yeah, that road map is OSM! 😉 I kid, but…
http:/2012/03/when-are-we-going-to-get-high-the-plan-for-cities/
Kewl ! I must have missed this.
“In other words, once we have more buildings, more ground terrain, and a better way to turn down detail, the terrain should look more like a real city under a wide range of rendering settings.”
“In most cases the height data is already in the DSF; once we get the right autogen art assets in place, they should start repsonding to the height data.”
Is anybody at LR making any progress with the art assets and ground terrain ?
Thanks for continuing to share your inside knowledge, Ben. We really appreciate it.
Does marking translucent things “glass” apply to non-aircraft objects too? If so, how to do it?
— Dr Ropeless
No – the aircraft SDK contains special handling for alpha – there’s no similar concept for scenery (yet), so you just have to muddle through, and you can’t use alpha nearly as aggressively.
Thanks Ben and everyone for your hard work. I will be sure to go in and check for any bugs on my products and send in whatever i find as soon as i can for you.
please wait at least a few weaks for bugreports on Plane-Maker.
Are avionics related bugs considered to be part of the aircraft sdk and therefore considered closed (or binned), or are such bugs still on your to-do list?
Avionics bugs are part of the SDK – they’re not my bugs so I spoke too quickly about them being at zero. Buuuut…looking at the bug base I don’t see a lot of avionics todo items and we didn’t defer them. (I am referring to the sim here -some of the default planes still need work.)
One thing we are still working on is the starters – they’ve changed their physics model from torque to HP and the translation of the plane-maker setting leaves a lot to be desired.
So if you have an avionics bug, please file it!