Skip to content

Altimetric layer become black in some areas #44

Description

@Francesco-NovaProject

Hi,
I'm facing an issue visualizing a survey. The problem is that moving the model in some cases the altimetic layer is like "cutted" on a plane, the cutted areas become black . I thought the reason was the size so I reduced the altimetric area but the problem still remains.
The survey where I face the problem is this: https://www.speleopg.it/monte-maggio/
For example, for this other survey, I have no problems: https://www.speleopg.it/modelli-3d/

Could you please help me understanding where is the problem?

screenshot

screenshot1

Activity

  1. aardgoose commented on Aug 22, 2021

    @aardgoose
    Owner

    Hi,

    Thanks for the report.

    This is a bug that is exposed by your model where the cave survey is small compared to the size of the terrain.

    The view of the camera has a near plane and far plane, and only objects between those planes are visible. With the error in scaling, the terrain is being clipped by those planes.

    I have fixed this in 2.2.1 which now displays your model correctly:

    snapshot

  2. Francesco-NovaProject commented on Jan 2, 2022

    @Francesco-NovaProject
    Author

    Hi, thanks for the reply, at the moment I continue to use this version so I cutted the terrein and added other caves and the issue seems to be solved. I have another question, as you can see at this link https://www.speleopg.it/monte-maggio the initial view is too close to the model so you can't see anything, you have to zoom out to see the caves. Is there a property that allows to set the initial zoom level?
    My actual view settings are these:
    view: {
    section: 0,
    entrances: false,
    cameraType: CV.CAMERA_PERSPECTIVE,
    box: false,
    terrain: true,
    view: CV.VIEW_ELEVATION_S,
    shadingMode: CV.MAP_OVERLAY,
    terrainShading: CV.SHADING_OVERLAY,
    walls: true,
    HUD: false,
    autoRotate: false,
    autoRotateRate: 1.0,
    stations: false,
    stationLabels: false,
    fullscreen: false
    }
    Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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