Re: MJ Out Of Pegs Panel
Posted: 12 Dec 2015, 14:38
Well, I worked more on it and I think the following version is a good compromise.NathanOtano wrote:Hey
Wanted to say thanks again for your panel that I still use really really often.
I created two modified versions that i wanted to share :
[...]_Autostart.tvpx : I modified is so it autostarts when i use a manual flip button. Usefull if you don't need to come back to specific light table value when you stop flipping, if you just always want the value that was set just before flipping.
[...]_Autostart_end.tvpx : this is another version that ends automatically when you go back to your current frame, the aftereefect is that you see your light table in this frame (so it's slower if you out of pegged large resolutions, but if you set the opacity of the light table to 0 before using it it's the same and as fast behaviour as above). But i personnally prefer to see a clean frame when flipping then go back to my light table preset so i don't use it.
I modified a lot of things, so now when you begin to flip (no need to hit a button before starting flipping) you don't lose any parameter of your lightable (the lighttable colors that we losed when hitting end, and all the other nonadjacent frames display). And when you come back to the current frame everything is the same as before the OOP Flip, except the global light table opacity that is set to 0 when you begin flipping to avoid lags and be able to flip the current frame without seeing the other frames.
It also works with all the types of lightable modes (not just bookmarks).
At the end if you need to go back to your initial opacity you just clic on the END button (you can still use it if you are on an out of pegged frame, it goes back to current frame). And if you don't hit END you can still work like before when you are back to your current frame (except from the light table opacity set to 0).
+ If you change manually the light table opacity and launch a new OOP flip again, it stores the new value instead of the old one. (in fact each time you begin to flip the current frame with a value that is not 0, it replaces the old value wih the new one)
And "la cerise sur le gâteau" you can put the END button on the same shortcuts you use to flip to automatically escape from the oop flip and restore your light table opacity while moving. (assign the "MJ OOP restore density" button to your usual shortcut, then select your usual shortcut and ctrl+click on assign to have both shortcuts in the right order)
Note : Like so, the MJ OOP scripts can also be used to flip your "current light table mode" (even if you are not out of peg) + desactivating the light table view to flip clearly and without anything to do except using another flip to reactivate your light table and move again.
Lot of work to save some clics and shortcuts... Hope it's usefull.
EDIT : Updated to a V2, i let the V1 available if there is a bug somewhere in the v2.
- Now the script automatically activates the light table on your layer when you start flipping (so if it's turned off now you can start flipping without having to turn it on manually)
- When you click the END button, if your layer was off before your flip, the script automatically switchs it back to off (same behaviour as the opacity of the light table explained above).