Truevision3D

TV3D SDK => TV3D SDK 6.5 => Topic started by: fex on June 04, 2007, 03:13:32 PM



Title: actor.SetBoneRotation: buggy absolute rotations.
Post by: fex on June 04, 2007, 03:13:32 PM
(http://www.fex-online.com/characterGenesis/Screenshots/wip060407/rot1.jpg)
(http://www.fex-online.com/characterGenesis/Screenshots/wip060407/rot2.jpg)

VB.NET, latest MTV3D65.dll.

Problem 1: When using absolute values, the bone's position is shifted to its parent bone. I've tried on other bones with the same results: the head bone gets shoved down with the neck bone, the lower leg gets crammed up to the hips with the upper leg, etc.

I've submitted a bug report.

(Also, not sure whether this is 6.5 specific or not. This thread might belong in the Bugs forum.)


Title: actor.SetBoneRotation: buggy absolute rotations.
Post by: fex on June 05, 2007, 09:58:31 PM
Problem 2: It appears that turning bRelative to False doesn't actually do anything (except for causing Problem #1). The rotations, as you can see in the following screenshots, are still handled relative to the bone's axes, even when bRelative is set to False. If the rotations were being handled absolutely, instead of relative to the bone's axes, then all the bones would rotate in the same direction, but instead, they all rotate according to their own axes. (Apologies for the redundancy. Just trying to make sure I'm explaining the problem thoroughly. XD)

(http://www.fex-online.com/characterGenesis/Screenshots/wip060507/absolute1.jpg)
(http://www.fex-online.com/characterGenesis/Screenshots/wip060507/absolute2.jpg)


Title: actor.SetBoneRotation: buggy absolute rotations.
Post by: SylvainTV on June 06, 2007, 03:40:56 AM
OK I'm going to look at this problem.
For the "absolute" rotation, i think the problem is that the translation isn't not kept (the matrix is totally replaced)


Title: actor.SetBoneRotation: buggy absolute rotations.
Post by: fex on June 06, 2007, 09:27:18 AM
Righty- good luck and god speed! If you need any files to test with, just lemme know. :D


Title: actor.SetBoneRotation: buggy absolute rotations.
Post by: fex on June 16, 2007, 11:16:03 PM
(gentle bump!)

Also, after the short conversation on IRC, I wanna make sure the second problem is being clearly conveyed.

You've already addressed the first problem: with bones losing their translation when using absolute rotations.

The second problem is that absolute rotations don't seem to actually set absolute rotation values.

Ideally, if I were to set four different bones to the same set of absolute rotation values, they would all be pointing in the same direction. Right now, however, if you set the same set of absolute rotation values to four different bones, each one will point in a different direction depending on what their initial rotation was.