Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anyone know what cause this crash : FbxGeometryConverter::Triangulate() ?

8 REPLIES 8
Reply
Message 1 of 9
kuzume7WAC6
1070 Views, 8 Replies

Anyone know what cause this crash : FbxGeometryConverter::Triangulate() ?

Hi there.

 

We are using FbxGeometryConverter::Triangulate() and it's causing a crash in

some kind of FBX files.

I couldn't attach examples for some reasons but it's sure that it doesn't include any NURBs.

 

Version:

Autodesk FBX SDK 2016.1.2 Release, September 10th 2015

 

Does anyone know of a way to solve a problem ?

Thanks,

 

 

8 REPLIES 8
Message 2 of 9

Hi kuzume7WAC6,

 

To attach files in this forum, you must zip them beforehand.

 

Please attach the file - it will help us investigate the issue.

 

Thanks!

 

Viviane



Viviane Rochon Montplaisir
Message 3 of 9

Hi Viviane

 

Here is triangulate.zip which contains a triangle.sln that always reproduces the problem.

 

> triangulate.exe!main(int argc, char * * argv) Line 49 C++
triangulate.exe!__tmainCRTStartup() Line 536 C
triangulate.exe!mainCRTStartup() Line 377 C
kernel32.dll!75c3338a() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77e29a02() Unknown
ntdll.dll!77e299d5() Unknown

 

Required tools

  • VisualStudio 2012
  • Autodesk FBX SDK 2016.1.2 Release, September 10th 2015

Thanks

 

Message 4 of 9

Hi Viviane.

 

Could you reproduce the problem with our attached file ?

 

Please let me know if there's anything we can do.

 

Thanks

 

kuzume

 

Message 5 of 9

Hi Kuzume,

 

Yes, we could reproduce your issue using your file.

We logged it internally as FBXX-1145.

 

Thank you!

 

Viviane



Viviane Rochon Montplaisir
Message 6 of 9

Hi viviane,

 

Thanks a lot for your investigating and we're looking forward to fixing the issue FBXX-1145.

 

kuzume

 

Message 7 of 9

Hi Viviane.

 

Please let me know when does it fix if you can.

Thanks!

 

kuzume

 

Message 8 of 9

Hi Kuzume,

 

The crash is actually the consequence of an assert in debug mode. The file has bad data. An assert is raised because the line's start and end points are the same, and the FBX SDK cannot compute the direction of the line. The same program built in Release will complete the triangulation calls, but the result is going to be a mesh with some holes caused by the degenerated data that causes the assert to raise in the first place.

 

I hope this clears things up!

 

 



Viviane Rochon Montplaisir
Message 9 of 9

It was nice of you to take the time to solve this problem.

Thnaks a lot.

 

kuzume

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report