Notifications
Clear all

[Closed] Relax

Whats the most economical way to relax a set of verts in a mesh if you were to do it script wise vs with the mod. Id love to see a purely scripted function to incorporate into a test I’m working on…

Thanks!

-Michael

10 Replies

relax, don’t do it…

there is the c++ source code for relax in the sdk, maybe you should start there.

Naturally its in there there and I didnt look. Thanks.

-Michael

 JHN

Haha, I do understand where you’re coming from but there’s merit enough for the existence of relax, I use it a lot for animated deformations, especially in medical animations it’s very useful!
But sure toporelax would be a very welcome addition to max.

-Johan

Yep there is a research paper volume preserving relax that I should look for again. its nice as it will keep all you’re verts from collapsing into a single point with high iterations.Ive thought about coding it up as a mod just for fun.

-Michael

Marius Silaghi has the answer for this problem

1 Reply
(@spaw)
Joined: 11 months ago

Posts: 0

Sure, he is using something very similar to the paper I was talking about if not the exact posted solution. Im thinking that the how of replicating it was more of the question. Ill see if I can find the paper tomorrow.

-Michael

There is something missing in Marius’ Toporelax, though. I’ve found that it has problems in some circumstances. For example, on a simple Tube() primitive it will never produce correct relaxing around the edge loop between where the beginning verts #s connect with the highest vert #s. I’ve seen it in other circumstances as well. It’s certainly mostly right, but is missing some piece of logic.

toporelax is one of my most used script/plugins

it helps me alot when making facial topology

im not a good artist though

seems like a fun script. I’ll see if i can put something together.

I model the majority of the time at work and I’d have to say that i use relax quite often.