NavHeader
journalHeader

Thursday, January 17, 2008

"1.#QO" - the value of DOOM!

Working in games and getting things to play nice in a game engine can be "fun." By fun I mean hey-kid's-let's-play-rake-the-leaves-on-a-windy-day kinda fun. This week's mind bender had to do with a crash every time I tried to do a pretty basic function of bringing in animation. What's especially endearing is not having error messages to have any idea what happened. So you start trying things. Fast forward multiple hours later and it turns out my Maya sim mentioned several previous posts past had sent an object into a quantum singularity known with translation and rotation values of "1.#QO." Now, I can't really fault Unreal for not knowing what to do with that. I didn't have a clue what to make of it either. Frankly I'm impressed Maya can still chug along will no mention of an apparent black hole in a scene. A couple of curves deleted later and things went swimmingly. Weird. Note - A quick google search informed me that this is the default value Visual C++ uses when a division by zero occurs.

3 comments:

MasterHD said...
This comment has been removed by the author.
MasterHD said...
This comment has been removed by the author.
MasterHD said...

See this link

A "#QO" is actually "#QNAN", but the text is "rounded" to 3 decimal places (I know, weird). I don't know how a quiet NaN is produced, but it doesn't throw exceptions like a regular NaN does.

All the stuff on this site is 2000 - by Josh Burton...unless otherwise noted. All rights reserved.