Anime Studio Forum Forum Index Anime Studio Forum

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Universal Layer Tool - added Universal Point Tool, also
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Anime Studio Forum Forum Index -> Scripting
View previous topic :: View next topic  
Author Message
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Sun Nov 07, 2004 1:20 pm    Post subject: Universal Layer Tool - added Universal Point Tool, also Reply with quote

So, I've seen any number of complaints on the lack of an easy way to get at some perameters because of the new context sensitive display. There are a few points where I heartily agree. Here is my first enty to help alleviate the difficulty - the Universal Layer Tool. This is a zip file with the Tool script and icons. If you wan't to use it, just expand the file in your Moho/Scripts/Tool folder, wherever that is.

What I've done -- I've combined all of the Layer Rotation tools and the Layer Translation tool into one package. For one, you get the numerical figures for each rotation and translation in one spot on top of the main window.

You can also change them all with the mouse. With no keys pressed, it works just as the regular Rotate Layer tool does. Press the <ALT> key, and you rotate the layer on the X axis, press the <CTRL> key and you rotate the Y axis. Press the <SHIFT> key, and you switch over to Layer Translation. <SHIFT> and <ALT> together and you traslate on the Z axis (depth).

I mostly did this because I've been doing a fair amount playing with layers in 3D space, and had to go back and forth a lot. It's also nice to just have all the info in front of you. One thing to keep in mind when you're using it. It can do some odd things when you switch back and forth between the Rotation and Translate modes without releasing the mouse button first. I'll figure that out, but it's not too much of a problem. Hope you dig it.

Oh, yeah, because of having to use the <SHIFT> key to do the translation, I had to kill the ability to use it for constraining movement. I had wanted to use the <TAB> key to do translations, and as soon as I fiigure it out I'll switch it over to that and put the constraints back in.

--Brian

p.s. Point tool is below
|
\/
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com


Last edited by 7feet on Tue Nov 09, 2004 5:27 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cribble



Joined: 04 Aug 2004
Posts: 890
Location: Cornwall, UK

PostPosted: Sun Nov 07, 2004 2:32 pm    Post subject: Reply with quote

Thank God. This is such a useful tool, i didn't know how i lived without it. Thanks you so much 7feet, I would crown you if i met you.
_________________
--Scott
Daily photoblog '07-0'8
MySpace
cribble.net
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
AcouSvnt



Joined: 04 Aug 2004
Posts: 190
Location: Rochester, NY

PostPosted: Sun Nov 07, 2004 2:41 pm    Post subject: Reply with quote

Wow, neat -- I wonder if it would be just as simple to combine other tools into one this way?
_________________
-Keith
Back to top
View user's profile Send private message Visit poster's website AIM Address
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Sun Nov 07, 2004 3:33 pm    Post subject: Reply with quote

Hey, just make a list. Suggestions are welcome. I know it makes sense to keep things simple for the general user, but some "power user" bit's are important. This was, from what I could see, both one of the easiest to do and one that would be immediately handy. Glad y'all like it.

One other thing I wanted to do is allow you to select multiple points, or deselect multiple points that are already selected, while you stay within the Translate Points tool. I spend a lot of time going back and forth between Select Points and Translate points, and folding them together somewhat might be a good thing. Maybe slap a Magnet mode in there too. I think that might be kinda cool.

--Brian
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Benvindo



Joined: 03 Aug 2004
Posts: 38

PostPosted: Sun Nov 07, 2004 6:53 pm    Post subject: Reply with quote

7feet ,

The Universal Layer Tool is reeaaalllly nice !!! Very Happy

Thanks


Benvindo
Back to top
View user's profile Send private message
AcouSvnt



Joined: 04 Aug 2004
Posts: 190
Location: Rochester, NY

PostPosted: Sun Nov 07, 2004 10:36 pm    Post subject: Reply with quote

I was thinking a way of adding points, selecting points, translating points and adjusting the smoothness/tightness of the curve through those points all in one tool could be neat ... maybe making use of all three mouse buttons and the scroll wheel, or something. So you can do all those things without taking your eyes off the work area.
_________________
-Keith
Back to top
View user's profile Send private message Visit poster's website AIM Address
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Mon Nov 08, 2004 2:17 am    Post subject: Reply with quote

Part of the problem I having is, at least on PC's , the right mouse button seems to be spoken for. As far as I can tell, the Lua interface only recognizes the left mouse button. Also, there are other key shortcuts for use with one button Macs, and I want to make sure everything stays cross-platform. Us eing the scroll wheel for some things would be handy, but I can't figure it yet.

I was working on what I said, and got a blanket deselect and lasso selection into the Translate point tools, but the lasso would break if you did the deselect thing. I'm sure I could track it down. The Add Point should be posssible to get in there, but I'm afraid of it getting confusing. The same with the Curvature tool. Besides the fact that at this point, I'd probably go nuts.

One of the difficulties is that tha Lua interface still ain't documented, and work with what I can puzzle out from the existing scripts. For example, it's clear, 'cause it's used all over the place, that you can easily screen for the <CTRL> and <ALT> keys in conjuction with the mouse, but are there any other keys? I just dunno. The way you can capture other keys is a little confusing, and it's not reporting the keys as matching their defined Global Values correctly in son cases (I wanted to use the <TAB> key as the modifier for the translation for clarity, but the Global is equivelent to 9 and the function returns -3. Or maybe the reverse, I forget at the moment. That caused a fair bit of fun.) It's just a question of what I can do with what I have.

