Passepartout opacity

Hello,

I think Pencil2D could use the ability to increase the opacity of the margin outside of the chosen camera frame.

The reason I think this would help greatly as a feature is because it helps me get a look at how a singular frame or frames (when compiled together) would look overall. I wouldn’t be able to otherwise, since my screen resolution doesn’t exactly match the frame size and I can’t get a perfect zoom level in a way that would block out the passepartout.

When my lines continue into the passepartout, outside the chosen frame size, it kind of sacks what the drawing is selling. I know that whatever is in the passepartout won’t be shown (kind of in the name..lol), but I believe strongly that as an artist, you must also believe in the illusion of your own drawing in order to sell it even better.

Also, a clarification: I do not want to disable the ability to draw outside of the chosen frame (as that is impossible since the canvas is infinite), I would like only to disable my visibility of anything outside of the chosen frame.

Thank you for hearing me out.

Hi

I’ve made a little test build for you to try out here with the feature implemented. Let me know how it works.

Win64: https://get.pencil2d.org/@MrStevns/14408475215/pencil2d-win64-b497-2025-04-11

Win32: https://get.pencil2d.org/@MrStevns/14408475215/pencil2d-win32-b497-2025-04-11

Linux: https://get.pencil2d.org/@MrStevns/14408475215/pencil2d-linux-b497-2025-04-11

MacOS: https://get.pencil2d.org/@MrStevns/14408475215/pencil2d-mac-x86_64-b497-2025-04-11

Note that this build is for now just an experiment for now.

I could see a few issues surfacing from allowing this. One of them being that by making the outer area fully opaque, one could forget that even if it’s not visible to the eye, the surrounding surface is still being drawn to, which could lead to performance problems if the canvas is huge.

if your issue is more specifically that you can’t see a proper preview of the animation you’re making, without having to export it, then a preview window might be a better way to solve that need.

Hey,

Appreciate it, loads! It’s exactly like how I would have wanted it to be. As for the performance issue, I personally use small resolutions since I like drawing in a pixelated style, so I wouldn’t be able to test out that problem. Definitely could be an issue though.

Also, a preview window? Didn’t know that was possible. Would you teach me how that could be achieved? I couldn’t find anything about it on the Doc’s..

Thank you a lot, this was a huge help!

Excellent, good to know. I’ll take that into account when I need to make a decision whether it should go into the application or not.

Let me clarify, we currently don’t have a preview window, so I was merely suggesting that having something like that instead would probably also have solved your issue. :slight_smile:

For now you can use the mentioned build.

btw. did you struggle with figuring out where to find the setting?

My very own nightly build! For my hands only!..Kidding.

I found the setting to increase the opacity of the surrounding area rather quickly. It’s rather intuitive to gallivant the settings for it. So no problems there.

My deepest salutations for giving me something in the meantime. Stay strong, Pencil2D team!

1 Like

What is the Passepartout? and why is it significant?

Hi,

The passepartout is the area outside of the frame / chosen camera size (the part that will not be rendered but can be drawn on).

For me, I think increasing its opacity is significant because it allows me to preview what the rendered frames will look like without having to render. When its visible, I can see my lines end outside of the frame (especially for things that are barely in frame), and for some reason I just feel more comfortable when those lines end consistently around the frame borders.

I’ve been inspired to experiment, since reading your posts, thank you!

1 Like