![]() Registered Member ![]()
|
Hello, all.
Is it possible to toggle the layer visibility that is directly below the layer I am working on? For example, say I have layer 1 selected and am working on it, and I want layer 2 below it to toggle on and off as I work on layer 1. Is this possible? Thank you so much! |
![]() Registered Member ![]()
|
It may be possible to write a Python script to do that.
You can have the lower layer visibility effectively turning on and off by animating it but as soon as you painted on the upper layer the animation would stop until you pressed the play button again. Is there any particular reason you need to do this? |
![]() Registered Member ![]()
|
Hello, thank you very much for the response.
Unfortunately, I do not have the expertise to make a script like that. It's a bit difficult to explain. The reason is that I am making a rotoscope animation with a video of fire that I recorded. Fire is quite intricate, so turning off and on the layer of the actual fire while I work on a separate layer would be helpful to me. It's just for reference reasons, and would make working on this much easier. |
![]() Registered Member ![]()
|
Have you imported the video of the fire into krita and are now hand rotoscoping over every frame of the real fire video?
If so, I'd have thought that setting the real fire layer to about 50% opacity (or whatever) would give you a useful guide image for the hand drawn work on your own animated layer above. Edit: Is this related to the post you made here: viewtopic.php?f=139&t=164251 ? Did you import still frames images from your video? If so, you can import .mp4 video files using the Animator Video Reference plugin: https://github.com/scottpetrovic/animat ... -reference You could use Handbrake (or similar video convertor application) to adjust the frame size and frame rate of your source video. |
![]() Registered Member ![]()
|
Exactly, I did import the video. I have it set around 60% opacity, so that does help a bit. Still, it would be nice to set a hotkey to for turning the layer of the fire video on and off.
Regarding the importing: I did install the Animator Video Reference plugin, which works nicely. However, it would be nice to have a hotkey in Krita to separate key frames if I am in that situation again, for whatever reason. Thanks. ![]() |
![]() KDE Developer ![]()
|
Hi, regarding toggling layer visibility, you may want to check out this plugin: https://www.reddit.com/r/krita/comments ... _assign_a/
|
![]() Registered Member ![]()
|
Awesome! Thank you so much. That definitely works for my purpose.
![]() However, I am having an issue with it: the default hotkey ( ctrl+alt+shift+L) does not work, and when I do apply that specific hot key it gets removed when I use any type of tool, and every time I close Krita. Any idea on how do I fix this? Also, is there a website dedicated to neat, custom plugins like this?
Last edited by stgemma on Mon Feb 17, 2020 3:22 am, edited 1 time in total.
|
![]() KDE Developer ![]()
|
> Also, is there a website dedicated to neat, custom plugins like this?
Here: https://docs.krita.org/en/resources_pag ... on-plugins but a lot of python plugins are discussed here: https://krita-artists.org/c/develop/plugins/16 |
![]() Registered Member ![]()
|
Awesome, thank you.
By the way, I figured out a work around so that the hotkey I assign the "Toggle Reference Layer" script does not get removed after switching to any other tool! I made the hotkey for the script to be "Alt + T + Alt + S + Alt + T," which directly executes the script via the Tools>Scripts menu, then assigned this hotkey to my software for my tablet, and viola, the hotkey no longer is getting deleted when switching to different tools! ![]() |
Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar