Page 1 of 1

Moho SVG Export messed up

Posted: Sun Dec 05, 2021 4:24 am
by DK
Hi.
I just tried exporting a few things to svg from moho and it's totally messed up. First time exporting to svg after the new update.
Anyone else get this?
Cheers
D.K

Image

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 8:36 pm
by Greenlaw
What are you viewing the SVG in?

I was wondering because I did a test a few minutes ago and opened the SVG in Edge (because it's set as the default SVG app on my computer,) and it looks fine. The character I made isn't as detailed as yours, but I wondered if it would look differently in another browser or program.

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 8:38 pm
by Greenlaw
I just tried opening my SVG in Illustrator and it looks fine there too.

Can you post your character art in Moho format? I wonder if there's some feature being used that's not translating well.

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 8:39 pm
by synthsin75
Looks like SVG might not understand how to handle stacked shapes. It looks like that's what you're doing to get the sharp inner edges between the fingers.

Might need to make those shapes on separate layers, using references to keep them synced.

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 9:24 pm
by SimplSam
synthsin75 wrote: Sun Dec 05, 2021 8:39 pm Looks like SVG might not understand how to handle stacked shapes. It looks like that's what you're doing to get the sharp inner edges between the fingers.
From previous discussions .. I think those sharp inners are created with Variable Width lines. Unfortunately SVG does not support Variable Width lines, so they need to be converted to filled shapes. Moho does not do the best job translating VWl's into SVG shapes (fills). However - I have never seen it this bad.

I have also done a few tests but can't create anything that wacky ... and anything I do create looks the same as it did exported from 12.5.

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 11:11 pm
by DK
(I just did a test export from Moho 12.5 and got the same results so it's not a 13.5 issue)
There is a lot of masking in this file and I am aware of all the export issues with SVG and masking and line widths.
I was more concerned about the right eyeball not exporting at all but the left one does?

Here is the file:
http://www.creativetvandmedia.com/Forum ... erTest.zip
Cheers
D.K

Re: Moho SVG Export messed up

Posted: Sun Dec 05, 2021 11:58 pm
by synthsin75
The "simple masking" requirement for SVG export means that each eye needs to be it's own masking group. You can reference the lids layer for both groups, so you can still animate then together. Exclude strokes doesn't export properly (only showing the exterior side of the stroke), but you can reference the eye for an unmasked outer stroke above the lids. Trick we had to do before exclude strokes.

You can probably also recreate the look of the variable line width by stacking a referenced fill layer over a stroke layer (with a wider stroke to make up for half of it being covered.

Those changes will allow accurate SVG export.

Re: Moho SVG Export messed up

Posted: Mon Dec 06, 2021 1:27 am
by DK
I was going to suggest an option in Moho that just traces an object and exports as all outlined fills. Currently
it's what I have to do to get around that messy variable line width/shape export.

Cheers
D.K

Re: Moho SVG Export messed up

Posted: Tue Dec 07, 2021 11:18 pm
by DK
As a suggestion it's probably better for Moho to ignore the line widths rather than deal with them this way as the results are totally unusable. I think it would be more beneficial for just a normal width line to be exported.

Cheers
D.K