[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Yafray-devel] "nan" points.
From: |
Alfredo de Greef |
Subject: |
Re: [Yafray-devel] "nan" points. |
Date: |
Mon, 30 Dec 2002 14:09:28 -0800 (PST) |
--- Andera <address@hidden> wrote:
> Any idea on how catch a "nan" point, the following
> doesn't work!
>
> #Check for stray points
> if (v.co[0] == None or v.co[1] == None or v.co[2] ==
> None):
> print "Catched 'nan' point, replacing with 0,0,0!"
>
> What really is a blender "nan" point?
NaN = Not a Number, undefined result, it has to do
with floating point math, nothing to do with Blender
perse, other than of course the name of the old
Blender company 'NaN'.
You can skip these points by making sure you only
write the vertices that are actually used in the
faces. Might make the file a bit shorter as well.
Alfredo
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com