Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Why do we need reset XForm at all ?

alex.motion
Advocate

Why do we need reset XForm at all ?

alex.motion
Advocate
Advocate

Hi ! 

 

I thought when mesh gets scaled with scale icon it never changes vertex positions behind a curtain 

thought it just scales object visually and object vertex position numbers stays same , that would explain why scaling is fast and why we need to apply XForm after scaling, but then I just checked scaled object vertices with polyOp.getVert $  command and saw that vertex positions changed .

 

Well, if it changes vertex position float numbers during the scaling, why do we need XForm at all? 

0 Likes
Reply
955 Views
2 Replies
Replies (2)

jon.bell
Alumni
Alumni

Hi Fantom,

 

Thanks for your question! This may be legacy behavior, but scaling an object at the "root" level instead of the sub-object level (vertices, polys) has been shown to cause geometry discrepancies later on, especially when adding more Editing modifiers to the object stack (or especially when parenting and rotating said objects to others in the scene). Non-uniform scaling can (sometimes) be even worse.

 

In general, it's always better to apply an Xform modifier to your objects and use that to scale them. However, I'll post your question to our devs to see if they can give you a more technical explanation of what's happening here "under the hood." Thanks!



Jon A. Bell
Senior Technical Support Specialist, 3ds Max

alex.motion
Advocate
Advocate

Hello John ! Thank you for response .

 

I know it spoils modifiers , scaling is multiplication matrix and it applies for whole object 

but it looks like that matrix stays with that object after scaling and it also affects everything after scaling 

 

in other words, what is the difference between scaled 10meter object and created 10 meter object from technical point of view ? I think that xform stuff might be avoided and taken from max at last ...

 

but I need to understand the reason behind it  

as I said, logically I thought that's because vertices positions floats are not affected while scaling , and maybe it's done for  performance reasons to make high poly object scale faster , but it looks like they are updating 

and if they are updating why do we need xform modifier and reset xform utility at all ..

 

"I'll post your question to our devs to see if they can give you a more technical explanation of what's happening here "under the hood." Really hope on that. Thanks! 

 

P.S.

 

If you remember we were also touched that topic about texture paths 

Please Don't forget to mention that one also , about texture file paths saving (now it happens only on max exit, and max crash/abruption makes that paths lost) I think way better is to save it when max saves file. 

 

0 Likes