aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: How to make a public struct member read-only in maxscript?

Here’s a way I use sometimes to create a dynamic ‘readonly’ parameter struct

8 years ago
Forum
Reply
RE: How to make a public struct member read-only in maxscript?

noel20: hey Denis, i used that way and solved the problem but there is a thing confuse me. How could ‘This’ be an instance of the main struct? You d…

8 years ago
Forum
Reply
RE: Matrix3 and rotations… again!

Oh, sorry. I missunderstood you. So I’m right… and it’s a extrange behavior, not mentioned in the maxscript help (all it says is “All the transform op…

8 years ago
Forum
Reply
RE: Matrix3 and rotations… again!

denisT: rotate and scale node are both about pivot in the world coord sys by default It seems that’s true in any ‘coordsys’. The way to take into…

8 years ago
Forum
Reply
RE: Matrix3 and rotations… again!

Thanks DenisT. That’s what I’ve learned in my tests… Can you please confirm (or not) that rotating and scaling for nodes is always about their pivot? …

8 years ago
Forum
Reply
RE: Matrix3 and rotations… again!

As I can see, it’s simpler than that: tm = (matrix3 [1,0,0] [0,1,0] [0,0,1] [10,10,0]) q = (AngleAxis 45 [1,0,0]) as quat rotate tm (inver…

8 years ago
Forum
Topic
Forum
Replies: 7
Views: 38
Reply
RE: Getting Negative Scale from Matrix3

That is. Or three negative scales the same than one negative scale plus a rotation. More than this, you can put the negative scale in any of the three…

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

“For the scaling part without its sign, you can just find the length of the three matrix rows: scaleX = length matrix3.Row1 scaleY = length matrix3.Ro…

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

It’s worse than that, Jorge. We can’t rely nor in the scale (its sign), nor in rotation. The only truth is that their combination gives the same res…

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

Mekamea: Surely there has gotta be a way xD There isn’t.

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

aaandres: SpectralDecomp: gives good sign for scale, but bad values for both scale and rotation. With ‘bad values’ I mean that they don’t match at …

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

After some searching and tests… The 3dsMax SDK gives at least 3 matrix decomposing methods: DecomposeMatrix, SpectralDecomp and DecompAffine. Decomp…

8 years ago
Forum
Reply
RE: Getting Negative Scale from Matrix3

I’m not sure there’s a way to do it… I’m working these days in a Geometry3D API in C# and I’m just right now with matrix decomposing. As I have read, …

8 years ago
Forum
Page 12 / 52