Menu

TGLCustomEditingMeshObject.AddQuadFace() crash

Help
2019-09-21
2019-10-04
  • Kendall Sears

    Kendall Sears - 2019-09-21

    Before I hop into this I'd like to verify that it hasn't already been fixed.

    I am using TGLCustomEditingMeshObject.AddQuadFace() to try to load in very complex quad mesh items, and so long as the number of faces <= 360 everything is fine. However if I try to go above this number the routine crashes when outside of the debugger's stepping modes. If run without debugging, or just F9'd through the code it will crash.

    Never mind the fact that the thing is cutting the quad into 2 pieces (an invalid workaround since many advanced methods now rely on quad topology and not tri topo) . What I am wondering is if this has been fixed. The actual crash is happening in TFGVertexIndexList.AddToList(). ATM, I am using the GLScene that ships with CodeTyphon 6.8.

    I need to load multiple meshes of >100K quad facets and having this crash at 360 is far from useful.

    Thanks for any insights anyone can give.

    Edit: Code is being developed on Linux.

    Kendall

     

    Last edit: Kendall Sears 2019-09-21
  • Pavel Vassiliev

    Pavel Vassiliev - 2019-09-27

    Hi Kendall,
    I think it's a Lazarus and Linux item, therefore apply your short project code there with data. Here try to convert to Delphi Windows project.
    PW

     
  • Kendall Sears

    Kendall Sears - 2019-10-04

    I've gotten the meshes to load on Linux. I've had to make several changes to the GLScene library code due to a severe lack of error checking on operations there.

    After I get this project more complete, I will compare my changes to the SVN and submit them. I've implemented a number of new facilities for facegroup handling as well as some enhancements to other parts of the code.

     

    Last edit: Kendall Sears 2019-10-04

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.