openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.84k stars 2.56k forks source link

getting mesh polygon tessellation failed, winding mode 0 on RPI2 using the arm6 OF #5068

Open zenonasz opened 8 years ago

zenonasz commented 8 years ago

I have been trying to get the audioInputExample to work on rpi2. i have an external usb sound card with linein/mic input that works fine (tested with ffmpeg).

I keep getting this error and a segmentation fault which cause the app to crash and exit. [ error ] ofTessellator: performTessellation(): mesh polygon tessellation failed, winding mode 0

please, if anyone aware of the issue, instruct me.

Regards,

Zenon

faaip commented 7 years ago

Hi @zenonasz .

I have the same exact problem, did you ever get it to work?

Best regards

tgfrerer commented 7 years ago

I believe I've seen this error printout in the past - when the tessellator runs into a number which was NaN, like the result of a division by zero.

Are you drawing based on float/double values which might turn out to be NaN, perhaps?