GLActor1.LoadFromFile('model\model2.smd'); GLFreeForm1.LoadFromFile('model\hair1.obj'); for i := 0 to 66 do begin memo1.Lines.Add(GLActor1.Skeleton.BoneByID(i).Name); end; GLActor1.Position.X := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X; GLActor1.Position.Y := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].Y; GLActor1.Position.Z := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].Z; Can I do this? is there an effect on memory? GLScene 2.2 or m:=GLActor1.Skeleton.BoneByID(66).GlobalMatrix;...
GLActor1.LoadFromFile('model\model2.smd'); GLFreeForm1.LoadFromFile('model\hair1.obj'); for i := 0 to 66 do begin memo1.Lines.Add(GLActor1.Skeleton.BoneByID(i).Name); end; GLActor1.Position.X := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X; Can I do this? is there an effect on memory? GLScene 2.2 or m:=GLActor1.Skeleton.BoneByID(66).GlobalMatrix; GLActor2.SetMatrix(MatrixMultiply(m, GLActor1.AbsoluteMatrix));
GLActor1.LoadFromFile('model\model2.smd'); GLFreeForm1.LoadFromFile('model\hair1.obj'); for i := 0 to 66 do begin memo1.Lines.Add(GLActor1.Skeleton.BoneByID(i).Name); end; GLActor1.Position.X := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X; Can I do this? is there an effect on memory? GLScene 2.2
procedure TForm1.GLCadencer1Progress(Sender: TObject; const DeltaTime, NewTime: Double); begin GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X; end; is it possible to do this.... 1. CPU load 2. memory ????? GLActor1.Position.X := GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X;
procedure TForm1.GLCadencer1Progress(Sender: TObject; const DeltaTime, NewTime: Double); begin GLActor1.Skeleton.BoneByID(63).GlobalMatrix.V[3].X; end; is it possible to do this.... 1. CPU load 2. memory ?????
Does anyone understand this? Alguien entiende eso? como hacerlo
var m: TMatrix4f; begin m := GLActor1.Skeleton.BoneByName('Name:bone1').GlobalMatrix; GLActor2.Matrix := MatrixMultiply(m, GLActor1.AbsoluteMatrix); error = GLActor2.Matrix or m:=GLActor1.Skeleton.BoneByID(66).GlobalMatrix; GLActor2.SetMatrix(MatrixMultiply(m, GLActor1.AbsoluteMatrix)); The hair doesn't move :((
var m: TMatrix4f; begin m := GLActor1.Skeleton.BoneByName('Name:bone1').GlobalMatrix; GLActor2.Matrix := MatrixMultiply(m, GLActor1.AbsoluteMatrix); error = GLActor2.Matrix