If I knew what was going on, I'd be trying to write some of the brand new tools I wan't. This is all good practice, though.

So, I should have the Translate Points thing done tonight. I was going crossed. I also thought I would try and make a button style tool ( like the Flip Layer, or Smooth and Peak) that would pop up a window with every damn parameter I could cram into it. I don't think I could make it persistant, but you could get an overall look at what's going on. Maybe one for each toolset.

--Brian
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AcouSvnt



Joined: 04 Aug 2004
Posts: 190
Location: Rochester, NY

PostPosted: Mon Nov 08, 2004 2:27 am    Post subject: Reply with quote

Curvature, there's the word I was trying to think of, heh. Smile
_________________
-Keith
Back to top
View user's profile Send private message Visit poster's website AIM Address
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Mon Nov 08, 2004 10:16 am    Post subject: TaDahhh. Reply with quote

No nifty names, but I whipped the new-and-improved Point Translation tool into decent shape. Works as usual, but <CTRL><ALT> and a mouseclick will deselect all points. Just <CTRL> puts you in Lasso selection mode. It also clears the current selection. If there's an outcry for it to add to selections instead, no problem.

Most of the code for the point curvature is already in there but I couldn't quite get it working for tonight. The rest of it seems fine. 'Night, all.

--Brian
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kdiddy13



Joined: 03 Aug 2004
Posts: 381
Location: New Zealand

PostPosted: Mon Nov 08, 2004 3:43 pm    Post subject: Reply with quote

This is awesome! Thank you! THANK YOU!

Would it be possible to do something similar with bones (in particular the manipulation/animation aspect of it). I miss being able to see everything a bone is doing numerically at once.
_________________
Producing solidly ok animation since 2001.
www.galaxy12.com

Now with more doodling!
www.galaxy12.com/latenight/
Back to top
View user's profile Send private message Visit poster's website
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Tue Nov 09, 2004 1:37 am    Post subject: Point Tool Reply with quote

Okay, I think this one is it for a while. I just can't cram any more in there.

- Just clicking and moving works as it did, but the <ALT> switch to disable Auto-Welding won't work in this case, you have to use the checkbox.

- <CTRL> click without selecting anything new deselects everything.

- <CTRL> click(hold) puts you into Lasso mode

- <CTRL> <ALT> now puts you into Point Curvature adjustment mode

- <SHIFT> to Add Points (<ALT> with it will still disable Auto-Welding.

- <ALT> by itself puts you in Point Rotation mode. Also holding down <SHIFT> <CTRL> lets you move the current Origin for rotation to the point you move the mouse to.

- <CTRL> <SHIFT> puts you into Point Scaling mode.

Whew!

Universal Point Tool

Sorry, no more constraining, just couldn't fit it in. I think that's about it. I'll see what I can do about the Bone thing.

--Brian
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
teotoon



Joined: 04 Aug 2004
Posts: 91
Location: Turkey

PostPosted: Tue Nov 09, 2004 9:14 am    Post subject: Reply with quote

This is such a nifty and useful tool. Thank you very much SF!
Back to top
View user's profile Send private message
7feet



Joined: 04 Aug 2004
Posts: 840
Location: L.I., New Yawk.

PostPosted: Tue Nov 09, 2004 10:53 am    Post subject: Reply with quote

Y'welcome. Just trying to get stuff tuned up to my liking so I can get down to the biz of animating, and always glad to share. I have all the bone related scripts open in my text editor ( and by the way, thanks Keith for the Textpad sytax you put up a while ago, saved me from many a dumb mistake) and I'm trying to figure it out. there are only so many perameters you can put on the top of the main window. If there's some way to store the window position (hey LM!) for a SimpleDialog box, I don't think it would be all that hard to whip up a psuedo-persistant window with all the happy little parameters you'd want that would just re-pop open automatically as you wen't between bone (and perhaps other) tools. Just as long as it could pop open in a spot that's NOT right in the middle of the main window. I think that would neatly cover the griping about the loss of the old info panels.

I'l figger if out eventually. Keep the suggestions coming. With enough praktis, I might begin to think I know whats' going on.

--Brian
_________________
--Brian

www.SevenFeetDesign.com
7feetanimestudio@gmail.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rylleman



Joined: 15 Feb 2005
Posts: 642
Location: sweden

PostPosted: Thu Mar 10, 2005 12:16 pm    Post subject: Reply with quote

the links to your scripts doesn't seem to work anymore.
_________________
Rylander Animation
My Moho Scripts
My blog.
Back to top
View user's profile Send private message Visit poster's website
Green Walls



Joined: 23 Sep 2005
Posts: 16

PostPosted: Fri Oct 28, 2005 11:00 pm    Post subject: Universal Point Tool Reply with quote

7feet - Love this tool! Really makes the workflow a great deal easier. Thanks, one quick question/suggestion is it possible to make a shortcut key to turn on the Universal Point Tool?

Thanks Again!
_________________
Anxiety is the handmaiden of creativity.
- Chuck Jones
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Anime Studio Forum Forum Index -> Scripting All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group