Menu

TGLLinesEx and TGLLinesNodesEx

Help
2021-02-17
2021-02-18
  • Eric Walmsley

    Eric Walmsley - 2021-02-17

    Hi,

    So, I'm creating a path with around 40 000 points that tracks a flight path. My Cadencer.OnProgress calls a refresh method of my Object. This creates a Dummy Cube and loops round the list of points, adding nodes to a TGLLinesEx child (of the Dummy Cube) object. Each node has a position and color added.
    I'd expect all 40 000 elements to be displayed in the Scene Viewer, but only the first 5 000 are visible. The data is there for all elements but they do not display and the line ends in mid air.

    Do I need to do anything else or is there a limit on childnodes or am I missing something? I'd post some code, but there are several units involved, it's not easy to follow and, as the first few thousand work, I don't think it's a problem with the method.

    I'm hoping someone might have some suggestions as to where else to look.

    Thanks in advance

    Eric

     
  • Eric Walmsley

    Eric Walmsley - 2021-02-18

    Hi again,

    Ignore this... I made a stupid error in my coordinate calculation. The position is based on a timeline and, because of the error, after point 5000, all the following point are stacked up in the same location...Doh!!

    Eric

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.