Skip to content

Optimizing Large-Scale Vector Data Rendering in osgEarth(3.7.2) #2914

@KLEEN2000

Description

@KLEEN2000

Hello osgEarth team,

I am currently working on optimizing the loading and rendering of a very large volume of vector data in osgEarth (version 3.7.2).

When using the native osgEarth APIs, I found that the performance differs significantly from my expectations. As the dataset size increases even moderately:

**FeatureModelLayer is no longer able to handle the scale of my data.

When using FeatureImageLayer, tile generation becomes noticeably slower.**

Because of this, I am considering implementing a lower-level optimization approach. However, osgEarth is a large and complex system, and I am not sure where the appropriate entry point in the source code would be.

Let me describe my requirements more clearly:

**The number of features is on the order of millions.

I need to separate my custom tile rendering system from osgEarth’s native tile system.

The native tile system should be responsible only for rendering base imagery and elevation.

My custom tile rendering system needs to overlay on top of the native terrain tiles.

Both systems should run in synchronization (LOD selection, tile lifecycle management, culling, etc.).**

I hope this description makes sense.

I would greatly appreciate your guidance on the following questions:

**From which part of the source code should I begin if I want to implement a custom tile rendering pipeline?

What is the recommended way to integrate a custom tile system into osgEarth so that it runs alongside and remains synchronized with the native terrain tile system?**

Thank you very much for your time and support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions