POV-Ray : Newsgroups : povray.general : I am calculating a normal... : Re: I am calculating a normal... Server Time
6 Aug 2024 14:17:42 EDT (-0400)
  Re: I am calculating a normal...  
From: Mark Wagner
Date: 28 Feb 2002 00:41:20
Message: <3c7dc300@news.povray.org>
Jim Charter wrote in message <3C7### [at] aolcom>...
>and my calculation returns the following values:
>
>< -1.#IND000,-1.#IND000,-1.#IND000 >
>
>can anyone help me make sense of this?
>
>Bottom line, I just need to know how to test for these and give them a
>skip when they occur.

Without seeing the code you are using, I can't tell you for certain.
 The -1.#IND means that a recent calculation had an undefined result.  I'm
guessing you're dividing by zero somewhere.  Do your calculations normalize
the vector?

--
Mark


Post a reply to this message

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