Following up,
It looks like this is a general "undefined" state for Windows.
My money is divide by zero error in normalizing the vector to unit length.
https://www.mathworks.com/matlabcentral/answers/31571-1-io-error-on-xpc
https://stackoverflow.com/questions/35997187/what-leads-to-the-floating-point-exception-1-io
https://www.sierrachart.com/SupportBoard.php?ThreadID=14054
https://unmethours.com/question/24410/-1io-error-value-when-running-battery-storage-in-e/
I'd simply check vlength (Vector) before proceeding, and exit early if a
zero-length vector is the input.
(Using those values in a #if statement should still not crash POV-Ray)
- BE
Post a reply to this message
|