Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - External model performance #46

Open
BobDotCom opened this issue Oct 31, 2024 · 5 comments
Open

Bug - External model performance #46

BobDotCom opened this issue Oct 31, 2024 · 5 comments
Assignees
Labels
bug Something isn't working Component: Model Exterior 3D/textures related

Comments

@BobDotCom
Copy link

Describe the bug
The sim freezes for a few seconds when switching to external view for the first time. After the first time, switching to external view is just fine.

This also happens when switching liveries (though not on interior views). Because of this, it leads me to suspect an issue with the livery being applied to objects.

I remember something like this on the 787, and the fix was to parent all of the objects that share a livery. Could be related? See here: IskenderWang/787-family#89 (and the corresponding issue, IskenderWang/787-family#88)

To reproduce
Steps to reproduce the behavior:

  1. Launch the sim
  2. Go to external view

Expected behavior
Little to no delay.

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: Windows 11
  • FlightGear version: 2020.3.19

Additional context
My hardware is pretty high spec, it shouldn't have any issues with this.

@Octal450
Copy link
Owner

Known problem. Should be fixed by the new 3D.

But I'll look into the livery thing.

Kind Regards,
Josh

@Octal450 Octal450 added bug Something isn't working Component: Model Exterior 3D/textures related labels Oct 31, 2024
@Octal450
Copy link
Owner

@L1011H

@Octal450
Copy link
Owner

By the way I'm not familiar with any FG plane that doesn't stop for a second when loading the exterior 3D.

It's worse in the MD-11 due to how heavy the 3D model is. Which the new 3D will fix.

Does parenting the livery stuff really help? Cause I don't think it's the issue.

I may try commenting out the livery code and seeing what happens.

Kind Regards,
Josh

@BobDotCom
Copy link
Author

Does parenting the livery stuff really help? Cause I don't think it's the issue.

In my experience, the lag almost completely disappeared on the 787 when this change was made. It was night and day. So (at least for the 787) it definitely can help a lot. Not sure if that's the issue here, but it could be.

@Octal450
Copy link
Owner

Octal450 commented Oct 31, 2024

Well I just deleted all the livery code from the model XML and the exterior load time was exactly the same.

2024.1.1. I do seem to recall this stuff was improved post 2020.3.

about 1-2 seconds delay.

i7-8700k + GTX1070.

Kind Regards,
Josh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Model Exterior 3D/textures related
Projects
None yet
Development

No branches or pull requests

3 participants