Any chance to have meshinstance with curvature?

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Víctor Paredes
Site Admin
Posts: 5826
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Any chance to have meshinstance with curvature?

Post by Víctor Paredes »

Hi, I'm working in an idea which will revolutionize the way we make head turns.
Sounds insteresting, doesn't it? :roll:

I'm just playing with some test and works great, but it really needs Fazek's meshinstance script. The current script is ok, but only works with point movement. If it could control curvature too it would be great.

Can anyone help me?
thanks!
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
Rai López
Posts: 2298
Joined: Sun Aug 08, 2004 5:41 am
Location: Spain
Contact:

Post by Rai López »

...course! Meshinstance always have been like a godsend for who be looking for some unlineality?/ freedom animation techniques and, luckily, I just was treating to add some little functionalities like that one a few months ago! So... although it is a WIP, you could give it a try carefully right now if you want:

:arrow: fa-rl_meshinstance_03.0.3

Ah, if you finally dare, don't forget to examine the *.anme file to see how names convection works in this version! Cause, although I'm neither happy of how it works right now, I was treating to get more layer name flexibility been able to add a little numerical extension, that was when I just was treating to take up again my scripting learning, hence so much limitations, but well... then, I read somewhere that SynthSin75 still had done a better approach in this sense, so maybe an easy script "cross" could be quickly done if they fall in love... but I still had to finish my actual layer tool* that is taking to me several weeks before I be able to think again in that cheesy things!

Well, of course good luck with your experiments! "But (with Dr. Filkenstein voice) curiosity kill the cat, you know..." ;)


PS: I have just observed that curvature is baked for instance layers and, although it doesn't matter at all cause once instanced you can't manipulate'em anymore, I don't remember exactly the reason I did it in that way (I think it was cause real-time update issues), so I'll have to take an eye to that part too and see if the last Mike curvature access by script added can help...

* Tool that I guess you'll love as much as I still do, if you start to use masking (as it seems) as much as I do! Or I think so :roll:
Last edited by Rai López on Tue Feb 16, 2010 12:46 pm, edited 5 times in total.
...
User avatar
Víctor Paredes
Site Admin
Posts: 5826
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Thank you, ramón. It works great for my new head turn technique. I'll be testing.
Thanks!
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
Víctor Paredes
Site Admin
Posts: 5826
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Hi, Ramón, I have been playing with your meshinstance and found a problem. It only works when the dup layer is inmediately on the original layer. So if you have any intermediate layer it just break the meshinstance relation.

As I really need it for work with this masking (as you have seen, I'm sure :wink:) I'm forced to have "face.dup" far from "face". As the original meshinstance can have any order without problems, I'm pretty sure it can be fixed on your mod.

Thanks again
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
Rai López
Posts: 2298
Joined: Sun Aug 08, 2004 5:41 am
Location: Spain
Contact:

Post by Rai López »

Eyyy! I'm having a quick test and I can't get that behaviour right now... I'm treating to move back to the days that I get into the code and I'm hardly able to find slight traces of similar problems that come into my mind, although, uhmmm... I'm not totally sure...

...I really don't know for that slight traces if the problem could be related with depth sorting or even masking! Anyway I have several files when I used the script in a very similar way you do without any problem... So I'll have to find the time to revise and remember what I exactly did, although, OTOH... I doubt I changed things like how the script works in essence! So I wonder if the meshinstance will be breaked for you completely or... or only the curvature part?

Anyway! Keep always in mind that, as I still said, it's all a WIP that I only posted here for show you it's feasable and you could taste the *magic* of curvature instance that so much maked me jump of joy when I saw with my own eyes :), but sadly it is a half complete work that really needs an update (more knowing about the latest scripting interface additions about point curvature channels and key frame interpolations) for which I'd love find the time more sooner than later...

Of course, I'm sorry it doesn't works as it should! But any feedback is always welcomed so I or, even better, any other real scripter can take'em into account... GREETINGS!
...
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 3:31 am
Location: New Zealand

Post by funksmaname »

Hey guys,
Was just looking at this (THANK'S RAMON!)
Selgin, if you open ramons demo file, you can put layers in between, and create your own dupes for new layers that aren't adjacent - so must be something in your file that is interfering?

I can't work out where that red outline is coming from though :P
User avatar
Víctor Paredes
Site Admin
Posts: 5826
Joined: Tue Jan 25, 2005 3:18 pm
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

funksmaname wrote:Hey guys,
Was just looking at this (THANK'S RAMON!)
Selgin, if you open ramons demo file, you can put layers in between, and create your own dupes for new layers that aren't adjacent - so must be something in your file that is interfering?

I can't work out where that red outline is coming from though :P
If I remember well, seemed to be it was the masking which broken all. The script works well, but only until you set the bitted apple masking.
Sorry I can't check it right now.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Post Reply