friction2d / friction

Friction Graphics
https://friction.graphics
GNU General Public License v3.0
183 stars 10 forks source link

How to mask or mask dont translate in export #120

Open fernandogiacomino opened 4 months ago

fernandogiacomino commented 4 months ago

Hi! I´m glad to see that Envee was forked and alive, great work! Trying to do some masked animation with base svg, drawing a shape with fill no border, layer mode to DstOut, on top of desired masked svg. In Friction's working scene is ok, but when is exported with or without background the masking effect is gone, mask layer become solid shape and reading xml code I can't see any reference to "mask" label like in masked svg from Inkscape. mask

PsychoTAL commented 4 months ago

Hello! I would assume you want to export as an image file with alpha (PNG, Webp, etc.). If that is the case, verify the following requirements:

All of those three MUST BE checked. If that doesn't work, can you give more details about your problem (What is your desired output, etc.).

Hope that helps, have a nice day!

fernandogiacomino commented 4 months ago

Hi @PsychoTAL! actually I'm exporting svg animation, scene content are only vector shapes, and become visible moving from behind another shape (black in capture). That shape has layer mode (fusion mode) to "dstOut", acting like a mask. So playing inside Friction editor it shows right, but once exported as svg+smil I can see the animation perfect BUT the mask layer don´t act like mask, is solid and visible. I've found same issue in Envee last version.