Notifications
Clear all

[Closed] how to get vertex id as integer ?

Wow! Looks like you really took the ball and ran ran with it:D

I’ll check this out tonight if I get a chance.

RH

cool, please share your thoughts when you do.

i ill add in a feature to copy/paste multiple selected vertices. Also need to work on that undo. pretty odd that doesn’t work by itself, it’s just a series of commands right? but since i do a loop i will put the whole thing in one undo action after i learned how to do that. beyond that i would look if it is possible to do something like a ‘ripple edit’ ie when you do (positional) changes to the ‘master’ mesh, it will update in the targets, optionally keeping the offsets already made in them

but first need to clean it up a bit, my functions could be written better, some are even abundant, and i should think about a more structured error checking.

would it be worth a new thread once i gost so far? since no one else seems to notice this…

Holy crap this I have to check out.

[time passes]

Ah nice, very cool, it works nicely. And, might I add, it works with me just half-assing my way through the interface no less. Brilliant!

Certainly a useful script, and with further iterations to polish off the interface and clean up the code and whatever else you want to do, it should turn out very nicely. Nice work man.

thanks ! It’s my first effort at scripting something useful.

hey man this looks like a potentially great and powerful recourse, but I cannot get it to work for more than one vertice at a time. Is there anyway to make it work for multiple vertices?

Anyways thanks and keep up the good work.

I’d like to chime in here as well.

First and foremost I wanted to say thank you for developing a useful script that is open to the community! Now on to my problem…

I have the script installed but cannot get the mirror posing to work.

  1. I create an object
  2. I copy then mirror that object
  3. I edit multiple vertices on the original object.
  4. I select the original as “source”, and the mirrored copy as “target”
  5. With the original object selected I click “build vertex relations”
  6. I click “mirror pose to target”

The result? I get an error message : “–Runtime error: Cannot convert value to bitArray: undefined”

Obviously I’m missing something if its working great for others… Where am I screwing up? Someone smack me over the head and help me!

:wip:

[edit]

Btw, the setvert and getvert works without a hitch for me, but mirroring only one vert at a time almost defeats the purpose…

I tried running setvert and getvert for one vertex between the source and target because I thought maybe it needed one initial relationship to run the mirror pose, but that also didn’t work. Or did I maybe just do it wrong?

[/edit]

This is the answer to my prayers. Or at least it could be.

I’m an Animation Student currently making morphs, but having trouble getting the ‘bl**dy’ verts the same on both left and right.

I’ve never used scripts before and to be honest I’m not keen on ‘programming’. But this could save me a real headache.

How do you get it to work?

Do you need to do it before creating the first morph to mirror from?

A little step by step run through of mirroring the morph is really what I’m looking for.

Hope you can help.

Thanks again.

Rob

P.S. I hope that discreet pay you a bunch to stick this in Max 8!

heh, looks like there is some renewed interest in this script eh. This was pretty much my first steps in maxscripting, as experiment and something i needed for a project. Didn’t really finish it but i guess i should look into it again, make the basics usable. i’d have to think again how it actually works myself too… i’ll have a look about it and see what i can do.

I’m just bumping this thread up for fun… i wish I could delete my own posts

Here is a working similar script from SCRIPTSPOT.COM
http://www.wahooney.net/downloads/MirrorMorph.exe

works fine and incredible time saver. good work boys!!

Page 2 / 2