POV-Ray : Newsgroups : povray.general : What is -1.#IO : Re: What is -1.#IO Server Time
21 Dec 2025 04:25:22 EST (-0500)
  Re: What is -1.#IO  
From: Bald Eagle
Date: 17 Dec 2025 12:45:00
Message: <web.6942eba8df4c0ffa7f81dbac25979125@news.povray.org>
"Leroy" <whe### [at] gmailcom> wrote:

> 'vaxis_rotate' returns <-1.#IO,-1.#IO,-1.#IO>
> Or at less this is what POV prints out when checked.

Yeah, that's pretty crazy.
I've never even heard of that notation!

https://stackoverflow.com/questions/18249065/lua-file-output-what-is-1-io

> What was strange is that there never was an error when using the spline, it just
> didn't show any spheres or a few at the ends.

I'm guessing POV-Ray must have some sort of internal error handling for division
by zero / infinite values, and just runs with it.  That's not to say that what
you're doing will render correctly, as I observed with my trig scene.


> #if(V2=<-1.#IO,-1.#IO,-1.#IO>) #debug"hit"#end
>
> Caused POV to Crash!

That's weird - might be something that the parser doesn't handle well, but
crashing isn't acceptable.  Try -Inf

Also submit a bug report.


Does #if(V2.x =-1.#IO) cause a crash?

I'd run some similar experiments with inf, nan, etc. to see what happens

To get your scene to run, I'd test against some "very large value" and
early-exit if your value is greater than that.

- BE


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.