Clamp input to be in -1 to 1 range?
On 21 Mar 2013 20:50, "jimmy gass" wrote:
> I'm having issues with arccos returning nan for some values.
>
> Is there a way to filter out the nan and just return 0? It can break
> renders and simulations.
>
> What would cause arccos to return nan, is it like di
From: softimage-boun...@listproc.autodesk.com [mailto:
> softimage-boun...@listproc.autodesk.com] On Behalf Of jimmy gass
> Sent: Thursday, March 21, 2013 03:51 PM
> To: softimage@listproc.autodesk.com
> Subject: arcCos nan
>
> I'm having issues with arccos returning nan for some values.
: Thursday, March 21, 2013 03:51 PM
To: softimage@listproc.autodesk.com
Subject: arcCos nan
I'm having issues with arccos returning nan for some values.
Is there a way to filter out the nan and just return 0? It can break renders
and simulations.
What would cause arccos to return nan, is it like d
jimmy gass
Sent: 21 March 2013 7:51 PM
To: softimage@listproc.autodesk.com
Subject: arcCos nan
I'm having issues with arccos returning nan for some values.
Is there a way to filter out the nan and just return 0? It can break renders
and simulations.
What would cause arccos to return nan, is it
I'm having issues with arccos returning nan for some values.
Is there a way to filter out the nan and just return 0? It can break
renders and simulations.
What would cause arccos to return nan, is it like divide by zero? Maybe I
can do a check of the values before I'm operating on them.
Thanks
5 matches
Mail list logo