openframeworks / openframeworks/openFrameworks
3DModelLoaderExample example .ply file on windows
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
When running the example 3DModelLoaderExample on windows an pressing the key 3, the mesh fails to load and this message appear in the console. I think it is because of the .ply file, that it is not created in a correct way.
Exception thrown at 0x75BB3EF2 in 3DModelLoaderExample_debug.exe: Microsoft C++ exception: DeadlyImportError at memory location 0x0019F19C.
[ error ] ofxAssimpModelLoader: loadModel(): Validation failed: aiMesh::mVertices[2] is referenced twice - second time by aiMesh::mFaces[1]::mIndices[1]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the 3DModelLoaderExample and the .ply asset used when pressing key 3 on Windows. Reproduce the load failure and inspect the reported duplicate vertex reference in the model data. Done means the example loads the mesh without the DeadlyImportError on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100