Page 2 of 2

Posted: 06 Jul 2006, 19:06
by lemec
ZigOtto wrote:good try Lemec, but it doesn't work the same as if the marks were sticked to the drawing (content of the frame),
try this :

Code: Select all

M_________M____
1 2 3 4 5 6 7 8
8 drawings anim, = 8 frames, Marks on drawings 1 and 6,
go to frame 6 (which is the 2nd Mark) and hit your button , it works great!
you should get this :
M_________M____
1 2 3 4 5 6 6 7 8
now go to frame 1 (the 1rst Mark), hit  your button, you will get that :
M_________M______
1 1 2 3 4 5 6 6 7 8
the 2nd Mark don't stay sticked on 6 ... 
so it will work properly only if you advance (forward) continuously, without going backward.
:)
Is this what happened?

(P.S. use "code /code" tags for ASCII character drawings...)

Hmm... it seems to work fine on my computer...

Posted: 06 Jul 2006, 19:10
by lemec
OH... hey man, are you sure you're using the PROJECT->Insert Duplicate Frame and not the Layer->insert duplicate frame?

There's a biiig difference -- the layer insert commands do not shift bookmarks!


Hey! heyyy!!!! I just discovered you can RMB on the top part of the layer bar where it shows the numbers to toggle bookmarks! neato!

Posted: 06 Jul 2006, 19:19
by Marco
It works!!! Thank you.
I opened your script as a text file and I understand what you did.
In order to complete the Animator Panel I have changed the parametres of the buttons of:

"Remove Current Image":
0 Key:Project:Delete Image
1 None

"Duplicate Image Left":
0 Key:Project:Duplicate Single Image
1 None

"Add ImageBefore":
0 Key:Project:Insert Single Image
1 None

"Add Image After":
0 Script:bkmrklnsert.grg
1 Key:Project:Append Single Image
2 Script:bkmrklnsert_stage2.grg
3 None


Now TVPaint is as I wanted it to be. I wasn't aware of how modifiebale it is.

Thank you very, very much.

Posted: 06 Jul 2006, 19:28
by lemec
I applaud you for taking the initiative to learn a little about scripting and making macros! I could have just made a custom panel for you to import -- but then it wouldn't have helped you in making your own tools and script!

If you ever need help with this sort of thing, or are interested in GRG scripting, just ask! Also -- you may want to ask the TVP staff for a copy of the SDK... GRG scripting allows you to do many things that aren't possible with keyboard and CP panel button macros alone... and then there's plugins, but that's another whole ball of wax!

Posted: 06 Jul 2006, 19:40
by Marco
Thank you, ill ask my questions when they will appear.
Concerning the custom panel.
Why don't you create it anyway? It could be usefull for other users.
And I've been making a little bit of publicity for the software at my friends last time. The panel could be usefull to convince them. And do the scripts also work on a Mac?

Marco

Posted: 06 Jul 2006, 19:51
by lemec
Marco wrote:Thank you, ill ask my questions when they will appear.
Concerning the custom panel.
Why don't you create it anyway? It could be usefull for other users.
Ha ha ha because it's just ONE command -- I'd wind up having to make a custom panel for just one button -- when we already have a perfectly usable Animator Panel that we can add to -- As much as I love CP buttons, I don't like making too many of them because it starts to get rather cluttered...
Marco wrote:And I've been making a little bit of publicity for the software at my friends last time. The panel could be usefull to convince them. And do the scripts also work on a Mac?

Marco
I believe that GRG scripts (which don't require any compiling) should work just fine, cross-platform...

Posted: 06 Jul 2006, 20:05
by ZigOtto
lemec wrote:OH... hey man, are you sure you're using the PROJECT->Insert Duplicate Frame and not the Layer->insert duplicate frame?
oups!... :oops: you're right, of course I've (mis)taken the layer/duplicate frame command
instead of PROJECT->Insert Duplicate Frame

that's much better now!!! thanks Man. 8)

Posted: 06 Jul 2006, 20:05
by Marco
Ok! In any case, anybody who wants will be able to download the scripts and to adjust the buttons the same way by reading the forum .

Bye

Marco

Posted: 07 Jul 2006, 14:16
by Marco
This way of marking keyframes by using bookmarks works really fine. But, just if you have one layer. As, with this method we change the project parametres, every timing modification affects all the layers. That's not really practic when animating on several layers. So it would be great to have a kind of bookmarks for each layer which behave like the bookmarks influenced by the scripts. Does it seem to be usefull for you?

What do you think about that? What's the opinion of the development team?

Marco

Posted: 07 Jul 2006, 14:38
by ZigOtto
Marco wrote:...So it would be great to have a kind of bookmarks for each layer which behave like the bookmarks influenced by the scripts. Does it seem to be usefull for you?
I think it's already in the wish list somewhere else.

meanwhile, we have a workaround to preserve/protect other Layers,
temporarily "Lock" them (le petit cadenas) et voilĂ .
8)

Posted: 07 Jul 2006, 15:10
by Marco
Yes, that works. Merci. Do you know if this kind of "keymarks" is seriously planned for the next version?

Marco

Posted: 07 Jul 2006, 16:03
by ZigOtto
Marco wrote:... Do you know if this kind of "keymarks" is seriously planned for the next version?
each layer having its own attached bookmark system?
hmmm... unfortunately, I haven't access to the planned "roadmap" of this product-family for the coming years,
so I can't answer to this question, but in my opinion, I doubt for the next version,
I guess it could come with the next/next version,
I mean the BIG one, with a new Layer Engine. 8)
wait and see...