[iTowns-user] Unwanted culling when rotating globe

Adrien Berthet Adrien.Berthet at ign.fr
Tue Aug 6 00:01:26 PDT 2019


Hello Terek,

Could you share a more independent example ? I'm not sure what is the `globe` variable here, that's why it may cause some odd culling.

Thanks

Adrien
________________________________
De : ITowns-user [itowns-user-bounces at lists.osgeo.org] de la part de Terek Campbell [terekc at gmail.com]
Envoyé : lundi 5 août 2019 23:35
À : itowns-user at lists.osgeo.org
Objet : [iTowns-user] Unwanted culling when rotating globe

Hey all,

I’m attempting to rotate the globe over time via the following code:

    this.view.addFrameRequester(MAIN_LOOP_EVENTS.BEFORE_CAMERA_UPDATE, () => {
      globe.rotation.z = this.globals.getTotalRotation();
      this.view.notifyChange();
    });

However, I’m seeing odd culling once it starts rotating as in the attached screenshot. How can I prevent this?

~Terek Campbell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/itowns-user/attachments/20190806/f980a6d9/attachment.html>


More information about the ITowns-user mailing list