Skip to content

Artifacts when a model rendered far away from scene origin #260

@SoftwareMechanic

Description

@SoftwareMechanic

Hello!

First of all, Congratulations for this amazing library 🚀

I am opening this issue because, in my use case, I am rendering assets both in local coordinates, and also placing them on top of the cesium tiles, using this repository: NASA-AMMOS/3DTilesRendererJS.
using SettledObjects, like in this react three fiber code example .

basically what settled objects does is moving the inner elements, using latitude, longitude and height converted to ECEF coordinates.

in local coordinates, the result of rendered GS is very good, but when the object is moved far away, on top of tiles, I got this weird rendering artifacts:

Image

I tried setting the spark renderer as a child of camera, as said in the documentation, but I don't get improved result and I get navigations issues also.
I also tried setting the spark renderer position at the center of the bounding box of the model, but it's not the solution as the model doesn't render anymore by doing that.

do you have some ideas on how I could fix the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions