Skip to content

OANS Performance Mode #10361

@ToLaTE4u

Description

@ToLaTE4u

Aircraft Version

Stable

Description

For me personally the OANS is a bit performance heavy. So on big hubs I can not use it properly.
It would be great to lower the resolution of the map which is shown in the ND. As I've also noticed e.g. the inibuildsA350 quality is a bit lower then the A380 I assume there is room for optimization.

References (optional)

No response

Additional info (optional)

I've had a look at this file: fbw-common/src/systems/instruments/src/OANC/Oanc.tsx
export const OANC_RENDER_WIDTH = 768; export const OANC_RENDER_HEIGHT = 768;
export const OANC_RENDER_WIDTH = 512; // Reduced from 768 export const OANC_RENDER_HEIGHT = 512; // Reduced from 768
Make it more like a factor which is maybe settable in the EFB

const RESOLUTION_SCALE = 0.75; // Add this constant at the top const width = (dataBbox[2] - dataBbox[0]) * RESOLUTION_SCALE; const height = (dataBbox[3] - dataBbox[1]) * RESOLUTION_SCALE;

Also change the draw rate maybe accordingly:
const FEATURE_DRAW_PER_FRAME =50

For example:

Image

What I am not familiar is is antialiasing. Maybe disable this also for OANS to save performance.

Discord Username (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A380XRelated to the A380X aircraftRequestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions