Inkscape.org
Beyond the Basics SVG for Blender
  1. #1
    meetdilip meetdilip @meetdilip

    Hi, I am using Inkscape to create certain shapes for Blender. Human face for example. But when I import an Inkscape SVG to the Blender 2D animation module, it looks very washed. Is there any method to make an SVG look just like in Inkscape in Blender too? Thanks.

  2. #2
    meetdilip meetdilip @meetdilip
    *

    I found this

    https://youtu.be/5Xp3jzXGlAA

     

  3. #3
    Polygon Polygon @Polygon🌶
    *

    I found the video very informative and a quick test worked out well. Can you upload an Inkscape example file maybe? So we can check what going on.

  4. #4
    meetdilip meetdilip @meetdilip
    *

    Please find the SVG file attached. When I open it in Blender 2.92, it is a lot distorted/unorganised as seen below. Thanks.

  5. #5
    meetdilip meetdilip @meetdilip

    When I select, every single shape included is there, overlapped. It is a bit of a challenge to separate them and use them. I wonder whether it will be better if we save as Plain SVG ?

  6. #6
    Polygon Polygon @Polygon🌶
    *

    You missed the part where he says either fill or stroke but not both: You have to manage layers Z-chasing but it's all in I think - except 1 ear I missed.

     

  7. #7
    meetdilip meetdilip @meetdilip

    Hmm. I think stroke is ON by default. Will check. Thanks :)

  8. #8
    meetdilip meetdilip @meetdilip

    I tried just now. Individually removed the stroke from each element. But it still shows signs of inaccuracy, For eg, the eyes have no stroke. But it doesn't appear automatically inside Blender. Is there any method by which we can remove the stroke from all elements in a drawing in Inkscape ?

     

    PS : I get 3 notification emails for a single reply on this topic. If possible, help me fix it. Thanks.

  9. #9
    meetdilip meetdilip @meetdilip
    *

    I converted everything to Path, but this is what happens during the import. Attached the SVG too. Thanks.

     

     

     

     

     

    Man H Path
  10. #10
    Polygon Polygon @Polygon🌶
    *

    That is Z-chasing because everything is in one plane. I'm not sure if Blender can compensate this in its render settings but normally you need to layer (move back and forth) the parts along Z-axis.

    This is from another renderer I'm more familiar with to show what I mean:

  11. #11
    meetdilip meetdilip @meetdilip

    Yes. I am able to do that inside Blender. Does adding layers inside this Inkscape document helps ? I saw a couple of videos on YouTube. They refer to Illustrator. I will check again. Thanks.

  12. #12
    Polygon Polygon @Polygon🌶
    😇*
    meetdilip

    Does adding layers inside this Inkscape document helps ?

    Excellent question - but I don't know. I guess it won't help as layers are not really stack along the Z-axis - but worth a try of course - I could be wrong.

    I didn't notice the author of the video mentioned any stacking but I experienced Blender changes the order during import.

  13. #13
    meetdilip meetdilip @meetdilip

    @PixelPest that is what I am doing right now. Thanks.

  14. #14
    Polygon Polygon @Polygon🌶

    Good luck.

  15. #15
    meetdilip meetdilip @meetdilip

    Setting as layers is not useful from what I tried so far. Thought of adding it here.

  16. #16
    Polygon Polygon @Polygon🌶

    I wonder if there's a render setting then to handle stacking planes like 2D animation software. Will investigate tomorrow. You might have a better understanding of Blender than me.

  17. #17
    meetdilip meetdilip @meetdilip
    *

    Yes, that is correct. Blender offers an infinite number of layers, as (x,y,z). We can have any number of layers based on Cartesian coordinates. In our case, we can have any no. of Z planes/layers. I had to manually set them all to make it look decent. But one drawback is that in Cycles render the shift in axis even though it is small is very evident. Thanks.

  18. #18
    Polygon Polygon @Polygon🌶

    It seems Layers come in a reversed order:

     

     

    meetdilip

    But one drawback is that in Cycles render the shift in axis even though it is small is very evident.

    maybe you need an orthograhic camera view for rendering. 

  19. #19
    meetdilip meetdilip @meetdilip

    I switched off the shadows, now everything is fine as long as we spend some quality time pushing and pulling elements so that they are not stacked in a single z plane.

     

    [quote]It seems Layers come in a reversed order[/quote]

    Didn't check that, started pushing and pulling elements so that in the front view, it appears neat.

    Inkscape is also a single Z plane UI. I wonder why Blender does not have the same display, at least in the 2D animation module. Somehow everything is working fine except that we have to work on every single element to fix the stacking. Thanks.

  20. #20
    Polygon Polygon @Polygon🌶

    I guess "Lighting->Flat" should avoid shadows at all. Why use Cycles for a flat scenery?

  21. #21
    meetdilip meetdilip @meetdilip

    It looks much better in some cases. I will try the " Flat  " option. Thanks :)