Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: Align UV script optimizations

denisT: Serejah, do you remember that MXS algorithm to find all mesh geom elements? You already found it once on this forum… this was a greatest…

2 years ago
Forum
Reply
RE: Align UV script optimizations

Most likely your number is more correct. I just copy pasted uvs to mesh and used MNMeshElements to check the count. And maybe it isn’t a valid method …

2 years ago
Forum
Reply
RE: Align UV script optimizations

not bad for 131391 uv elements

2 years ago
Forum
Reply
RE: Align UV script optimizations

here’s what I suggested doing with uv-mesh representation don’t know why but subsequent execution of this code doing twice as fast than the first run …

2 years ago
Forum
Reply
RE: Align UV script optimizations

you can rewrite it so that you don’t have to make a separate mesh snapshot for each uv-element. If you have lots of elements it should definitely impr…

2 years ago
Forum
Reply
RE: Align UV script optimizations

king-david: They should be equally fast/slow within the Max environment? maxscript has not very good loop iteration performance and you’re bound …

2 years ago
Forum
Reply
RE: Align UV script optimizations

bad thing about unwrap if I remember correctly was a ‘dead’ vertex indexes after some operations like welding etc… it was complicating mapvert to poly…

2 years ago
Forum
Reply
RE: Align UV script optimizations

king-david: but I didn’t see a speed increase. Of course, it depends on the polycount of the model and the selection. And sometimes all you get w…

2 years ago
Forum
Reply
RE: Align UV script optimizations

select element is the slowest part in your code it could be helpful to get the mesh representation of the UVs using channelinfo and get all the data f…

2 years ago
Forum
Reply
RE: Align UV script optimizations

just in case you need a good tool to work with UVs there’s a UVTools king-david: Can anyone have a look through and see if there are any optim…

2 years ago
Forum
Reply
RE: A simple question

season_X: For example, we use the “AddAndWeld” to attach some splineshape s.There are a lot of knots above them that are very close together,They ar…

2 years ago
Forum
Reply
RE: A simple question

season_X: Why?(using redraw views) worth checking how it is implemented in EditSplineMod::DoAttach in editspl.cpp btw, do you really have to re …

2 years ago
Forum
Reply
RE: Vray Camera position based on Subject fitting into safe frame area?

FirstParadox: I havn’t found enough information on accessing the safe areas of the camera Find faces in camera frustum? 3ds Ma…

2 years ago
Forum
Reply
RE: Whether there is a way to refresh/update the Modifiers stack using C#

Did you try node.ObjectRef.NotifyDependents( … already? you’d better ask @Klvnk or somebody experienced in sdk

2 years ago
Forum
Reply
RE: Whether there is a way to refresh/update the Modifiers stack using C#

Don’t you have to pass IInterval instead of a null value?

2 years ago
Forum
Page 7 / 84