Author Topic: Jetways not working  (Read 13288 times)

NMahinK

  • Full Member
  • ***
  • Posts: 116
Jetways not working
« on: December 24, 2011, 09:21:43 am »
For some reason the jetways don't seem to be attaching  :(

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #1 on: December 24, 2011, 10:56:47 am »
They do here.

Bruce Hamilton

  • Beta tester
  • Hero Member
  • *****
  • Posts: 1768
Re: Jetways not working
« Reply #2 on: December 24, 2011, 07:05:34 pm »
Umberto, was something done differently with the jetways, perhaps in anticipation of GSX?  Oliver Pabst released an AES patch for version 2.5, but he says the jetways don't animate because he couldn't exclude yours to replace them.
Intel Core i7-4790 Haswell 4.0 GHz EVGA Z97 Classified EVGA Supernova 850 G2 G.Skill Ripjaws 16GB Western Digital 1TB GeForce GTX 780 Superclock

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #3 on: December 25, 2011, 10:53:59 am »
He's not referring to the jetways in general, but to secondary jetway only, in parkings where a double jetway exists, we modeled the (static) secondary one as a part of the terminal, so they can't be excluded.

This is obviously faster, since each separated jetway forces additional drawcalls multiplied for each material, splitting jetways just to allow the secondary jetway for AES has a cost we would impose to all users, even those not using it.

We might consider having better integration if AES could be upgraded in the future to allow communication with GSX, in order not to have the two products fighting against each other, but it will require willingness to cooperate from Oliver, because he'll have to modify AES in order to be able to talk with our scripting engine, so we could even do things like dynamically switch objects depending if AES it's in use or not.

Bruce Hamilton

  • Beta tester
  • Hero Member
  • *****
  • Posts: 1768
Re: Jetways not working
« Reply #4 on: December 25, 2011, 02:39:30 pm »
Does a jetway have to be seperated from the building to animate, even default?
Intel Core i7-4790 Haswell 4.0 GHz EVGA Z97 Classified EVGA Supernova 850 G2 G.Skill Ripjaws 16GB Western Digital 1TB GeForce GTX 780 Superclock

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #5 on: December 25, 2011, 07:03:20 pm »
Does a jetway have to be seperated from the building to animate, even default?

Yes of course but, since FSX doesn't animate the secondary, the only reason to separate it (and accept the additional performance hit), would be to allow AES on that one.

As I've said, if we had an easy way to communicate with it, we could even do two different version of the object, and display the optimized version if there's no AES active, and the entirely splitted version only for AES usage.

theshack440

  • Sr. Member
  • ****
  • Posts: 440
Re: Jetways not working
« Reply #6 on: December 27, 2011, 04:37:49 am »
Yes of course but, since FSX doesn't animate the secondary, the only reason to separate it (and accept the additional performance hit), would be to allow AES on that one.

As I've said, if we had an easy way to communicate with it, we could even do two different version of the object, and display the optimized version if there's no AES active, and the entirely splitted version only for AES usage.

Umberto, just a question. Why doesn't FSX allow you to simulate the secondary (static) part of the jetway? Is it just one of those weird things?
Happy Flying,
Wallace

www.theshackflights.com
Pilot and Head of Public Relations

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #7 on: December 27, 2011, 11:53:30 am »
Umberto, just a question. Why doesn't FSX allow you to simulate the secondary (static) part of the jetway?

FSX it's just designed to recognize only the first main exit for jetway usage. I'm fairly sure they did it on purpose, since FSX allows jetways to AI too, so they wanted to keep performances under control

theshack440

  • Sr. Member
  • ****
  • Posts: 440
Re: Jetways not working
« Reply #8 on: December 28, 2011, 04:35:52 am »
Ah ok that makes sense, thank you for the explanation.

Too bad though for someone who would want a working double jetway. How did you get the triple A380 jetway to work then? Just make it an animation that isn't actually a jetway? This is just out of curiousity, while I love it, FSX is confusing (to me) and is a beast that one day I would like to understand  :D
« Last Edit: December 28, 2011, 04:41:59 am by theshack440 »
Happy Flying,
Wallace

www.theshackflights.com
Pilot and Head of Public Relations

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #9 on: December 28, 2011, 09:03:51 am »
How did you get the triple A380 jetway to work then? Just make it an animation that isn't actually a jetway?

