RandyU
05-26-2001, 08:14 PM
This is not an OpenGL question.
I have -NAN (not-a-number) as a normal vector. So my normals are pretty random.
I'll try to use spheremap before fixing - it may be looking cool.
I cant find a documentation on NAN.
Which operations can have a NAN as results?
May it be crossproduct on invalid triangle?
How NAN is represented? 0xFFC00000, or there are other numbers?
Thanks in advance for any help.
***
Nevermind, I've already fixed it.
There was smth with wrong indexing.
BTW spheremap with invalid normals looked pretty dull.
[This message has been edited by RandyU (edited 05-26-2001).]
I have -NAN (not-a-number) as a normal vector. So my normals are pretty random.
I'll try to use spheremap before fixing - it may be looking cool.
I cant find a documentation on NAN.
Which operations can have a NAN as results?
May it be crossproduct on invalid triangle?
How NAN is represented? 0xFFC00000, or there are other numbers?
Thanks in advance for any help.
***
Nevermind, I've already fixed it.
There was smth with wrong indexing.
BTW spheremap with invalid normals looked pretty dull.
[This message has been edited by RandyU (edited 05-26-2001).]