Skip to content

Assertion failed when trying to compile the TriangulatedFaceMaps.cpp tutorial #43

@gk1705

Description

@gk1705

In the 3rd iteration over the connected components the line at 307:

status = mcGetConnectedComponentData(context, cc, MC_CONNECTED_COMPONENT_DATA_FACE_TRIANGULATION, 0, NULL, &numBytes);

causes an exception in source/frontend.cpp at line 3414 and subsequently 3418 with the following message: 'internal_inputmesh_face_idx < cc_face_count'

I used the 'cube.obj' and 'plane.obj' from the VertexNormals.cpp tutorial. I commented out the asserts and it does seem to be a bandaid fix.

Thank you for acknowledging my message.

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