Yes, it's just an animation, and it's not "smart" (ok, FSX jetways are not *that* smart...), meaning you are supposed to park in the correct spot for the A380, because the jetway won't adapt to your position like the default ones.

OPabst

  • Newbie
  • *
  • Posts: 30
Re: Jetways not working
« Reply #10 on: December 28, 2011, 10:19:19 am »
Does a jetway have to be seperated from the building to animate, even default?

Yes of course but, since FSX doesn't animate the secondary, the only reason to separate it (and accept the additional performance hit), would be to allow AES on that one.

As I've said, if we had an easy way to communicate with it, we could even do two different version of the object, and display the optimized version if there's no AES active, and the entirely splitted version only for AES usage.

There is no need for 2 Versions. It's only needed to have the static secondary Jetways exported as a seperate MDL (all jetways in one, not each one as single object) and placed as one Scenery Object via BGLComp. In this case, you have the same performance, because there is no difference, if the jetways are part of the terminal MDL or in a seperate MDL, in both cases you have one "drawcall" for the jetways, same as when they are part of a bigger Terminal MDL, because they have there own Material/Texture, so they gernerate one call in both ways.
brgds
Oliver Pabst

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #11 on: December 28, 2011, 10:39:11 am »
In this case, you have the same performance, because there is no difference, if the jetways are part of the terminal MDL or in a seperate MDL, in both cases you have one "drawcall" for the jetways, same as when they are part of a bigger Terminal MDL, because they have there own Material/Texture, so they gernerate one call in both ways.

Not true.

Yes, every material generates a drawcall, but the XtoMdl compiler sorts objects by material, and all polygons sharing the same material will be drawn together with a single draw call, if they are in the same .MDL.

Having the jetways in a different .MDL, would break the sorting by-material optimization the XtoMdl compiler does, since it's not propagated through different .MDLs, and there will be more state changes (costly) instead of just setting the Terminal material,  draw all the Terminal polygons, then setting the Jetway material, and draw all the jetways together.

And, a jetway in a different .MDL called as a library object, means it will have its own transformation matrix so, on top of the state changes due to losing the material sorting, there will be additional state changes to apply independent transformation matrices to each jetway, while if they were part of the same .MDL, they would shared the single transformation matrix of the Terminal itself.
« Last Edit: December 28, 2011, 10:43:08 am by virtuali »

OPabst

  • Newbie
  • *
  • Posts: 30
Re: Jetways not working
« Reply #12 on: December 28, 2011, 11:57:35 am »
In this case, you have the same performance, because there is no difference, if the jetways are part of the terminal MDL or in a seperate MDL, in both cases you have one "drawcall" for the jetways, same as when they are part of a bigger Terminal MDL, because they have there own Material/Texture, so they gernerate one call in both ways.
Not true.

In the special case of Zuerich,  you will gernerate 4 calls more, because here the jetways use the same textures as the terminal. Ok. But this is less then each of your animated jetway will need, so I don't think you will see it in any form at the performance.
brgds
Oliver Pabst

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Jetways not working
« Reply #13 on: December 28, 2011, 12:49:39 pm »
In the special case of Zuerich,  you will gernerate 4 calls more, because here the jetways use the same textures as the terminal. Ok. But this is less then each of our animated jetway will need, so I don't think you will see it in any form at the performance.

I agree that this specific case of the secondary jetways on just Terminal B at Zurich won't affect performances in a noticeable way, but the issue was more how we design airports in general, and if we could know if AES is enabled or not, we could extend the method to the whole airport, and dynamically alternate between two entirely different versions of the terminal, one fully optimized for fps and the other splitted. With the way we generate scenery, the "slow" version wouldn't even be created, it will only take a bit of hard drive space more...

theshack440

  • Sr. Member
  • ****
  • Posts: 440
Re: Jetways not working
« Reply #14 on: December 28, 2011, 07:29:48 pm »
Yes, it's just an animation, and it's not "smart" (ok, FSX jetways are not *that* smart...), meaning you are supposed to park in the correct spot for the A380, because the jetway won't adapt to your position like the default ones.

Haha ok that clears things up. Thank you.
Happy Flying,
Wallace

www.theshackflights.com
Pilot and Head of Public Relations