model scalar
#4
Why do you think that you "first i need to move, then rotate and at last scale"?

Of you want to have stretched and rotated object, then you will need to first scale it and then rotate it - this is the order that needs to be in the Transform3DGroup - for example:

Code:
var transform3DGroup = new Transform3DGroup();
transform3DGroup.Children.Add(new ScaleTransform3D(2, 1, 1)); // scale x for 2x
transform3DGroup.Children.Add(new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0,1,0), 45))); // rotate by 45 degrees around Y axis
Andrej Benedik
  


Messages In This Thread
model scalar - by kreativasas - 07-26-2021, 08:00 PM
RE: model scalar - by abenedik - 07-27-2021, 08:25 AM
RE: model scalar - by kreativasas - 07-27-2021, 05:04 PM
RE: model scalar - by abenedik - 07-28-2021, 09:30 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)