Page 1 of 1
Rotation matrix error
Posted: Tue Jan 23, 2007 3:55 am
by suvakas
I have a scene, that renders out fine in version 06, but gives me
Fatal Error: SceneLoaderExcep: Rotation matrix must be orthogonal
in latest 07t2. I figure it must be a bug, cause well..the matrixes render out fine in 06 and the scene looks correct too.
Has something changed in that "department" in latest builds?
thanks
suvakas
Posted: Tue Jan 23, 2007 5:22 am
by drBouvierLeduc
just quoting wedge's thread :
"ensure every objects scale is equal for all 3 directions X,Y,Z - all uneqal scaling should be applied to the mesh (not the object) - use Ctrl-A to apply objects asymmetric transformations to the underlying mesh in your case
hope it help, regards, zuegs"
I find this limitation quite annoying...
Posted: Tue Jan 23, 2007 7:05 am
by suvakas
I think this is not the case. Rotation should have nothing to do with the scale of the object. (or it has?)
I only use uniform scale on my objects anyway so..this should not cause the problem. As far as i understand, then "orthogonal" means a way the rotation matrix is presented. Now why for version 06 my matrix is perfectly orhogonal and for 07 it's not?
Posted: Tue Jan 23, 2007 7:47 pm
by Wedge
Indigo 07t1's changelog says it raises error with something about the matrix. (don't remember exact wording)
Zuegs posted a fix and I included it in the 07 exporter. (blender)
See below and also you may want to follow the directions by Zuegs that are quoted above by drBouvierLeduc. These directions are for blender however, not sure what you are using. (I use blender)
I have finally got around to getting my beach house scene to work in 07 from 06 where it was designed for. It has nearly 500 objects and is about 270k in size after a number of optimisation passes.
This beach house scene threw that rotation matrix error on me. As it turned out, only one object was causing the problem, it was a cube I stretched to a rectangle to make a low quality door hinge. It was copied to four places in the scene. After I deleted these hinges, the scene loads fine. It is a pretty complicated scene and I think this was the only trouble that I remember.
I don't know the exact reason for this issue. I prefer to stay out of the confusing stuff. (confusing to me at least)
Update: For more information check the matrix post in the indigo general section.
Posted: Tue Jan 23, 2007 10:56 pm
by suvakas
Thank you Wedge for pointing me to Indigo 07t1's changelog. I had missed the matrix item from there. Rotation matrix is not changed in new versions, but now Indigo raises error on non-orthogonal rotation matrix. I went through my scene and yep.. there it was - a non orthogonal matrix =) So..problem solved!
And again - this was not related to scale at all. It was a pivot point problem.
suvakas
Ps. I'm using Max and my own exporter script i'm currently writing.