Rotation matrix error

Feature requests, bug reports and related discussion
Post Reply
5 posts • Page 1 of 1
User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Rotation matrix error

Post by suvakas » Tue Jan 23, 2007 3:55 am

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

User avatar
drBouvierLeduc
Posts: 412
Joined: Wed Oct 11, 2006 2:32 am
Location: france

Post by drBouvierLeduc » Tue Jan 23, 2007 5:22 am

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...

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Jan 23, 2007 7:05 am

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?

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Tue Jan 23, 2007 7:47 pm

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.
Content contained in my posts is for informational purposes only and is used at your own risk.

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Jan 23, 2007 10:56 pm

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.

Post Reply
5 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests